2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2018-04-13 07:58:25 +00:00
|
|
|
version = "1.20170915"; # date of commit we're pulling
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "vcsh";
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2017-06-13 15:19:14 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RichiH";
|
|
|
|
repo = "vcsh";
|
2018-04-13 07:58:25 +00: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 15:19:14 +00:00
|
|
|
installPhase = "make install PREFIX=$out";
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-02-06 00:53:55 +00:00
|
|
|
description = "Version Control System for $HOME";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/RichiH/vcsh";
|
2014-12-28 15:00:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-07-03 09:27:39 +00:00
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
2014-12-28 15:00:49 +00:00
|
|
|
platforms = platforms.unix;
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
}
|