fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
41 lines
1 KiB
Nix
41 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools-scm,
|
|
importlib-metadata,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "backports-entry-points-selectable";
|
|
version = "1.3.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "backports.entry_points_selectable";
|
|
inherit version;
|
|
hash = "sha256-F6i0SucA+6VIaG3SdN3JHAYDcVZc1jgGwgodM5EXRuY=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|