32 lines
683 B
Nix
32 lines
683 B
Nix
|
{ buildPythonPackage
|
|||
|
, fetchPypi
|
|||
|
, lib
|
|||
|
, nix-update-script
|
|||
|
, pythonOlder
|
|||
|
}:
|
|||
|
buildPythonPackage rec {
|
|||
|
pname = "pkgutil-resolve-name";
|
|||
|
version = "1.3.10";
|
|||
|
format = "flit";
|
|||
|
|
|||
|
disabled = pythonOlder "3.7";
|
|||
|
|
|||
|
src = fetchPypi {
|
|||
|
pname = "pkgutil_resolve_name";
|
|||
|
inherit version;
|
|||
|
hash = "sha256-NX1snmp1VlPP14iTgXwIU682XdUeyX89NYqBk3O70XQ=";
|
|||
|
};
|
|||
|
|
|||
|
# has no tests
|
|||
|
doCheck = false;
|
|||
|
|
|||
|
passthru.updateScript = nix-update-script { };
|
|||
|
|
|||
|
meta = {
|
|||
|
homepage = "https://pypi.org/project/pkgutil_resolve_name/";
|
|||
|
description = "A backport of Python 3.9’s pkgutil.resolve_name.";
|
|||
|
license = lib.licenses.mit;
|
|||
|
maintainers = with lib.maintainers; [ yajo ];
|
|||
|
};
|
|||
|
}
|