python312Packages.envs: modernize
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
jinja2,
|
||||
pytestCheckHook,
|
||||
poetry-core,
|
||||
pythonOlder,
|
||||
terminaltables,
|
||||
}:
|
||||
|
||||
@@ -15,16 +14,14 @@ buildPythonPackage rec {
|
||||
version = "1.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nYQ1xphdHN1oKZ4ExY4r24rmz2ayWWqAeeb5qT8qA5g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
click
|
||||
jinja2
|
||||
terminaltables
|
||||
@@ -38,11 +35,11 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "envs" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Easy access to environment variables from Python";
|
||||
mainProgram = "envs";
|
||||
homepage = "https://github.com/capless/envs";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user