nixpkgs-suyu/pkgs/development/python-modules/testfixtures/default.nix
2017-11-24 20:36:20 +01:00

23 lines
612 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, mock, manuel, pytest, sybil, zope_component, django }:
buildPythonPackage rec {
pname = "testfixtures";
version = "5.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "670ade9410b7132278209e6a2e893caf098b040c4ba4d5ea848367a9c5588728";
};
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";
};
}