Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5}: 6 7buildPythonPackage rec { 8 version = "1.24"; 9 pname = "numericalunits"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0wn7kqp0rxqr6gnqhdn8pc0wy359krzan0kbika6hfvb0c1rw1hs"; 14 }; 15 16 disabled = !isPy3k; 17 18 meta = with stdenv.lib; { 19 homepage = "http://pypi.python.org/pypi/numericalunits"; 20 description = "A package that lets you define quantities with unit"; 21 license = licenses.mit; 22 maintainers = [ maintainers.costrouc ]; 23 }; 24}