Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 585 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, nose 5, isPy3k 6}: 7 8buildPythonPackage rec { 9 pname = "fudge"; 10 version = "1.1.1"; 11 disabled = isPy3k; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1p7g6hv9qxscbzjv2n5pczpkkp55mp3s56adfc912w9qpf3rv4nr"; 16 }; 17 18 checkInputs = [ nose ]; 19 20 checkPhase = '' 21 nosetests -v 22 ''; 23 24 meta = with stdenv.lib; { 25 homepage = https://github.com/fudge-py/fudge; 26 description = "Replace real objects with fakes (mocks, stubs, etc) while testing"; 27 license = licenses.mit; 28 maintainers = [ maintainers.costrouc ]; 29 }; 30 31}