Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, pythonOlder 2, importlib-resources 3, jaraco_functools 4, setuptools_scm 5}: 6 7buildPythonPackage rec { 8 pname = "jaraco.text"; 9 version = "3.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5"; 14 }; 15 16 nativeBuildInputs =[ setuptools_scm ]; 17 propagatedBuildInputs = [ 18 jaraco_functools 19 ] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ]; 20 21 # no tests in pypi package 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Module for text manipulation"; 26 homepage = "https://github.com/jaraco/jaraco.text"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ ]; 29 }; 30 31}