mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-07 02:01:40 -05:00
12 lines
299 B
Nix
12 lines
299 B
Nix
{ lib, poetry2nix, python3 }:
|
|
let
|
|
env = poetry2nix.mkPoetryEnv {
|
|
python = python3;
|
|
pyproject = ./pyproject.toml;
|
|
poetrylock = ./poetry.lock;
|
|
preferWheels = true;
|
|
};
|
|
pkg = env.python.pkgs.mkdocstrings;
|
|
isMkdocstringsWheel = pkg.src.isWheel;
|
|
in
|
|
assert isMkdocstringsWheel; pkg
|