2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
version = "1.20170915"; # date of commit we're pulling
|
|
|
|
pname = "vcsh";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RichiH";
|
|
|
|
repo = "vcsh";
|
|
|
|
rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
|
|
|
|
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ which git ronn ]
|
|
|
|
++ (with perlPackages; [ perl ShellCommand TestMost TestDifferences TestDeep TestException TestWarn ]);
|
|
|
|
|
|
|
|
installPhase = "make install PREFIX=$out";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Version Control System for $HOME";
|
|
|
|
homepage = "https://github.com/RichiH/vcsh";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|