lol

python310Packages.jsonlines: add pythonImportsCheck

authored by

Fabian Affolter and committed by
GitHub
fcc4037c fb9bec6b

+17 -5
+17 -5
pkgs/development/python-modules/jsonlines/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 , buildPythonPackage 4 - , attrs 5 , pytestCheckHook 6 }: 7 8 buildPythonPackage rec { 9 pname = "jsonlines"; 10 version = "3.1.0"; 11 12 src = fetchFromGitHub { 13 owner = "wbolster"; 14 repo = pname; 15 rev = version; 16 - sha256 = "sha256-eMpUk5s49OyD+cNGdAeKA2LvpXdKta2QjZIFDnIBKC8="; 17 }; 18 19 - propagatedBuildInputs = [ attrs ]; 20 21 - checkInputs = [ pytestCheckHook ]; 22 23 meta = with lib; { 24 description = "Python library to simplify working with jsonlines and ndjson data"; 25 homepage = "https://github.com/wbolster/jsonlines"; 26 - maintainers = with maintainers; [ ]; 27 license = licenses.bsd3; 28 }; 29 }
··· 1 { lib 2 + , attrs 3 , fetchFromGitHub 4 , buildPythonPackage 5 , pytestCheckHook 6 + , pythonOlder 7 }: 8 9 buildPythonPackage 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 + checkInputs = [ 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 }