mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-01 17:49:56 +00:00
39 lines
766 B
Nix
39 lines
766 B
Nix
{
|
|
lib,
|
|
attrs,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "jsonlines";
|
|
version = "4.0.0";
|
|
|
|
__structuredAttrs = true;
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wbolster";
|
|
repo = "jsonlines";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-KNEJdAxEgd0NGPnk9J51C3yUN2e6Cvvevth0iKOMlhE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ attrs ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "jsonlines" ];
|
|
|
|
meta = {
|
|
description = "Python library to simplify working with jsonlines and ndjson data";
|
|
homepage = "https://github.com/wbolster/jsonlines";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
})
|