nixpkgs/pkgs/tools/misc/fasd/default.nix

34 lines
952 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub } :
2014-03-15 19:21:30 +00:00
stdenv.mkDerivation rec {
pname = "fasd";
name = "${pname}-unstable-2016-08-11";
2014-03-15 19:21:30 +00:00
src = fetchFromGitHub {
owner = "clvv";
2019-09-08 23:38:31 +00:00
repo = pname;
rev = "90b531a5daaa545c74c7d98974b54cbdb92659fc";
sha256 = "0i22qmhq3indpvwbxz7c472rdyp8grag55x7iyjz8gmyn8gxjc11";
2014-03-15 19:21:30 +00:00
};
installPhase = ''
PREFIX=$out make install
'';
meta = {
homepage = "https://github.com/clvv/${pname}";
description = "Quick command-line access to files and directories for POSIX shells";
license = stdenv.lib.licenses.mit;
2014-03-15 19:21:30 +00:00
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;
};
}