python2.pkgs.pyhamcrest: keep 1.10.1 for python 2
This commit is contained in:
parent
c1faf4efd8
commit
81fc2ad582
27
pkgs/development/python-modules/pyhamcrest/1.nix
Normal file
27
pkgs/development/python-modules/pyhamcrest/1.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, mock, pytest
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "PyHamcrest";
|
||||||
|
version = "1.10.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0x08lfcnsak7pkym32xrdn0sn3wcf26n1jff3d11mwbizpfikbpp";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ mock pytest ];
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
doCheck = false; # pypi tarball does not include tests
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/hamcrest/PyHamcrest";
|
||||||
|
description = "Hamcrest framework for matcher objects";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [
|
||||||
|
alunduil
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@ -7278,7 +7278,10 @@ in {
|
|||||||
|
|
||||||
behave = callPackage ../development/python-modules/behave { };
|
behave = callPackage ../development/python-modules/behave { };
|
||||||
|
|
||||||
pyhamcrest = callPackage ../development/python-modules/pyhamcrest { };
|
pyhamcrest = if isPy3k then
|
||||||
|
callPackage ../development/python-modules/pyhamcrest { }
|
||||||
|
else
|
||||||
|
callPackage ../development/python-modules/pyhamcrest/1.nix { };
|
||||||
|
|
||||||
pyhaversion = callPackage ../development/python-modules/pyhaversion { };
|
pyhaversion = callPackage ../development/python-modules/pyhaversion { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user