lol
1{stdenv, fetchurl}:
2
3stdenv.mkDerivation rec {
4 version = "1.20141026-1";
5 name = "vcsh-${version}";
6
7 src = fetchurl {
8 url = "https://github.com/RichiH/vcsh/archive/v${version}.tar.gz";
9 sha256 = "1wgrmkygsbmk8zj88kjx9aim2fc44hh2d1a83h4mn2j714pffh33";
10 };
11
12 phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
13
14 installPhase = ''
15 mkdir -p $out/bin
16 cp vcsh $out/bin
17 '';
18
19 meta = with stdenv.lib; {
20 description = "Version Control System for $HOME";
21 homepage = https://github.com/RichiH/vcsh;
22 license = licenses.gpl2Plus;
23 maintainers = with maintainers; [ garbas ttuegel ];
24 platforms = platforms.unix;
25 };
26}