mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
11 lines
432 B
Nix
11 lines
432 B
Nix
{ pkgs ? import (fetchTarball https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz) {} }:
|
|
let
|
|
poetry = pkgs.callPackage ../pkgs/poetry { python = pkgs.python3; inherit poetry2nix; };
|
|
poetry2nix = import ../default.nix { inherit pkgs; inherit poetry; };
|
|
in
|
|
poetry2nix.mkPoetryPackage {
|
|
python = pkgs.python3;
|
|
pyproject = ./pyproject.toml;
|
|
poetryLock = ./poetry.lock;
|
|
src = pkgs.lib.cleanSource ./.;
|
|
}
|