Skip to content

Commit

Permalink
python3.pkgs.importlib-resources: 1.0.2 -> 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssais committed Jun 6, 2020
1 parent ebb2f24 commit 167391c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pkgs/development/python-modules/importlib-resources/default.nix
Original file line number Diff line number Diff line change
@@ -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
;

Expand Down

0 comments on commit 167391c

Please sign in to comment.