nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 33 lines 682 B view raw
1{ 2 lib, 3 attrs, 4 fetchFromGitHub, 5 buildPythonPackage, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "jsonlines"; 11 version = "4.0.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "wbolster"; 16 repo = "jsonlines"; 17 rev = version; 18 hash = "sha256-KNEJdAxEgd0NGPnk9J51C3yUN2e6Cvvevth0iKOMlhE="; 19 }; 20 21 propagatedBuildInputs = [ attrs ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "jsonlines" ]; 26 27 meta = { 28 description = "Python library to simplify working with jsonlines and ndjson data"; 29 homepage = "https://github.com/wbolster/jsonlines"; 30 license = lib.licenses.bsd3; 31 maintainers = [ ]; 32 }; 33}