mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 17:51:40 -05:00
12 lines
294 B
Nix
12 lines
294 B
Nix
{ 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
|