nixpkgs/pkgs/applications/version-management/vcsh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
877 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, makeWrapper
, pkg-config
, git
, perlPackages
}:
stdenv.mkDerivation rec {
pname = "vcsh";
2022-11-08 12:55:37 +00:00
version = "2.0.5";
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";
};
nativeBuildInputs = [
pkg-config
makeWrapper
];
buildInputs = [ git ];
nativeCheckInputs = []
++ (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";
2014-12-28 15:00:49 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ttuegel alerque ];
2014-12-28 15:00:49 +00:00
platforms = platforms.unix;
};
}