5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
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 = [ ];
|
|
};
|
|
}
|