mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 06:34:13 +00:00
python3Packages.jsonslicer: modernize
This commit is contained in:
parent
7a66b67d9d
commit
5030a3d7a2
@ -2,6 +2,8 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
setuptools,
|
||||
pkg-config,
|
||||
yajl,
|
||||
}:
|
||||
@ -9,7 +11,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonslicer";
|
||||
version = "0.1.7";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AMDmi3";
|
||||
@ -18,10 +20,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-uKIe/nJLCTe8WFIMB7+g3c0Yv3addgZEKYaBI6EpBSY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
build-system = [
|
||||
setuptools
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ yajl ];
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stream JSON parser for Python";
|
||||
homepage = "https://github.com/AMDmi3/jsonslicer";
|
||||
|
Loading…
Reference in New Issue
Block a user