nixpkgs-suyu/pkgs/development/python-modules/jq/default.nix

30 lines
641 B
Nix
Raw Normal View History

2020-09-09 07:18:08 +02:00
{ buildPythonPackage, fetchPypi, lib, jq }:
buildPythonPackage rec {
pname = "jq";
2021-08-18 08:16:20 +02:00
version = "1.2.1";
src = fetchPypi {
inherit pname version;
2021-08-18 08:16:20 +02:00
sha256 = "73ce588025495e6ebcda20bb9e64b6d9f3f1657c22895143ae243899ac710cbc";
};
2021-05-08 01:16:04 +02:00
patches = [
# Removes vendoring
./jq-py-setup.patch
];
buildInputs = [ jq ];
# no tests executed
doCheck = false;
pythonImportsCheck = [ "jq" ];
meta = {
description = "Python bindings for jq, the flexible JSON processor";
homepage = "https://github.com/mwilliamson/jq.py";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ benley ];
};
}