nixpkgs/pkgs/tools/misc/fasd/default.nix
2015-02-02 19:01:40 +01:00

39 lines
1.1 KiB
Nix

{ stdenv, fetchgit, pandoc } :
let
rev = "287af2b80e0829b08dc6329b4fe8d8e5594d64b0";
in
stdenv.mkDerivation {
name = "fasd-1.0.1";
src = fetchgit {
url = "https://github.com/clvv/fasd.git";
inherit rev;
sha256 = "0kv9iyfdf916x0gab9fzs4vmsnkaqmb6kh4xna485nqij89xzkgs";
};
# seems to be needed non-deterministically (timestamps?)
nativeBuildInputs = [ pandoc ];
installPhase = ''
PREFIX=$out make install
'';
meta = {
homepage = "https://github.com/clvv/fasd";
description = "Quick command-line access to files and directories for POSIX shells";
license = stdenv.lib.licenses.free; # https://github.com/clvv/fasd/blob/master/LICENSE
longDescription = ''
Fasd is a command-line productivity booster.
Fasd offers quick access to files and directories for POSIX shells. It is
inspired by tools like autojump, z and v. Fasd keeps track of files and
directories you have accessed, so that you can quickly reference them in the
command line.
'';
platforms = stdenv.lib.platforms.all;
};
}