depot/third_party/nixpkgs/pkgs/development/python-modules/jq/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

29 lines
629 B
Nix

{ buildPythonPackage, fetchPypi, lib, jq }:
buildPythonPackage rec {
pname = "jq";
version = "1.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "1ryxcll7601ki9rwlnryhhxpmwwnxs2qxq7kjm2b0xcqgzx1vv7r";
};
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 ];
};
}