Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, autocommand 6, importlib-resources 7, jaraco_functools 8, jaraco-context 9, inflect 10, pathlib2 11, pytestCheckHook 12, setuptools-scm 13}: 14 15buildPythonPackage rec { 16 pname = "jaraco.text"; 17 version = "3.11.1"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-Mzpd8hSPcTlxhgfN81L+HZUWKXGnKZw4Dcwk2rAWiYA="; 25 }; 26 27 pythonNamespaces = [ 28 "jaraco" 29 ]; 30 31 nativeBuildInputs = [ 32 setuptools-scm 33 ]; 34 35 propagatedBuildInputs = [ 36 autocommand 37 jaraco-context 38 jaraco_functools 39 inflect 40 ] ++ lib.optionals (pythonOlder "3.9") [ 41 importlib-resources 42 ]; 43 44 nativeCheckInputs = [ 45 pytestCheckHook 46 ] ++ lib.optionals (pythonOlder "3.10") [ 47 pathlib2 48 ]; 49 50 pythonImportsCheck = [ 51 "jaraco.text" 52 ]; 53 54 meta = with lib; { 55 description = "Module for text manipulation"; 56 homepage = "https://github.com/jaraco/jaraco.text"; 57 license = licenses.mit; 58 maintainers = with maintainers; [ ]; 59 }; 60}