2020-09-09 06:18:08 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, jq }:
|
2019-01-19 02:01:19 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jq";
|
2021-02-20 09:09:10 +00:00
|
|
|
version = "1.1.2";
|
2019-01-19 02:01:19 +00:00
|
|
|
|
2020-08-15 01:46:13 +01:00
|
|
|
src = fetchPypi {
|
2019-01-19 02:01:19 +00:00
|
|
|
inherit pname version;
|
2021-02-20 09:09:10 +00:00
|
|
|
sha256 = "77e747c6ad10ce65479f5f9064ab036483bf307bf71fdd7d6235ef895fcc506e";
|
2019-01-19 02:01:19 +00:00
|
|
|
};
|
2021-02-23 15:32:35 +00:00
|
|
|
|
2019-01-19 02:01:19 +00:00
|
|
|
patches = [ ./jq-py-setup.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ jq ];
|
|
|
|
|
2021-02-23 15:32:35 +00:00
|
|
|
# no tests executed
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "jq" ];
|
|
|
|
|
2019-01-19 02:01:19 +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 ];
|
|
|
|
};
|
|
|
|
}
|