nixpkgs-suyu/pkgs/applications/version-management/vcsh/default.nix
Thomas Tuegel 4ef3c64d2e vsch: fetch release tarballs, not git revisions
We only update at releases anyway, so it doesn't really make sense to
use fetchgit. Plus, it makes monitor.nixos.org useless because we're
inevitably behind master.
2015-02-25 16:14:36 -06:00

26 lines
655 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
version = "1.20141026-1";
name = "vcsh-${version}";
src = fetchurl {
url = "https://github.com/RichiH/vcsh/archive/v${version}.tar.gz";
sha256 = "1wgrmkygsbmk8zj88kjx9aim2fc44hh2d1a83h4mn2j714pffh33";
};
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -p $out/bin
cp vcsh $out/bin
'';
meta = with stdenv.lib; {
description = "Version Control System for $HOME";
homepage = https://github.com/RichiH/vcsh;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ garbas ttuegel ];
platforms = platforms.unix;
};
}