blob: 5baeb91c5d1291e39bdf5140bfe89ab9edd3d100 (
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
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
packaging,
pretend,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "packaging-legacy";
version = "23.0.post0";
pyproject = true;
src = fetchFromGitHub {
owner = "di";
repo = "packaging_legacy";
tag = version;
hash = "sha256-2TnJjxasC8+c+qHY60e6Jyqhf1nQJfj/tmIA/LvUsT8=";
};
build-system = [ setuptools ];
dependencies = [ packaging ];
nativeCheckInputs = [
pretend
pytestCheckHook
];
pythonImportsCheck = [ "packaging_legacy" ];
meta = {
description = "Module to support for legacy Python Packaging functionality";
homepage = "https://github.com/di/packaging_legacy";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
};
}
|