@@ -1,16 +1,14 @@
1−{ stdenv, fetchgit } :
1+{ stdenv, fetchFromGitHub } :
22
3−let
4− rev = "61ce53be996189e1c325916e45a7dc0aa89660e3";
5−in
6−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
4+ pname = "fasd";
5+ name = "${pname}-unstable-2016-08-11";
76
8− name = "fasd-git-2015-03-29";
9−
10− src = fetchgit {
11− url = "https://github.com/clvv/fasd.git";
12− inherit rev;
13− sha256 = "1fd36ff065ae73de2d6b1bae2131c18c8c4dea98ca63d96b0396e8b291072b5e";
7+ src = fetchFromGitHub {
8+ owner = "clvv";
9+ repo = "${pname}";
10+ rev = "90b531a5daaa545c74c7d98974b54cbdb92659fc";
11+ sha256 = "0i22qmhq3indpvwbxz7c472rdyp8grag55x7iyjz8gmyn8gxjc11";
1412 };
1513
1614 installPhase = ''
@@ -18,9 +16,9 @@ stdenv.mkDerivation {
1816 '';
1917
2018 meta = {
21− homepage = "https://github.com/clvv/fasd";
19+ homepage = "https://github.com/clvv/${pname}";
2220 description = "Quick command-line access to files and directories for POSIX shells";
23− license = stdenv.lib.licenses.free; # https://github.com/clvv/fasd/blob/master/LICENSE
21+ license = stdenv.lib.licenses.mit;
2422
2523 longDescription = ''
2624 Fasd is a command-line productivity booster.