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