Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "fasd";
9 version = "unstable-2016-08-11";
10
11 src = fetchFromGitHub {
12 owner = "clvv";
13 repo = "fasd";
14 rev = "90b531a5daaa545c74c7d98974b54cbdb92659fc";
15 sha256 = "0i22qmhq3indpvwbxz7c472rdyp8grag55x7iyjz8gmyn8gxjc11";
16 };
17
18 installPhase = ''
19 PREFIX=$out make install
20 '';
21
22 meta = with lib; {
23 homepage = "https://github.com/clvv/fasd";
24 description = "Quick command-line access to files and directories for POSIX shells";
25 license = licenses.mit;
26
27 longDescription = ''
28 Fasd is a command-line productivity booster.
29 Fasd offers quick access to files and directories for POSIX shells. It is
30 inspired by tools like autojump, z and v. Fasd keeps track of files and
31 directories you have accessed, so that you can quickly reference them in the
32 command line.
33 '';
34
35 platforms = platforms.all;
36 maintainers = [ ];
37 mainProgram = "fasd";
38 };
39}