mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
24 lines
612 B
Nix
24 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";
|
|
};
|
|
}
|