at master 838 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchPypi, 6 jinja2, 7 pytestCheckHook, 8 poetry-core, 9 terminaltables, 10}: 11 12buildPythonPackage rec { 13 pname = "envs"; 14 version = "1.4"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-nYQ1xphdHN1oKZ4ExY4r24rmz2ayWWqAeeb5qT8qA5g="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ 25 click 26 jinja2 27 terminaltables 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 enabledTestPaths = [ "envs/tests.py" ]; 33 34 disabledTests = [ "test_list_envs" ]; 35 36 pythonImportsCheck = [ "envs" ]; 37 38 meta = { 39 description = "Easy access to environment variables from Python"; 40 mainProgram = "envs"; 41 homepage = "https://github.com/capless/envs"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ peterhoeg ]; 44 }; 45}