Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 626 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, falcon 6, requests 7}: 8 9buildPythonPackage rec { 10 pname = "hug"; 11 version = "2.4.1"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "7b633ebbed95f4c264a745cf91450007fe7004e1eaa5b02bf9b3ad28fdd62d08"; 17 }; 18 19 propagatedBuildInputs = [ falcon requests ]; 20 21 # tests are not shipped in the tarball 22 doCheck = false; 23 24 meta = with stdenv.lib; { 25 description = "A Python framework that makes developing APIs as simple as possible, but no simpler"; 26 homepage = https://github.com/timothycrosley/hug; 27 license = licenses.mit; 28 }; 29 30}