1{ 2 lib, 3 attrs, 4 fetchFromGitHub, 5 buildPythonPackage, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "jsonlines"; 12 version = "4.0.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "wbolster"; 19 repo = "jsonlines"; 20 rev = version; 21 hash = "sha256-KNEJdAxEgd0NGPnk9J51C3yUN2e6Cvvevth0iKOMlhE="; 22 }; 23 24 propagatedBuildInputs = [ attrs ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "jsonlines" ]; 29 30 meta = with lib; { 31 description = "Python library to simplify working with jsonlines and ndjson data"; 32 homepage = "https://github.com/wbolster/jsonlines"; 33 license = licenses.bsd3; 34 maintainers = [ ]; 35 }; 36}