depot/third_party/nixpkgs/pkgs/development/python-modules/python-dotenv/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

43 lines
791 B
Nix

{ lib
, buildPythonPackage
, click
, fetchPypi
, ipython
, mock
, pytestCheckHook
, pythonOlder
, sh
}:
buildPythonPackage rec {
pname = "python-dotenv";
version = "0.20.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-t+OwSllpPELDb5qxzCrMRvpd+MeOF4/DOo1M0FyNSY8=";
};
propagatedBuildInputs = [ click ];
checkInputs = [
ipython
mock
pytestCheckHook
sh
];
disabledTests = [
"cli"
];
pythonImportsCheck = [ "dotenv" ];
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; [ erikarvstedt ];
};
}