Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 333 B view raw
1{ buildPythonPackage, fetchPypi 2, pytest, pytestcov 3}: 4 5buildPythonPackage rec { 6 pname = "plaster"; 7 version = "1.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "8351c7c7efdf33084c1de88dd0f422cbe7342534537b553c49b857b12d98c8c3"; 12 }; 13 14 checkPhase = '' 15 py.test 16 ''; 17 18 checkInputs = [ pytest pytestcov ]; 19}