Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 29 lines 629 B view raw
1{ buildPythonPackage, fetchPypi, lib, jq }: 2 3buildPythonPackage rec { 4 pname = "jq"; 5 version = "1.1.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1ryxcll7601ki9rwlnryhhxpmwwnxs2qxq7kjm2b0xcqgzx1vv7r"; 10 }; 11 12 patches = [ 13 # Removes vendoring 14 ./jq-py-setup.patch 15 ]; 16 17 buildInputs = [ jq ]; 18 19 # no tests executed 20 doCheck = false; 21 pythonImportsCheck = [ "jq" ]; 22 23 meta = { 24 description = "Python bindings for jq, the flexible JSON processor"; 25 homepage = "https://github.com/mwilliamson/jq.py"; 26 license = lib.licenses.bsd2; 27 maintainers = with lib.maintainers; [ benley ]; 28 }; 29}