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