add taskwarrior-hook package

This commit is contained in:
Ingolf Wagner 2019-12-29 14:55:15 +13:00
parent 0e06701720
commit 920e5bfb46
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 29 additions and 0 deletions

View file

@ -36,6 +36,8 @@ in {
python # needed for hooks python # needed for hooks
taskwarrior-hooks
# bugwarrior # bugwarrior
(let (let
mypython = let mypython = let

View file

@ -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 {};

View 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;
};
}