2020-09-25 04:45:31 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, jq }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jq";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "1.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchPypi {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "77e747c6ad10ce65479f5f9064ab036483bf307bf71fdd7d6235ef895fcc506e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./jq-py-setup.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ jq ];
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
# no tests executed
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "jq" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|