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

21 lines
373 B
Nix
Raw Normal View History

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