diff --git a/pkgs/development/python-modules/autocommand/default.nix b/pkgs/development/python-modules/autocommand/default.nix index ca9eaf668495..eeee08ec4927 100644 --- a/pkgs/development/python-modules/autocommand/default.nix +++ b/pkgs/development/python-modules/autocommand/default.nix @@ -2,30 +2,38 @@ , buildPythonPackage , fetchFromGitHub , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "autocommand"; - version = "2.2.1"; + version = "2.2.2"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "Lucretiel"; repo = "autocommand"; - rev = version; - hash = "sha256-bjoVGfP57qhvPuHHcMP8JQddAaW4/fEyatElk1UEPZo="; + rev = "refs/tags/${version}"; + hash = "sha256-9bv9Agj4RpeyNJvTLUaMwygQld2iZZkoLb81rkXOd3E="; }; # fails with: SyntaxError: invalid syntax doCheck = false; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ]; - pythonImportsCheck = [ "autocommand" ]; + pythonImportsCheck = [ + "autocommand" + ]; meta = with lib; { - description = " Autocommand turns a python function into a CLI program "; + description = "Autocommand turns a python function into a CLI program"; homepage = "https://github.com/Lucretiel/autocommand"; - license = licenses.lgpl3; + license = licenses.lgpl3Only; maintainers = with maintainers; [ ]; }; }