1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 setuptools-scm,
7 jaraco-classes,
8 jaraco-text,
9}:
10
11buildPythonPackage rec {
12 pname = "jaraco-collections";
13 version = "5.2.1";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "jaraco_collections";
18 inherit version;
19 hash = "sha256-2rgZcLrW8KtTsgdF8bAdo3km5MD81CUEaqReDY76GO0=";
20 };
21
22 postPatch = ''
23 sed -i "/coherent\.licensed/d" pyproject.toml
24 '';
25
26 build-system = [
27 setuptools
28 setuptools-scm
29 ];
30
31 dependencies = [
32 jaraco-classes
33 jaraco-text
34 ];
35
36 pythonNamespaces = [ "jaraco" ];
37
38 doCheck = false;
39
40 pythonImportsCheck = [ "jaraco.collections" ];
41
42 meta = with lib; {
43 description = "Models and classes to supplement the stdlib 'collections' module";
44 homepage = "https://github.com/jaraco/jaraco.collections";
45 changelog = "https://github.com/jaraco/jaraco.collections/blob/v${version}/NEWS.rst";
46 license = licenses.mit;
47 maintainers = [ ];
48 };
49}