depot/third_party/nixpkgs/pkgs/development/python-modules/python-dotenv/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

43 lines
801 B
Nix

{ lib
, buildPythonPackage
, click
, fetchPypi
, ipython
, mock
, pytestCheckHook
, pythonOlder
, sh
}:
buildPythonPackage rec {
pname = "python-dotenv";
version = "0.15.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "587825ed60b1711daea4832cf37524dfd404325b7db5e25ebe88c495c9f807a0";
};
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; [ earvstedt ];
};
}