pythonPackages.backports-entry-points-selectable: init at 1.0.3
This commit is contained in:
parent
131299a60f
commit
596e5eed55
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, importlib-metadata
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backports.entry-points-selectable";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
# pypi project name and tarball name differ
|
||||
pname = builtins.replaceStrings [ "-" ] [ "_" ] pname;
|
||||
sha256 = "f30bcd19c5e2728ac93821d2b6ae0a325597e0ca12324fd91a39fa80e1cd0dd8";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compatibility shim providing selectable entry points for older implementations";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
homepage = "https://github.com/jaraco/backports.entry_points_selectable";
|
||||
};
|
||||
}
|
@ -896,6 +896,8 @@ in {
|
||||
|
||||
backports-datetime-fromisoformat = callPackage ../development/python-modules/backports-datetime-fromisoformat { };
|
||||
|
||||
backports-entry-points-selectable = callPackage ../development/python-modules/backports-entry-points-selectable { };
|
||||
|
||||
backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { };
|
||||
|
||||
backports_lzma = callPackage ../development/python-modules/backports_lzma { };
|
||||
|
Loading…
Reference in New Issue
Block a user