mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #235635 from michaelBelsanti/tuifimanager
tuifimanager: 2.3.4 -> 3.0.0
This commit is contained in:
commit
f86e145471
1 changed files with 20 additions and 11 deletions
|
@ -1,15 +1,18 @@
|
||||||
{ lib, python3Packages, fetchFromGitHub }:
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "tuifimanager";
|
pname = "tuifi-manager";
|
||||||
version = "2.3.4";
|
version = "3.0.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = pname;
|
|
||||||
owner = "GiorgosXou";
|
owner = "GiorgosXou";
|
||||||
|
repo = "TUIFIManager";
|
||||||
rev = "v.${version}";
|
rev = "v.${version}";
|
||||||
hash = "sha256-KJYPpeBALyg6Gd1GQgJbvGdJbAT47qO9FnSH7GhO4oQ=";
|
hash = "sha256-ahZUm+FkAaM4I6FfSa/Oej+lMux8avw8LxzzGqTpuH8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -17,11 +20,16 @@ python3Packages.buildPythonApplication rec {
|
||||||
--replace "Send2Trash == 1.8.0" "Send2Trash >= 1.8.0"
|
--replace "Send2Trash == 1.8.0" "Send2Trash >= 1.8.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ unicurses send2trash ];
|
nativeBuildInputs = [
|
||||||
pythonImportsCheck = [ "TUIFIManager" ];
|
python3.pkgs.setuptools
|
||||||
|
python3.pkgs.setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
# Tests currently cause build to fail
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
doCheck = false;
|
send2trash
|
||||||
|
unicurses
|
||||||
|
];
|
||||||
|
pythonImportsCheck = [ "TUIFIManager" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cross-platform terminal-based termux-oriented file manager";
|
description = "A cross-platform terminal-based termux-oriented file manager";
|
||||||
|
@ -31,6 +39,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
attempt to get more attention to the Uni-Curses project.
|
attempt to get more attention to the Uni-Curses project.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/GiorgosXou/TUIFIManager";
|
homepage = "https://github.com/GiorgosXou/TUIFIManager";
|
||||||
|
changelog = "https://github.com/GiorgosXou/TUIFIManager/blob/${src.rev}/CHANGELOG.md";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ michaelBelsanti ];
|
maintainers = with maintainers; [ michaelBelsanti ];
|
||||||
mainProgram = "tuifi";
|
mainProgram = "tuifi";
|
||||||
|
|
Loading…
Reference in a new issue