01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
38 lines
871 B
Nix
38 lines
871 B
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, makeWrapper
|
|
, pkg-config
|
|
, git
|
|
, perlPackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vcsh";
|
|
version = "2.0.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0bf3gacbyxw75ksd8y6528kgk7mqx6grz40gfiffxa2ghsz1xl01";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
makeWrapper
|
|
];
|
|
|
|
buildInputs = [ git ];
|
|
|
|
checkInputs = []
|
|
++ (with perlPackages; [ perl ShellCommand TestMost ]);
|
|
|
|
outputs = [ "out" "doc" "man" ];
|
|
|
|
meta = with lib; {
|
|
description = "Version Control System for $HOME";
|
|
homepage = "https://github.com/RichiH/vcsh";
|
|
changelog = "https://github.com/RichiH/vcsh/blob/v${version}/changelog";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ ttuegel alerque ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|