about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/fasd/default.nix
blob: 76c7731e27f2cb6db907745bb153ada1c94931e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, stdenv, fetchFromGitHub } :

stdenv.mkDerivation rec {
  pname = "fasd";
  version = "unstable-2016-08-11";

  src = fetchFromGitHub {
    owner = "clvv";
    repo = pname;
    rev = "90b531a5daaa545c74c7d98974b54cbdb92659fc";
    sha256 = "0i22qmhq3indpvwbxz7c472rdyp8grag55x7iyjz8gmyn8gxjc11";
  };

  installPhase = ''
    PREFIX=$out make install
  '';

  meta = with lib; {
    homepage = "https://github.com/clvv/fasd";
    description = "Quick command-line access to files and directories for POSIX shells";
    license = licenses.mit;

    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 = platforms.all;
    maintainers = with maintainers; [ ];
    mainProgram = "fasd";
  };
}