python39Packages.backports-entry-points-selectable: init at 1.1.0

This commit is contained in:
Sandro Jäckel 2021-08-27 00:54:28 +02:00 committed by Martin Weinelt
parent 95f169c6cf
commit 88fdb63615
3 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm, importlib-metadata }:
buildPythonPackage rec {
pname = "backports-entry-points-selectable";
version = "1.1.0";
src = fetchPypi {
pname = "backports.entry_points_selectable";
inherit version;
sha256 = "988468260ec1c196dab6ae1149260e2f5472c9110334e5d51adcb77867361f6a";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
# no tests
doCheck = false;
pythonImportsCheck = [ "backports.entry_points_selectable" ];
meta = with lib; {
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; [ SuperSandro2000 ];
};
}

View File

@ -33,7 +33,6 @@ in
### Deprecated aliases - for backward compatibility
mapAliases ({
backports-entry-points-selectable = throw "backports-entry-points-selectable has been removed"; # added 2021-07-01
blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29
bt_proximity = bt-proximity; # added 2021-07-02
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27

View File

@ -981,6 +981,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_shutil_get_terminal_size = callPackage ../development/python-modules/backports_shutil_get_terminal_size { };