Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
838 B
Nix
46 lines
838 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchPypi,
|
|
jinja2,
|
|
pytestCheckHook,
|
|
poetry-core,
|
|
terminaltables,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "envs";
|
|
version = "1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-nYQ1xphdHN1oKZ4ExY4r24rmz2ayWWqAeeb5qT8qA5g=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
click
|
|
jinja2
|
|
terminaltables
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
enabledTestPaths = [ "envs/tests.py" ];
|
|
|
|
disabledTests = [ "test_list_envs" ];
|
|
|
|
pythonImportsCheck = [ "envs" ];
|
|
|
|
meta = {
|
|
description = "Easy access to environment variables from Python";
|
|
mainProgram = "envs";
|
|
homepage = "https://github.com/capless/envs";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ peterhoeg ];
|
|
};
|
|
}
|