diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-07-05 16:02:35 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-09-20 11:46:21 +0200 |
commit | d4e36bd2d6517756553271e89ce23caea4a2c65c (patch) | |
tree | 0a0943432ff02bd9355d779eb01a58ce87c785db /pkgs | |
parent | ccce09a396fb6945eebb30ae820db45aee3487e4 (diff) |
vit: init at 1.2
Suggested-by: Robert Helgesson <robert@rycee.net>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/vit/default.nix | 36 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/misc/vit/default.nix b/pkgs/applications/misc/vit/default.nix new file mode 100644 index 0000000000000..d8dea641c3add --- /dev/null +++ b/pkgs/applications/misc/vit/default.nix @@ -0,0 +1,36 @@ +{ pkgs, fetchgit, stdenv, makeWrapper, taskwarrior, ncurses, +perl, perlPackages }: + +let + version = "1.2"; +in +stdenv.mkDerivation { + name = "vit-${version}"; + + src = fetchgit { + url = "https://git.tasktools.org/scm/ex/vit.git"; + rev = "7d0042ca30e9d09cfbf9743b3bc72096e4a8fe1e"; + sha256 = "92cad7169b3870145dff02256e547ae270996a314b841d3daed392ac6722827f"; + }; + + preConfigure = '' + substituteInPlace Makefile.in \ + --replace sudo "" + substituteInPlace configure \ + --replace /usr/bin/perl ${perl}/bin/perl + ''; + + postInstall = '' + wrapProgram $out/bin/vit --prefix PERL5LIB : $PERL5LIB + ''; + + buildInputs = [ taskwarrior ncurses perlPackages.Curses perl makeWrapper ]; + + meta = { + description = "Visual Interactive Taskwarrior"; + maintainers = with pkgs.lib.maintainers; [ matthiasbeyer ]; + platforms = pkgs.lib.platforms.linux; + license = pkgs.lib.licenses.gpl3; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6a1323ea8d069..4fd3a1b08a754 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3271,6 +3271,8 @@ let inherit (gnome3) gexiv2; }; + vit = callPackage ../applications/misc/vit { }; + vnc2flv = callPackage ../tools/video/vnc2flv {}; vncrec = builderDefsPackage (callPackage ../tools/video/vncrec) {}; |