3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.simple_di: init at 0.1.2

This commit is contained in:
Sauyon Lee 2021-10-25 23:51:13 +00:00
parent 360d65e180
commit c56ac66592
No known key found for this signature in database
GPG key ID: 5970AD0FFE982CD4
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, typing-extensions
, dataclasses
}:
buildPythonPackage rec {
version = "0.1.2";
pname = "simple_di";
disabled = pythonOlder "3.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "0wqbfbajnwmkzih0jl3mncalr7dslvmwhb5mk11asqvmbp1xhn30";
};
propagatedBuildInputs = [
setuptools
typing-extensions
] ++ lib.optional (pythonOlder "3.7") [
dataclasses
];
meta = {
description = "Simple dependency injection library";
homepage = "https://github.com/bentoml/simple_di";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sauyon ];
};
}

View file

@ -8450,6 +8450,8 @@ in {
simplekml = callPackage ../development/python-modules/simplekml { };
simple_di = callPackage ../development/python-modules/simple_di { };
simple-rest-client = callPackage ../development/python-modules/simple-rest-client { };
simple-salesforce = callPackage ../development/python-modules/simple-salesforce { };