3
0
Fork 0
forked from mirrors/nixpkgs
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
870 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, makeWrapper
, pkg-config
, git
, perlPackages
}:
stdenv.mkDerivation rec {
pname = "vcsh";
2021-10-28 09:05:01 +01:00
version = "2.0.4";
src = fetchurl {
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
2021-10-28 09:05:01 +01:00
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";
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;
};
}