Merge pull request #305608 from Sigmanificient/tuifi-4.0.0

tuifimanager: 3.3.5 -> 4.0.0
This commit is contained in:
Basti 2024-04-22 09:08:30 +00:00 committed by GitHub
commit f6f1ab952e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,29 +5,24 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "tuifimanager"; pname = "tuifimanager";
version = "3.3.5"; version = "4.0.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GiorgosXou"; owner = "GiorgosXou";
repo = "TUIFIManager"; repo = "TUIFIManager";
rev = "refs/tags/v.${version}"; rev = "v${version}";
hash = "sha256-O4cAHFurgF6QzpeAMoipX2/JywU1drZOTw/Ob9Pa8WQ="; hash = "sha256-bv/+x2xppUK9i3HOm93FIQRu1xlB4wCKZzAapkVlrM0=";
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace "Send2Trash == 1.8.0" "Send2Trash >= 1.8.0"
'';
nativeBuildInputs = [ nativeBuildInputs = [
python3.pkgs.setuptools python3.pkgs.setuptools
python3.pkgs.setuptools-scm python3.pkgs.setuptools-scm
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = [
send2trash python3.pkgs.send2trash
unicurses python3.pkgs.unicurses
]; ];
pythonImportsCheck = [ "TUIFIManager" ]; pythonImportsCheck = [ "TUIFIManager" ];