Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
935 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, gitUpdater, pytestCheckHook, unittestCheckHook, setuptools, pkg-config, yajl,}:
buildPythonPackage rec { pname = "jsonslicer"; version = "0.1.8"; pyproject = true;
src = fetchFromGitHub { owner = "AMDmi3"; repo = "jsonslicer"; tag = version; hash = "sha256-nPifyqr+MaFqoCYFbFSSBDjvifpX0CFnHCdMCvhwYTA="; };
build-system = [ setuptools pkg-config ];
buildInputs = [ yajl ];
nativeCheckInputs = [ pytestCheckHook unittestCheckHook ];
pythonImportsCheck = [ "jsonslicer" ];
passthru.updateScript = gitUpdater { };
meta = with lib; { description = "Stream JSON parser for Python"; homepage = "https://github.com/AMDmi3/jsonslicer"; changelog = "https://github.com/AMDmi3/jsonslicer/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ jopejoe1 ]; };}