mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
12 lines
311 B
Nix
12 lines
311 B
Nix
{ lib, poetry2nix, python3 }:
|
|
|
|
(poetry2nix.mkPoetryApplication {
|
|
python = python3;
|
|
pyproject = ./pyproject.toml;
|
|
poetrylock = ./poetry.lock;
|
|
src = lib.cleanSource ./.;
|
|
}).overridePythonAttrs (old: {
|
|
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [
|
|
old.passthru.python.pkgs.setuptools
|
|
];
|
|
})
|