Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
1.0 KiB
Nix
42 lines
1.0 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 = [ ];
|
|
};
|
|
}
|