mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
Merge pull request #247674 from fabaff/autocommand-bump
python311Packages.autocommand: 2.2.1 -> 2.2.2
This commit is contained in:
commit
9431eb9fee
1 changed files with 15 additions and 7 deletions
|
@ -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; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue