2015-02-25 22:14:36 +00:00
|
|
|
{stdenv, fetchurl}:
|
2014-02-06 00:53:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-25 22:14:36 +00:00
|
|
|
version = "1.20141026-1";
|
|
|
|
name = "vcsh-${version}";
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2015-02-25 22:14:36 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/RichiH/vcsh/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1wgrmkygsbmk8zj88kjx9aim2fc44hh2d1a83h4mn2j714pffh33";
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp vcsh $out/bin
|
|
|
|
'';
|
|
|
|
|
2014-12-28 15:00:49 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-02-06 00:53:55 +00:00
|
|
|
description = "Version Control System for $HOME";
|
|
|
|
homepage = https://github.com/RichiH/vcsh;
|
2014-12-28 15:00:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ garbas ttuegel ];
|
|
|
|
platforms = platforms.unix;
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
}
|