1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "autocommand";
9 version = "2.2.1";
10
11 src = fetchFromGitHub {
12 owner = "Lucretiel";
13 repo = "autocommand";
14 rev = version;
15 sha256 = "sha256-bjoVGfP57qhvPuHHcMP8JQddAaW4/fEyatElk1UEPZo=";
16 };
17
18 # fails with: SyntaxError: invalid syntax
19 doCheck = false;
20
21 checkInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "autocommand" ];
24
25 meta = with lib; {
26 description = " Autocommand turns a python function into a CLI program ";
27 homepage = "https://github.com/Lucretiel/autocommand";
28 license = licenses.lgpl3;
29 maintainers = with maintainers; [ SuperSandro2000 ];
30 };
31}