Files
nixpkgs/pkgs/development/python-modules/jsonlines/default.nix
2026-08-21 23:58:30 +02:00

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 = [ ];
};
})