mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
31810da31c
Example: http://hydra.nixos.org/build/19218521/nixlog/1/raw CC @ellis.
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;
|
|
};
|
|
}
|