at 23.05-pre 628 B view raw
1{ buildPythonPackage, fetchPypi, lib, jq }: 2 3buildPythonPackage rec { 4 pname = "jq"; 5 version = "1.2.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-15bXqaa6c6RMoHKqUAcOhPrhMBbqYHrDdnZAaFaHElc="; 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}