tuifimanager: 3.3.5 -> 4.0.0

This commit is contained in:
Sigmanificient 2024-04-20 20:59:02 +02:00
parent b96918e510
commit 5e9ba95ffe
1 changed files with 6 additions and 11 deletions

View File

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