vcsh: update to latest Git head, enable test suite, install man page
This commit is contained in:
parent
8d71c758a1
commit
14283b6a95
@ -1,20 +1,19 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchFromGitHub, which, git, ronn, perl, ShellCommand, TestMost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.20151229-1";
|
version = "1.20170226"; # date of commit we're pulling
|
||||||
name = "vcsh-${version}";
|
name = "vcsh-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/RichiH/vcsh/archive/v${version}.tar.gz";
|
owner = "RichiH";
|
||||||
sha256 = "0wgg5zz11ql2v37vby5gbqvnbs80g1q83b9qbvm8d2pqx8bsb0kn";
|
repo = "vcsh";
|
||||||
|
rev = "36a7cedf196793a6d99f9d3ba2e69805cfff23ab";
|
||||||
|
sha256 = "16lb28m4k7n796cc1kifyc1ixry4bg69q9wqivjzygdsb77awgln";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
buildInputs = [ which git ronn perl ShellCommand TestMost ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = "make install PREFIX=$out";
|
||||||
mkdir -p $out/bin
|
|
||||||
cp vcsh $out/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Version Control System for $HOME";
|
description = "Version Control System for $HOME";
|
||||||
|
@ -4515,7 +4515,9 @@ with pkgs;
|
|||||||
|
|
||||||
vboot_reference = callPackage ../tools/system/vboot_reference { };
|
vboot_reference = callPackage ../tools/system/vboot_reference { };
|
||||||
|
|
||||||
vcsh = callPackage ../applications/version-management/vcsh { };
|
vcsh = callPackage ../applications/version-management/vcsh {
|
||||||
|
inherit (perlPackages) ShellCommand TestMost;
|
||||||
|
};
|
||||||
|
|
||||||
verilator = callPackage ../applications/science/electronics/verilator {};
|
verilator = callPackage ../applications/science/electronics/verilator {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user