python.pkgs.textfixtures: 4.5.0 -> 5.3.0
This commit is contained in:
parent
b9a42797ff
commit
3339a7dc7c
23
pkgs/development/python-modules/testfixtures/default.nix
Normal file
23
pkgs/development/python-modules/testfixtures/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, mock, manuel, pytest, sybil, zope_component, django }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "testfixtures";
|
||||||
|
version = "5.3.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xfar653qmikwb94xj3f0xfp8dh2llxjsxipx1272d8qwl0aknnx";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ mock manuel pytest sybil zope_component ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
# django is too much hasle to setup at the moment
|
||||||
|
pytest --ignore=testfixtures/tests/test_django testfixtures/tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/Simplistix/testfixtures";
|
||||||
|
};
|
||||||
|
}
|
@ -21809,30 +21809,7 @@ EOF
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
testfixtures = buildPythonPackage rec {
|
testfixtures = callPackage ../development/python-modules/testfixtures {};
|
||||||
name = "testfixtures-${version}";
|
|
||||||
version = "4.5.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/t/testfixtures/testfixtures-${version}.tar.gz";
|
|
||||||
sha256 = "0my8zq9d27mc7j78pz9971cn5wz6zi4vxlqa50szr2vq9j2xxkll";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose mock manuel ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
nosetests -v
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Test suite seems broken
|
|
||||||
# TypeError: TestSuite() missing 1 required positional argument: 'm'
|
|
||||||
# Haven't checked with newer version
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
homepage = "https://github.com/Simplistix/testfixtures";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
tissue = buildPythonPackage rec {
|
tissue = buildPythonPackage rec {
|
||||||
name = "tissue-0.9.2";
|
name = "tissue-0.9.2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user