mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
derivation for taskopen 2.0.0alpha
This commit is contained in:
parent
0d6c523782
commit
cbad58f047
@ -32,12 +32,13 @@ in {
|
||||
# for neovim
|
||||
nodejs
|
||||
ripgrep
|
||||
# taskwarrior
|
||||
taskopen
|
||||
|
||||
] ++ [
|
||||
pkgs-unstable.taskwarrior
|
||||
# for taskwarrior
|
||||
pkgs-unstable.taskwarrior-tui
|
||||
pkgs-unstable.taskopen
|
||||
pkgs-unstable.timewarrior
|
||||
];
|
||||
};
|
||||
|
@ -4,4 +4,5 @@
|
||||
final: prev: {
|
||||
sway-scratchpad = final.callPackage ../pkgs/sway-scratchpad.nix {};
|
||||
advcpmv = final.callPackage ../pkgs/advcpmv.nix {};
|
||||
taskopen = final.callPackage ../pkgs/taskopen.nix {};
|
||||
}
|
||||
|
31
provision/pkgs/taskopen.nix
Normal file
31
provision/pkgs/taskopen.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, stdenv, fetchFromGitHub, nim }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "taskopen";
|
||||
version = "2.0.0alpha";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jschlatow";
|
||||
repo = "taskopen";
|
||||
rev = "12b04b871a4e50d07cabf8574a7347abf54ff43f";
|
||||
hash = "sha256-7OxfZ+KfcbrDYFAxi2D/GmHHqoCEmi+t9CeC0DkVhVY=";
|
||||
};
|
||||
|
||||
buildInputs = [ nim ];
|
||||
|
||||
buildPhase = ''
|
||||
export HOME=$(pwd)/home; mkdir -p $HOME
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make PREFIX=$out
|
||||
make PREFIX=$out install
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrapper for interaction with taskwarrior annotations.";
|
||||
homepage = "https://github.com/jschlatow/taskopen";
|
||||
license = [ licenses.gpl2 ];
|
||||
maintainers = [ maintainers.starr-dusT ];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user