nixpkgs/pkgs/development/python-modules/plaster/default.nix

20 lines
341 B
Nix
Raw Normal View History

2017-09-25 12:39:07 +01:00
{ buildPythonPackage, fetchPypi, python
, pytest, pytestcov
}:
buildPythonPackage rec {
pname = "plaster";
2017-10-25 19:04:35 +01:00
version = "1.0";
2017-09-25 12:39:07 +01:00
src = fetchPypi {
inherit pname version;
2017-10-25 19:04:35 +01:00
sha256 = "8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3";
2017-09-25 12:39:07 +01:00
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest pytestcov ];
}