python3.pkgs.importlib-resources: 1.0.2 -> 1.5.0
This commit is contained in:
parent
ebb2f24628
commit
167391c20e
|
@ -1,24 +1,28 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pathlib2
|
||||
, setuptools_scm
|
||||
, toml
|
||||
, importlib-metadata
|
||||
, typing
|
||||
, isPy3k
|
||||
, singledispatch
|
||||
, pythonOlder
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "importlib_resources";
|
||||
version = "1.0.2";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078";
|
||||
sha256 = "1jilyxyb2z7hzcjhx1ddni52mq00i728wqh8f5k4469yhdkdz1vg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm toml ];
|
||||
propagatedBuildInputs = [
|
||||
] ++ lib.optional (!isPy3k) pathlib2
|
||||
importlib-metadata
|
||||
] ++ lib.optional (pythonOlder "3.4") singledispatch
|
||||
++ lib.optional (pythonOlder "3.5") typing
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue