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

29 lines
727 B
Nix
Raw Normal View History

{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}";
src = fetchgit {
inherit rev;
url = "https://github.com/RichiH/vcsh";
2014-12-28 16:00:38 +01:00
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;
};
}