mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
ccffc7a5dd
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/todo.txt-cli/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.11.0 with grep in /nix/store/ws0k0b3kcl4j2aainnn8xg1vnx803s9c-todo.txt-cli-2.11.0 - directory tree listing: https://gist.github.com/37dad7ad49e196a469453b0b6a4ddb16
28 lines
793 B
Nix
28 lines
793 B
Nix
{ stdenv, fetchurl }:
|
|
let
|
|
version = "2.11.0";
|
|
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 = "0majx8lcvhh8ji54qi0sxr833wchdss95fjc92byd8g3lfz27rsz";
|
|
};
|
|
|
|
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;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|