uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/applications/office/todo.txt-cli/default.nix
Normal file
29
pkgs/applications/office/todo.txt-cli/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
let
|
||||
version = "2.12.0";
|
||||
in stdenv.mkDerivation {
|
||||
pname = "todo.txt-cli";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ginatrapani/todo.txt-cli/releases/download/v${version}/todo.txt_cli-${version}.tar.gz";
|
||||
sha256 = "0gni8nj3wwdf7nl98d1bpx064bz5xari65hb998qqr92h0n9pnp6";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -vd $out/bin
|
||||
install -vm 755 todo.sh $out/bin
|
||||
install -vd $out/share/bash-completion/completions
|
||||
install -vm 644 todo_completion $out/share/bash-completion/completions/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 = lib.licenses.gpl3;
|
||||
mainProgram = "todo.sh";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue