mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
pypi2nix: 2.0.1 -> 2.0.2
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.
This commit is contained in:
parent
8dcd65d549
commit
ce1760abe5
@ -4,13 +4,11 @@ with python3;
|
||||
|
||||
pkgs.buildPythonApplication rec {
|
||||
pname = "pypi2nix";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
src = pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "138fwd3cznkfa6w3a5s4fbflh88q26hk4grlmq73dcbk06ykf84k";
|
||||
sha256 = "1kynyarqx49j89nxd7rx8mjncg8hkklscfcr36smham7cvj17nsv";
|
||||
};
|
||||
checkInputs = with pkgs; [ pytest ];
|
||||
buildInputs = with pkgs; [ setuptools_scm ];
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
attrs
|
||||
click
|
||||
@ -20,6 +18,6 @@ pkgs.buildPythonApplication rec {
|
||||
parsley
|
||||
setuptools
|
||||
toml
|
||||
jsonschema
|
||||
];
|
||||
checkPhase = "${python3.interpreter} -m pytest unittests -m 'not nix'";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user