nixpkgs/pkgs/development/tools/pypi2nix/default.nix

26 lines
476 B
Nix
Raw Normal View History

2019-10-26 21:38:16 +00:00
{ python3
2016-05-07 03:04:25 +00:00
}:
2019-10-26 21:38:16 +00:00
with python3;
2016-05-07 03:04:25 +00:00
2019-10-26 21:38:16 +00:00
pkgs.buildPythonApplication rec {
2019-08-13 21:52:01 +00:00
pname = "pypi2nix";
2020-01-21 20:19:09 +00:00
version = "2.0.4";
2019-10-26 21:38:16 +00:00
src = pkgs.fetchPypi {
inherit pname version;
2020-01-21 20:19:09 +00:00
sha256 = "0y4zkkcijz5hchd8j6a106ysrg1dnad7dzdgnmz38rgm6zbrky0d";
2019-10-26 21:38:16 +00:00
};
propagatedBuildInputs = with pkgs; [
attrs
2016-07-25 02:25:51 +00:00
click
2019-10-26 21:38:16 +00:00
jinja2
nix-prefetch-github
packaging
parsley
setuptools
toml
jsonschema
2016-09-25 02:42:23 +00:00
];
2021-05-13 17:36:14 +00:00
# https://github.com/nix-community/pypi2nix/issues/460
meta.broken = true;
2016-05-07 03:04:25 +00:00
}