1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/python-modules/plaster/default.nix

21 lines
373 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
name = "${pname}-${version}";
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 ];
}