Merge pull request #247674 from fabaff/autocommand-bump

python311Packages.autocommand: 2.2.1 -> 2.2.2
This commit is contained in:
Fabian Affolter 2023-08-13 21:34:03 +02:00 committed by GitHub
commit 9431eb9fee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,30 +2,38 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "autocommand"; pname = "autocommand";
version = "2.2.1"; version = "2.2.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Lucretiel"; owner = "Lucretiel";
repo = "autocommand"; repo = "autocommand";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-bjoVGfP57qhvPuHHcMP8JQddAaW4/fEyatElk1UEPZo="; hash = "sha256-9bv9Agj4RpeyNJvTLUaMwygQld2iZZkoLb81rkXOd3E=";
}; };
# fails with: SyntaxError: invalid syntax # fails with: SyntaxError: invalid syntax
doCheck = false; doCheck = false;
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "autocommand" ]; pythonImportsCheck = [
"autocommand"
];
meta = with lib; { 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"; homepage = "https://github.com/Lucretiel/autocommand";
license = licenses.lgpl3; license = licenses.lgpl3Only;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
}; };
} }