nixpkgs/pkgs/development/python-modules/hupper/default.nix
2017-09-25 23:23:38 +02:00

21 lines
390 B
Nix

{ buildPythonPackage, fetchPypi, python
, pytest, pytestcov, watchdog, mock
}:
buildPythonPackage rec {
pname = "hupper";
version = "1.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "02lj6kgaf9xpr0binxwac3gpdhljglyj9fr78s165jc7qd7mifdg";
};
checkPhase = ''
py.test
'';
checkInputs = [ pytest pytestcov watchdog mock ];
}