2014-02-06 01:53:55 +01:00
|
|
|
{stdenv, fetchgit}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-28 16:00:38 +01:00
|
|
|
rev = "ef15aeeb0553efb698e3d4261e79eff77a136ee7";
|
|
|
|
version = "1.20141026";
|
|
|
|
name = "vcsh-${version}_${builtins.substring 0 7 rev}";
|
2014-02-06 01:53:55 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/RichiH/vcsh";
|
2014-12-28 16:00:38 +01:00
|
|
|
sha256 = "1dg6ina2wpy406s5x0x4r7khx6gc42hfak0gjwy0i53ivkckl1nd";
|
2014-02-06 01:53:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp vcsh $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Version Control System for $HOME";
|
|
|
|
homepage = https://github.com/RichiH/vcsh;
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|