2021-09-18 10:52:07 +00:00
|
|
|
{ lib, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, makeWrapper
|
|
|
|
, pkg-config
|
|
|
|
, git
|
|
|
|
, perlPackages
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "vcsh";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "2.0.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "0bf3gacbyxw75ksd8y6528kgk7mqx6grz40gfiffxa2ghsz1xl01";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
makeWrapper
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
buildInputs = [ git ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = []
|
2021-09-18 10:52:07 +00:00
|
|
|
++ (with perlPackages; [ perl ShellCommand TestMost ]);
|
|
|
|
|
|
|
|
outputs = [ "out" "doc" "man" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
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";
|
2021-09-18 10:52:07 +00:00
|
|
|
changelog = "https://github.com/RichiH/vcsh/blob/v${version}/changelog";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-09-18 10:52:07 +00:00
|
|
|
maintainers = with maintainers; [ ttuegel alerque ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "vcsh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|