Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 28 lines 552 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, dateutil 5, six 6, mock 7, nose 8}: 9 10buildPythonPackage rec { 11 pname = "freezegun"; 12 version = "0.3.11"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "e839b43bfbe8158b4d62bb97e6313d39f3586daf48e1314fb1083d2ef17700da"; 17 }; 18 19 propagatedBuildInputs = [ dateutil six ]; 20 checkInputs = [ mock nose ]; 21 22 meta = with stdenv.lib; { 23 description = "FreezeGun: Let your Python tests travel through time"; 24 homepage = "https://github.com/spulec/freezegun"; 25 license = licenses.asl20; 26 }; 27 28}