2018-12-15 04:50:31 +01:00
|
|
|
{ stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
|
2014-02-06 01:53:55 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-13 09:58:25 +02:00
|
|
|
version = "1.20170915"; # date of commit we're pulling
|
2015-02-25 23:14:36 +01:00
|
|
|
name = "vcsh-${version}";
|
2014-02-06 01:53:55 +01:00
|
|
|
|
2017-06-13 17:19:14 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RichiH";
|
|
|
|
repo = "vcsh";
|
2018-04-13 09:58:25 +02:00
|
|
|
rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
|
|
|
|
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
2014-02-06 01:53:55 +01:00
|
|
|
};
|
|
|
|
|
2018-12-15 04:50:31 +01:00
|
|
|
buildInputs = [ which git ronn ]
|
|
|
|
++ (with perlPackages; [ perl ShellCommand TestMost TestDifferences TestDeep TestException TestWarn ]);
|
2014-02-06 01:53:55 +01:00
|
|
|
|
2017-06-13 17:19:14 +02:00
|
|
|
installPhase = "make install PREFIX=$out";
|
2014-02-06 01:53:55 +01:00
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|