10 buildPythonPackage rec {
11 pname = "autocommand";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-9bv9Agj4RpeyNJvTLUaMwygQld2iZZkoLb81rkXOd3E=";
25 # _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
29 nativeBuildInputs = [ setuptools ];
31 # fails with: SyntaxError: invalid syntax
34 nativeCheckInputs = [ pytestCheckHook ];
36 pythonImportsCheck = [ "autocommand" ];
39 description = "Autocommand turns a python function into a CLI program";
40 homepage = "https://github.com/Lucretiel/autocommand";
41 license = licenses.lgpl3Only;