nixpkgs/pkgs/applications/version-management/vcsh/default.nix
2021-10-28 08:05:01 +00:00

39 lines
870 B
Nix

{ lib, stdenv
, fetchurl
, makeWrapper
, pkg-config
, git
, perlPackages
}:
stdenv.mkDerivation rec {
pname = "vcsh";
version = "2.0.4";
src = fetchurl {
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-W/Ql2J9HTDQPu0el34mHVzqe85KGWLPph2sHyuEzPPI=";
};
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;
};
}