2021-02-28 17:11:30 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-06-25 18:27:50 +00:00
|
|
|
, click
|
2021-02-28 17:11:30 +00:00
|
|
|
, fetchPypi
|
2019-06-25 18:27:50 +00:00
|
|
|
, ipython
|
2020-06-08 19:19:41 +00:00
|
|
|
, mock
|
2021-02-28 17:11:30 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, sh
|
2019-06-25 18:27:50 +00:00
|
|
|
}:
|
2019-01-27 14:26:25 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-dotenv";
|
2020-11-29 14:04:40 +00:00
|
|
|
version = "0.15.0";
|
2021-02-28 17:11:30 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
2019-01-27 14:26:25 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:40 +00:00
|
|
|
sha256 = "587825ed60b1711daea4832cf37524dfd404325b7db5e25ebe88c495c9f807a0";
|
2019-01-27 14:26:25 +00:00
|
|
|
};
|
|
|
|
|
2021-02-28 17:11:30 +00:00
|
|
|
propagatedBuildInputs = [ click ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
ipython
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
sh
|
|
|
|
];
|
2019-06-25 18:27:50 +00:00
|
|
|
|
2021-02-28 17:11:30 +00:00
|
|
|
disabledTests = [
|
|
|
|
"cli"
|
|
|
|
];
|
2019-06-25 18:27:50 +00:00
|
|
|
|
2021-02-28 17:11:30 +00:00
|
|
|
pythonImportsCheck = [ "dotenv" ];
|
2019-01-27 14:26:25 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Add .env support to your django/flask apps in development and deployments";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/theskumar/python-dotenv";
|
2019-01-27 14:26:25 +00:00
|
|
|
license = licenses.bsdOriginal;
|
|
|
|
maintainers = with maintainers; [ earvstedt ];
|
|
|
|
};
|
|
|
|
}
|