Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchPypi, 6 ipython, 7 mock, 8 pytestCheckHook, 9 pythonOlder, 10 sh, 11}: 12 13buildPythonPackage rec { 14 pname = "python-dotenv"; 15 version = "1.0.1"; 16 format = "setuptools"; 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-4yTukKAj2AjxlZxGvLwERGoQztJ3eD3G7gmYfDfsEMo="; 22 }; 23 24 propagatedBuildInputs = [ click ]; 25 26 nativeCheckInputs = [ 27 ipython 28 mock 29 pytestCheckHook 30 sh 31 ]; 32 33 disabledTests = [ "cli" ]; 34 35 pythonImportsCheck = [ "dotenv" ]; 36 37 meta = with lib; { 38 description = "Add .env support to your django/flask apps in development and deployments"; 39 mainProgram = "dotenv"; 40 homepage = "https://github.com/theskumar/python-dotenv"; 41 license = licenses.bsdOriginal; 42 maintainers = with maintainers; [ erikarvstedt ]; 43 }; 44}