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