poetry2nix

Convert poetry projects to nix automagically [maintainer=] (by nix-community)

Poetry2nix Alternatives

Similar projects and alternatives to poetry2nix

  1. nixpkgs

    Nix Packages collection & NixOS

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. nix

    412 poetry2nix VS nix

    Nix, the purely functional package manager

  4. asdf

    Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

  5. micro-editor

    A modern and intuitive terminal-based text editor

  6. Home Manager using Nix

    Manage a user environment using Nix [maintainer=@rycee]

  7. direnv

    unclutter your .profile

  8. linkding

    Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. rfcs

    55 poetry2nix VS rfcs

    The Nix community RFCs (by NixOS)

  11. Firefox Sync Server

    Run-Your-Own Firefox Sync Server

  12. rye

    48 poetry2nix VS rye

    a Hassle-Free Python Experience

  13. nixos-generators

    Collection of image builders [maintainer=@Lassulus]

  14. mach-nix

    Create highly reproducible python environments

  15. repology-rules

    Package normalization ruleset for Repology

  16. flake-utils-plus

    Use Nix flakes without any fluff.

  17. python-build-standalone

    Produce redistributable builds of Python

  18. NixOS-docker

    5 poetry2nix VS NixOS-docker

    Discontinued DEPRECATED! Dockerfiles to package Nix in a minimal docker container (by NixOS)

  19. not-os

    An operating system generator, based on NixOS, that, given a config, outputs a small (47 MB), read-only squashfs for a runit-based operating system, with support for iPXE and signed boot.

  20. rules_python

    Bazel Python Rules

  21. asdf-direnv

    direnv plugin for the asdf version manager [maintainer=@jfly, @michi-zuri, @vic]

  22. nix-processmgmt

    Experimental Nix-based process management framework

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better poetry2nix alternative or higher similarity.

poetry2nix discussion

Log in or Post with

poetry2nix reviews and mentions

Posts with mentions or reviews of poetry2nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-05-07.
  • Nix-Powered Python Development
    6 projects | dev.to | 7 May 2025
    When I say that Nix does not automatically pick up the dependencies from the pyproject.toml file, I am not telling the whole truth. Tools like poetry2nix and some community functions can help you with this, but I do not want to rely on them. I want a vanilla solution.
  • Deploying Containers on NixOS: A Guide
    3 projects | news.ycombinator.com | 4 Dec 2024
    I think it's also an issue with the flexibility paradox. There isn't a good single way to package Python for Nix because before you even start there are several key questions which come up that most other distros can't even begin reasoning about:

    - Are we packaging just one Python package for Nix, or a thing and all its dependencies?

    - Is the package already on PyPI, and are we packaging the source from there, or is it the source from some upstream?

    - Are any of the dependencies coming from source, either their upstreams or forks?

    - For dependencies that already exist in the nixpkgs SHA that is supplying the Python interpreter, do we want to use those versions, or package newer versions? Is it the same decision for everything, or does it vary?

    - Is there already a Python level dependency locking scheme in place such as poetry/pipenv/uv, or is it a plain setuptools package? Is it acceptable for Nix to become the locking mechanism, or will that mess things up for non-Nix consumers of this?

    - Are we looking to supply a development environment here too, or is this purely about deployment?

    To be clear, none of this is an excuse— it's horrifying that there can't be a single "Tool X is the singular Python-on-Nix story, follow the one page tutorial and you're all set". But I think the massive amount of choice and flexibility is the crux of why new methods and tools are still being rapidly invented and proposed.

    For myself, I would choose poetry2nix as how I'd ship a Python project to Nix hosts, but that immediately implies some answers to a bunch of the above questions, mandates poetry for your top level project, and once you look closer there turn out to be some truly horrifying implementation details [1] that are what make poetry2nix appear as seamless and friendly as it does.

    [1]: https://github.com/nix-community/poetry2nix/blob/master/over...

  • Poetry2Nix Development Flake with Matplotlib GTK Support
    5 projects | dev.to | 11 May 2024
    So let’s get straight to the meat. The following Flake dives you a development shell that tries to replicate the underlying poetry project in full nix using poetry2nix.
  • Things I've learned about building CLI tools in Python
    16 projects | news.ycombinator.com | 24 Oct 2023
    How about converting it to Nix derivation?

    https://github.com/nix-community/poetry2nix

  • Poetry2nix: mismatch cryptography sha256 but unable to modify
    1 project | /r/NixOS | 9 Oct 2023
    This looks really strange because I do not know how to solve it and also because it looks like the sha256 that I am setting is not the one that Nix will match. I read also https://github.com/nix-community/poetry2nix/issues/413 but I was not able to solve the problem.
  • As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
    14 projects | /r/Python | 23 Apr 2023
    There's a project that does this with using Nix: https://github.com/takeda/nix-cde (this is a wrapper around https://github.com/nix-community/poetry2nix)
  • Issue building pycairo in python flake
    1 project | /r/NixOS | 24 Mar 2023
    { description = "Application packaged using poetry2nix"; inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.poetry2nix = { url = "github:nix-community/poetry2nix"; inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, flake-utils, poetry2nix }: flake-utils.lib.eachDefaultSystem (system: let # see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples. inherit (poetry2nix.legacyPackages.${system}) mkPoetryEnv; pkgs = import nixpkgs {inherit system;}; python = pkgs.python310; pythonEnv = mkPoetryEnv { inherit python; projectDir = ./.; preferWheels = true; }; in { #packages.default = mkPoetryEnv { # projectDir = ./.; # python = pkgs.python310; #}; devShells.default = pkgs.mkShell { buildInputs = [pythonEnv]; packages = [ poetry2nix.packages.${system}.poetry pkgs.cairo pkgs.pkg-config pkgs.gobject-introspection pkgs.tk ]; }; }); }
  • Setting up Stabe Diffusion on NixOS
    3 projects | /r/NixOS | 18 Mar 2023
    A cleaner way might be to use https://github.com/nix-community/poetry2nix which can load poetry.lock inside Nix. I still need to try it for torch, but it does seem like a clean way to use it.
  • Ask HN: Is anyone successfully self-hosting Firefox Sync?
    11 projects | news.ycombinator.com | 6 Feb 2023
  • How do I install dependencies for a python application
    2 projects | /r/NixOS | 28 Dec 2022
    The README for poetry2nix (https://github.com/nix-community/poetry2nix) seems to indicate that all extras should be enabled by default.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic poetry2nix repo stats
26
923
9.5
3 months ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Nix is
the 29th most popular programming language
based on number of references?