depot/third_party/nixpkgs/pkgs/development/python-modules/jq/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

26 lines
611 B
Nix

{ buildPythonPackage, fetchPypi, lib, jq }:
buildPythonPackage rec {
pname = "jq";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "77e747c6ad10ce65479f5f9064ab036483bf307bf71fdd7d6235ef895fcc506e";
};
patches = [ ./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 ];
};
}