mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
20 lines
333 B
Nix
20 lines
333 B
Nix
{ buildPythonPackage, fetchPypi
|
|
, pytest, pytestcov
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "plaster";
|
|
version = "1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3";
|
|
};
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
checkInputs = [ pytest pytestcov ];
|
|
}
|