add taskwarrior-hook package
This commit is contained in:
parent
0e06701720
commit
920e5bfb46
3 changed files with 29 additions and 0 deletions
|
@ -36,6 +36,8 @@ in {
|
||||||
|
|
||||||
python # needed for hooks
|
python # needed for hooks
|
||||||
|
|
||||||
|
taskwarrior-hooks
|
||||||
|
|
||||||
# bugwarrior
|
# bugwarrior
|
||||||
(let
|
(let
|
||||||
mypython = let
|
mypython = let
|
||||||
|
|
|
@ -41,6 +41,8 @@ in {
|
||||||
|
|
||||||
otpmenu = callPackage ./otpmenu { };
|
otpmenu = callPackage ./otpmenu { };
|
||||||
|
|
||||||
|
taskwarrior-hooks = callPackage ./taskwarrior-hooks { };
|
||||||
|
|
||||||
# use upstream only for package tests
|
# use upstream only for package tests
|
||||||
# memo = callPackage ./memo {};
|
# memo = callPackage ./memo {};
|
||||||
|
|
||||||
|
|
25
pkgs/taskwarrior-hooks/default.nix
Normal file
25
pkgs/taskwarrior-hooks/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ rustPlatform, fetchFromGitHub, stdenv, ... }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
name = "taskwarrior-hooks-${version}";
|
||||||
|
version = "0.1.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mrVanDalo";
|
||||||
|
repo = "taskwarrior-hooks";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "1vlfnp2ib009zb8j6m0l47qnh9ipsikcm00cjjcbnsgknihwcn6r";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1wx974dy7wac541nb3ci8jl5zr96q0qx0b2w1kv0802dmkkk4rsp";
|
||||||
|
verifyCargoDeps = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description =
|
||||||
|
"A fast line-oriented regex search tool, similar to ag and ack";
|
||||||
|
homepage = "https://github.com/mrvandalo/taskwarrior-hooks";
|
||||||
|
license = licenses.gplv3;
|
||||||
|
maintainers = [ maintainers.mrVanDalo ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue