3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/vcsh/default.nix
2014-12-28 09:00:38 -06:00

29 lines
727 B
Nix

{stdenv, fetchgit}:
stdenv.mkDerivation rec {
rev = "ef15aeeb0553efb698e3d4261e79eff77a136ee7";
version = "1.20141026";
name = "vcsh-${version}_${builtins.substring 0 7 rev}";
src = fetchgit {
inherit rev;
url = "https://github.com/RichiH/vcsh";
sha256 = "1dg6ina2wpy406s5x0x4r7khx6gc42hfak0gjwy0i53ivkckl1nd";
};
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;
};
}