blob: 01f4514eafb5eb892b10d312d11b28397461b63c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
setuptools-scm,
more-itertools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jaraco-classes";
version = "3.4.0";
pyproject = true;
disabled = isPy27;
src = fetchFromGitHub {
owner = "jaraco";
repo = "jaraco.classes";
tag = "v${version}";
sha256 = "sha256-pXDsLKiEru+UXcEBT4/cP1u8s9vSn1Zhf7Qnwy9Zr0I=";
};
pythonNamespaces = [ "jaraco" ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ more-itertools ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Utility functions for Python class constructs";
homepage = "https://github.com/jaraco/jaraco.classes";
license = lib.licenses.mit;
};
}
|