mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 01:02:20 +00:00
python3Packages.ijson: 3.5.1 -> 3.6.0
Diff: https://github.com/ICRAR/ijson/compare/v3.5.1...v3.6.0 Changelog: https://github.com/ICRAR/ijson/blob/v3.6.0/CHANGELOG.md
This commit is contained in:
@@ -1,29 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cffi,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
yajl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "ijson";
|
||||
version = "3.5.1";
|
||||
version = "3.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-r0C9GoX1XbC4swcVyFh2Ewa9ktVZAUhjb3XDMJ5udr0=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ICRAR";
|
||||
repo = "ijson";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-jlap3pf17SM8AQOoYZCPuGOnNC/oRLBONBgA5NgJQYQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ yajl ];
|
||||
|
||||
dependencies = [ cffi ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "ijson" ];
|
||||
@@ -31,8 +30,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Iterative JSON parser with a standard Python iterator interface";
|
||||
homepage = "https://github.com/ICRAR/ijson";
|
||||
changelog = "https://github.com/ICRAR/ijson/blob/v${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/ICRAR/ijson/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user