diff --git a/pkgs/development/python-modules/python-dotenv/default.nix b/pkgs/development/python-modules/python-dotenv/default.nix new file mode 100644 index 000000000000..37c7d0dae686 --- /dev/null +++ b/pkgs/development/python-modules/python-dotenv/default.nix @@ -0,0 +1,20 @@ +{ lib, buildPythonPackage, fetchPypi, click, ipython }: + +buildPythonPackage rec { + pname = "python-dotenv"; + version = "0.10.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1q4sp6ppjiqlsz3h43q9iya4n3qkhx6ng16bcbacfxdyrp9xvcf9"; + }; + + checkInputs = [ click ipython ]; + + meta = with lib; { + description = "Add .env support to your django/flask apps in development and deployments"; + homepage = https://github.com/theskumar/python-dotenv; + license = licenses.bsdOriginal; + maintainers = with maintainers; [ earvstedt ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 69b3061577e4..9fa356112701 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -775,6 +775,8 @@ in { python-dbusmock = callPackage ../development/python-modules/python-dbusmock { }; + python-dotenv = callPackage ../development/python-modules/python-dotenv { }; + python-engineio = callPackage ../development/python-modules/python-engineio { }; python-hosts = callPackage ../development/python-modules/python-hosts { };