2021-03-02 15:31:11 +00:00
|
|
|
{ lib, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, makeWrapper
|
|
|
|
, pkg-config
|
|
|
|
, git
|
|
|
|
, perlPackages
|
|
|
|
}:
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2021-03-02 15:31:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "vcsh";
|
2022-11-08 12:55:37 +00:00
|
|
|
version = "2.0.5";
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2021-03-02 15:31:11 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
|
2022-11-08 12:55:37 +00:00
|
|
|
sha256 = "0bf3gacbyxw75ksd8y6528kgk7mqx6grz40gfiffxa2ghsz1xl01";
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
|
2021-03-02 15:31:11 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
makeWrapper
|
|
|
|
];
|
2014-02-06 00:53:55 +00:00
|
|
|
|
2021-03-02 15:31:11 +00:00
|
|
|
buildInputs = [ git ];
|
|
|
|
|
|
|
|
checkInputs = []
|
|
|
|
++ (with perlPackages; [ perl ShellCommand TestMost ]);
|
|
|
|
|
|
|
|
outputs = [ "out" "doc" "man" ];
|
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";
|
2021-03-02 15:31:11 +00:00
|
|
|
changelog = "https://github.com/RichiH/vcsh/blob/v${version}/changelog";
|
2014-12-28 15:00:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-03-02 15:31:11 +00:00
|
|
|
maintainers = with maintainers; [ ttuegel alerque ];
|
2014-12-28 15:00:49 +00:00
|
|
|
platforms = platforms.unix;
|
2014-02-06 00:53:55 +00:00
|
|
|
};
|
|
|
|
}
|