mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
vcsh: 1.20170915 → 2.0.2
Co-authored-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
parent
8c7c2c31b2
commit
074ef76e99
@ -1,26 +1,38 @@
|
||||
{ lib, stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, git
|
||||
, perlPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "1.20170915"; # date of commit we're pulling
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vcsh";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RichiH";
|
||||
repo = "vcsh";
|
||||
rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
|
||||
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0qdd4f6rm5rhnym9f114pcj9vafhjjpg962c4g420rn78fxhpz1z";
|
||||
};
|
||||
|
||||
buildInputs = [ which git ronn ]
|
||||
++ (with perlPackages; [ perl ShellCommand TestMost TestDifferences TestDeep TestException TestWarn ]);
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
installPhase = "make install PREFIX=$out";
|
||||
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 ];
|
||||
maintainers = with maintainers; [ ttuegel alerque ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user