5fb4f2f39b
Example: http://hydra.nixos.org/build/19218521/nixlog/1/raw
(cherry picked from commit 31810da31c
)
39 lines
1.1 KiB
Nix
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;
|
|
};
|
|
}
|