From e6a3ad775fe043859931e3530a7b58d7ef4bc92a Mon Sep 17 00:00:00 2001 From: Tobias Happ Date: Sat, 1 Sep 2018 17:29:47 +0200 Subject: [PATCH] pythonPackages.dependency-injector: init at 3.13.1 (#45871) --- .../dependency-injector/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/dependency-injector/default.nix diff --git a/pkgs/development/python-modules/dependency-injector/default.nix b/pkgs/development/python-modules/dependency-injector/default.nix new file mode 100644 index 000000000000..6eec8ab91cd2 --- /dev/null +++ b/pkgs/development/python-modules/dependency-injector/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, six }: + +buildPythonPackage rec { + pname = "dependency-injector"; + version = "3.13.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0bmcgdfjavgxdzkb904q968ig1x44arvpj2m4rpm5nc9vhhgq43q"; + }; + + # TODO: Enable tests after upstream merges https://github.com/ets-labs/python-dependency-injector/pull/204 + doCheck = false; + + propagatedBuildInputs = [ six ]; + + meta = with stdenv.lib; { + description = "Dependency injection microframework for Python"; + homepage = https://github.com/ets-labs/python-dependency-injector; + license = licenses.bsd3; + maintainers = with maintainers; [ gerschtli ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 84472b440a58..9a3d4c9eea11 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -246,6 +246,8 @@ in { dendropy = callPackage ../development/python-modules/dendropy { }; + dependency-injector = callPackage ../development/python-modules/dependency-injector { }; + dbf = callPackage ../development/python-modules/dbf { }; dbfread = callPackage ../development/python-modules/dbfread { };