blob: 669f997f6e86c43b8c27bc5a86f77af7946f0527 (
plain) (
blame)
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
41
42
43
44
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
, importlib-metadata
}:
buildPythonPackage rec {
pname = "backports-entry-points-selectable";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "backports.entry_points_selectable";
inherit version;
hash = "sha256-Rwb1kXllfKfB0yWlQ+4TcPj0YzH0MrysYvqyQv3wr6U=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
# no tests
doCheck = false;
pythonImportsCheck = [ "backports.entry_points_selectable" ];
pythonNamespaces = [ "backports" ];
meta = with lib; {
changelog = "https://github.com/jaraco/backports.entry_points_selectable/blob/v${version}/CHANGES.rst";
description = "Compatibility shim providing selectable entry points for older implementations";
homepage = "https://github.com/jaraco/backports.entry_points_selectable";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|