nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 autocommand,
6 jaraco-functools,
7 jaraco-context,
8 inflect,
9 pytestCheckHook,
10 setuptools-scm,
11}:
12
13buildPythonPackage rec {
14 pname = "jaraco-text";
15 version = "4.0.0";
16 pyproject = true;
17
18 src = fetchPypi {
19 pname = "jaraco_text";
20 inherit version;
21 hash = "sha256-W3H+zqaatvk51MkGwE/uHtp2UA0WQRF99uxFuGXxDbA=";
22 };
23
24 pythonNamespaces = [ "jaraco" ];
25
26 nativeBuildInputs = [ setuptools-scm ];
27
28 propagatedBuildInputs = [
29 autocommand
30 jaraco-context
31 jaraco-functools
32 inflect
33 ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 pythonImportsCheck = [ "jaraco.text" ];
38
39 meta = {
40 description = "Module for text manipulation";
41 homepage = "https://github.com/jaraco/jaraco.text";
42 license = lib.licenses.mit;
43 maintainers = [ ];
44 };
45}