summary refs log tree commit diff
path: root/pkgs/applications/version-management/vcsh/default.nix
blob: 0f0eec7ef9cd0bc6e9e679c43dadce6d726b642f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand
, TestMost, TestDifferences, TestDeep, TestException, TestWarn
}:

stdenv.mkDerivation rec {
  version = "1.20170915";       # date of commit we're pulling
  name = "vcsh-${version}";

  src = fetchFromGitHub {
    owner = "RichiH";
    repo = "vcsh";
    rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
    sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
  };

  buildInputs = [
    which git ronn perl ShellCommand TestMost TestDifferences TestDeep
    TestException TestWarn
  ];

  installPhase = "make install PREFIX=$out";

  meta = with stdenv.lib; {
    description = "Version Control System for $HOME";
    homepage = https://github.com/RichiH/vcsh;
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ garbas ttuegel ];
    platforms = platforms.unix;
  };
}