2024-02-18 12:23:08 -07:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
click,
|
|
|
|
fetchPypi,
|
|
|
|
ipython,
|
|
|
|
mock,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
sh,
|
2023-07-11 09:12:50 -06:00
|
|
|
}:
|
2023-05-03 08:46:31 -06:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-dotenv";
|
|
|
|
version = "0.21.0";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-t30IJ0Y549NBRd+mxwCOZt8PBLe+enX9DVKSwZHXkEU=";
|
|
|
|
};
|
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
propagatedBuildInputs = [ click ];
|
2023-05-03 08:46:31 -06:00
|
|
|
|
2024-02-18 12:23:08 -07:00
|
|
|
nativeCheckInputs = [
|
|
|
|
ipython
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
sh
|
|
|
|
];
|
2023-05-03 08:46:31 -06:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
disabledTests = [ "cli" ];
|
2023-05-03 08:46:31 -06:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
pythonImportsCheck = [ "dotenv" ];
|
2023-05-03 08:46:31 -06:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-07-11 09:12:50 -06:00
|
|
|
description = "Add .env support to your django/flask apps in development and deployments";
|
2023-05-03 08:46:31 -06:00
|
|
|
homepage = "https://github.com/theskumar/python-dotenv";
|
|
|
|
license = licenses.bsdOriginal;
|
2023-09-12 08:44:05 -06:00
|
|
|
maintainers = with maintainers; [ erikarvstedt ];
|
2023-05-03 08:46:31 -06:00
|
|
|
};
|
|
|
|
}
|