1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/jaraco_text/default.nix

32 lines
715 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pythonOlder
, importlib-resources
, jaraco_functools
, setuptools_scm
}:
2018-09-03 01:20:00 +01:00
buildPythonPackage rec {
pname = "jaraco.text";
version = "3.2.0";
2018-09-03 01:20:00 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "1v0hz3h74m31jlbc5bxwkvrx1h2n7887bajrg1n1c3yc4q8qn1z5";
2018-09-03 01:20:00 +01:00
};
nativeBuildInputs =[ setuptools_scm ];
propagatedBuildInputs = [
jaraco_functools
] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ];
# no tests in pypi package
2018-09-03 01:20:00 +01:00
doCheck = false;
meta = with lib; {
description = "Module for text manipulation";
homepage = "https://github.com/jaraco/jaraco.text";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
2018-09-03 01:20:00 +01:00
}