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

20 lines
335 B
Nix
Raw Normal View History

{ buildPythonPackage, fetchPypi
, pytest, pytest-cov
}:
buildPythonPackage rec {
pname = "plaster";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest pytest-cov ];
}