depot/third_party/nixpkgs/pkgs/development/python-modules/jsonslicer/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

31 lines
614 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pkg-config,
yajl,
}:
buildPythonPackage rec {
pname = "jsonslicer";
version = "0.1.7";
format = "setuptools";
src = fetchFromGitHub {
owner = "AMDmi3";
repo = "jsonslicer";
rev = version;
hash = "sha256-uKIe/nJLCTe8WFIMB7+g3c0Yv3addgZEKYaBI6EpBSY=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ yajl ];
meta = with lib; {
description = "Stream JSON parser for Python";
homepage = "https://github.com/AMDmi3/jsonslicer";
license = licenses.mit;
maintainers = with maintainers; [ jopejoe1 ];
};
}