nixpkgs/pkgs/applications/version-management/vcsh/default.nix

27 lines
655 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
2016-09-24 15:50:08 +01:00
version = "1.20151229-1";
name = "vcsh-${version}";
src = fetchurl {
url = "https://github.com/RichiH/vcsh/archive/v${version}.tar.gz";
2016-09-24 15:50:08 +01:00
sha256 = "0wgg5zz11ql2v37vby5gbqvnbs80g1q83b9qbvm8d2pqx8bsb0kn";
};
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; {
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;
};
}