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