forked from mirrors/nixpkgs
Add todo.txt-cli, a cli todo list manager
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
8faebb5323
commit
32721cd3df
28
pkgs/applications/office/todo.txt-cli/default.nix
Normal file
28
pkgs/applications/office/todo.txt-cli/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl }:
|
||||
let
|
||||
version = "2.10";
|
||||
in stdenv.mkDerivation {
|
||||
name = "todo.txt-cli-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ginatrapani/todo.txt-cli/releases/download/v${version}/todo.txt_cli-${version}.tar.gz";
|
||||
sha256 = "1agn4zzbizrrylvbfi053b5mpb39bvl1gzziw08xibzfdyi1g55m";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -vd $out/bin
|
||||
install -vm 755 todo.sh $out/bin
|
||||
install -vd $out/etc/bash_completion.d
|
||||
install -vm 644 todo_completion $out/etc/bash_completion.d/todo
|
||||
install -vd $out/etc/todo
|
||||
install -vm 644 todo.cfg $out/etc/todo/config
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Simple plaintext todo list manager";
|
||||
homepage = "http://todotxt.com";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -8953,6 +8953,8 @@ let
|
|||
|
||||
tla = callPackage ../applications/version-management/arch { };
|
||||
|
||||
todo-txt-cli = callPackage ../applications/office/todo.txt-cli { };
|
||||
|
||||
torchat = callPackage ../applications/networking/instant-messengers/torchat {
|
||||
wrapPython = pythonPackages.wrapPython;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue