mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
ce1760abe5
Since the source distribution of the package on pypi2nix does not contain unittests, we removed the checkPhase command that was present in earlier versions of the package.
24 lines
397 B
Nix
24 lines
397 B
Nix
{ python3
|
|
}:
|
|
with python3;
|
|
|
|
pkgs.buildPythonApplication rec {
|
|
pname = "pypi2nix";
|
|
version = "2.0.2";
|
|
src = pkgs.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1kynyarqx49j89nxd7rx8mjncg8hkklscfcr36smham7cvj17nsv";
|
|
};
|
|
propagatedBuildInputs = with pkgs; [
|
|
attrs
|
|
click
|
|
jinja2
|
|
nix-prefetch-github
|
|
packaging
|
|
parsley
|
|
setuptools
|
|
toml
|
|
jsonschema
|
|
];
|
|
}
|