mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
21 lines
361 B
Nix
21 lines
361 B
Nix
{ buildPythonPackage, fetchPypi, python
|
|
, pytest, pytestcov
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "plaster";
|
|
version = "0.5";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0z48pis4qyhyqj3ia82r04diaa153dw66wrpbly06hdzvhw8j0ia";
|
|
};
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
checkInputs = [ pytest pytestcov ];
|
|
}
|