Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 535 B view raw
1{ buildPythonPackage, fetchPypi, lib, jq }: 2 3buildPythonPackage rec { 4 pname = "jq"; 5 version = "1.0.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "9fe6ce07bc8d209c385d8ba132a2971c69aef015103c46bea87a73a16c5ec147"; 10 }; 11 patches = [ ./jq-py-setup.patch ]; 12 13 buildInputs = [ jq ]; 14 15 meta = { 16 description = "Python bindings for jq, the flexible JSON processor"; 17 homepage = "https://github.com/mwilliamson/jq.py"; 18 license = lib.licenses.bsd2; 19 maintainers = with lib.maintainers; [ benley ]; 20 }; 21}