mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 08:00:59 +00:00
python39Packages.backports-entry-points-selectable: init at 1.1.0
This commit is contained in:
committed by
Martin Weinelt
parent
65931335b6
commit
e7ee7f4e00
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user