depot/third_party/nixpkgs/pkgs/development/python-modules/python-dotenv/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
852 B
Nix

{
lib,
buildPythonPackage,
click,
fetchPypi,
ipython,
mock,
pytestCheckHook,
pythonOlder,
sh,
}:
buildPythonPackage rec {
pname = "python-dotenv";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-4yTukKAj2AjxlZxGvLwERGoQztJ3eD3G7gmYfDfsEMo=";
};
propagatedBuildInputs = [ click ];
nativeCheckInputs = [
ipython
mock
pytestCheckHook
sh
];
disabledTests = [ "cli" ];
pythonImportsCheck = [ "dotenv" ];
meta = with lib; {
description = "Add .env support to your django/flask apps in development and deployments";
mainProgram = "dotenv";
homepage = "https://github.com/theskumar/python-dotenv";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ erikarvstedt ];
};
}