depot/third_party/nixpkgs/pkgs/development/python-modules/jaraco_text/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

33 lines
763 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonOlder
, importlib-resources
, jaraco_functools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "jaraco.text";
version = "3.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "ede4e9103443b62b3d1d193257dfb85aab7c69a6cef78a0887d64bb307a03bc3";
};
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs =[ setuptools-scm ];
propagatedBuildInputs = [
jaraco_functools
] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];
# no tests in pypi package
doCheck = false;
meta = with lib; {
description = "Module for text manipulation";
homepage = "https://github.com/jaraco/jaraco.text";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}