todofi.sh: init at 1.0.0 (#119334)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Artur Taranchiev 2021-04-15 01:34:50 +03:00 committed by GitHub
parent 4825e07357
commit b2681434a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, coreutils
, gawk
, gnugrep
, gnused
, rofi
, todo-txt-cli
}:
stdenv.mkDerivation rec {
pname = "todofi.sh";
version = "1.0.0";
src = fetchFromGitHub {
owner = "hugokernel";
repo = "todofi.sh";
rev = "v${version}";
sha256 = "1gmy5inlghycsxiwnyyjyv81jn2fmfk3s9x78kcgyf7khzb5kwvj";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -Dm 755 todofi.sh -t $out/bin
'';
postFixup = ''
patchShebangs $out/bin
wrapProgram $out/bin/todofi.sh --prefix PATH : "${lib.makeBinPath [ coreutils gawk gnugrep gnused rofi todo-txt-cli ]}"
'';
meta = with lib; {
description = "Todo-txt + Rofi = Todofi.sh";
homepage = "https://github.com/hugokernel/todofi.sh";
license = licenses.mit;
maintainers = with maintainers; [ ewok ];
platforms = platforms.linux;
};
}

View file

@ -26148,6 +26148,8 @@ in
todo-txt-cli = callPackage ../applications/office/todo.txt-cli { };
todofi-sh = callPackage ../applications/office/todofi.sh { };
todoman = callPackage ../applications/office/todoman { };
toggldesktop = libsForQt514.callPackage ../applications/misc/toggldesktop { };