blob: 6f8ef1b30a9ea8531dcc961cd42742aeee901f1c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ python3
}:
with python3;
pkgs.buildPythonApplication rec {
pname = "pypi2nix";
version = "2.0.1";
src = pkgs.fetchPypi {
inherit pname version;
sha256 = "138fwd3cznkfa6w3a5s4fbflh88q26hk4grlmq73dcbk06ykf84k";
};
checkInputs = with pkgs; [ pytest ];
buildInputs = with pkgs; [ setuptools_scm ];
propagatedBuildInputs = with pkgs; [
attrs
click
jinja2
nix-prefetch-github
packaging
parsley
setuptools
toml
];
checkPhase = "${python3.interpreter} -m pytest unittests -m 'not nix'";
}
|