83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
31 lines
710 B
Nix
31 lines
710 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "autocommand";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Lucretiel";
|
|
repo = "autocommand";
|
|
rev = version;
|
|
hash = "sha256-bjoVGfP57qhvPuHHcMP8JQddAaW4/fEyatElk1UEPZo=";
|
|
};
|
|
|
|
# fails with: SyntaxError: invalid syntax
|
|
doCheck = false;
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "autocommand" ];
|
|
|
|
meta = with lib; {
|
|
description = " Autocommand turns a python function into a CLI program ";
|
|
homepage = "https://github.com/Lucretiel/autocommand";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|