vcsh: update to latest version and add missing Perl test suite dependencies to fix the build
This commit is contained in:
parent
9df0c12cde
commit
d503d493ab
@ -1,29 +1,22 @@
|
|||||||
{ stdenv, fetchpatch, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }:
|
{ stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand
|
||||||
|
, TestMost, TestDifferences, TestDeep, TestException, TestWarn
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.20170226"; # date of commit we're pulling
|
version = "1.20170915"; # date of commit we're pulling
|
||||||
name = "vcsh-${version}";
|
name = "vcsh-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RichiH";
|
owner = "RichiH";
|
||||||
repo = "vcsh";
|
repo = "vcsh";
|
||||||
rev = "36a7cedf196793a6d99f9d3ba2e69805cfff23ab";
|
rev = "eadb8df6aa71a76e5be36492edcadb118bd862ac";
|
||||||
sha256 = "16lb28m4k7n796cc1kifyc1ixry4bg69q9wqivjzygdsb77awgln";
|
sha256 = "1wfzp8167lcq6akdpbi8fikjv0z3h1i5minh3423dljc04q0klm1";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
buildInputs = [
|
||||||
[
|
which git ronn perl ShellCommand TestMost TestDifferences TestDeep
|
||||||
(fetchpatch {
|
TestException TestWarn
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/RichiH/vcsh/pull/222.patch";
|
];
|
||||||
sha256 = "0grdbiwq04x5qj0a1yd9a78g5v28dxhwl6mwxvgvvmzs6k5wnl3k";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://patch-diff.githubusercontent.com/raw/RichiH/vcsh/pull/228.patch";
|
|
||||||
sha256 = "0sdn4mzrhaynw85knia2iw5b6rgy0l1rd6dwh0lwspnh668wqgam";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ which git ronn perl ShellCommand TestMost ];
|
|
||||||
|
|
||||||
installPhase = "make install PREFIX=$out";
|
installPhase = "make install PREFIX=$out";
|
||||||
|
|
||||||
|
@ -5311,7 +5311,8 @@ with pkgs;
|
|||||||
vcftools = callPackage ../applications/science/biology/vcftools { };
|
vcftools = callPackage ../applications/science/biology/vcftools { };
|
||||||
|
|
||||||
vcsh = callPackage ../applications/version-management/vcsh {
|
vcsh = callPackage ../applications/version-management/vcsh {
|
||||||
inherit (perlPackages) ShellCommand TestMost;
|
inherit (perlPackages) ShellCommand TestMost TestDifferences TestDeep
|
||||||
|
TestException TestWarn;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcstool = callPackage ../development/tools/vcstool { };
|
vcstool = callPackage ../development/tools/vcstool { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user