2018-12-15 03:50:31 +00:00
|
|
|
{ stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
|
2014-02-06 00:53:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-13 08:58:25 +01:00
|
|
|
version = "1.20170915"; # date of commit we're pulling
|
2015-02-25 22:14:36 +00:00
|
|
|
name = "vcsh-${version}";
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2017-06-13 16:19:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RichiH";
|
|
|
|
repo = "vcsh";
|
2018-04-13 08:58:25 +01:00
|
|
|
rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
|
|
|
|
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
|
2018-12-15 03:50:31 +00:00
|
|
|
buildInputs = [ which git ronn ]
|
|
|
|
++ (with perlPackages; [ perl ShellCommand TestMost TestDifferences TestDeep TestException TestWarn ]);
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2017-06-13 16:19:14 +01:00
|
|
|
installPhase = "make install PREFIX=$out";
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2014-12-28 15:00:49 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-02-06 00:53:55 +00:00
|
|
|
description = "Version Control System for $HOME";
|
|
|
|
homepage = https://github.com/RichiH/vcsh;
|
2014-12-28 15:00:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
2014-12-28 15:00:49 +00:00
|
|
|
platforms = platforms.unix;
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
}
|