Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 486 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5}: 6 7buildPythonPackage rec { 8 pname = "random2"; 9 version = "1.0.1"; 10 doCheck = !isPyPy; 11 12 src = fetchPypi { 13 inherit pname version; 14 extension = "zip"; 15 sha256 = "34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007"; 16 }; 17 18 meta = with stdenv.lib; { 19 homepage = "http://pypi.python.org/pypi/random2"; 20 description = "Python 3 compatible Python 2 `random` Module"; 21 license = licenses.psfl; 22 }; 23 24}