GNU DejaGNU 1.5.
svn path=/nixpkgs/trunk/; revision=26285
This commit is contained in:
parent
33fb7aef16
commit
7b395420a0
@ -1,35 +1,35 @@
|
|||||||
{ fetchurl, stdenv, expect, makeWrapper }:
|
{ fetchurl, stdenv, expect, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dejagnu-1.4.4";
|
name = "dejagnu-1.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/dejagnu/${name}.tar.gz";
|
url = "mirror://gnu/dejagnu/${name}.tar.gz";
|
||||||
sha256 = "13841q6pfwd9d1sdw48yxdyb4xhiccii0mb0ilql627v43pyvyyh";
|
sha256 = "1nx3x3h96a82q92q108q71giv2nz9xmbbn2nrlr3wvvs6l45id68";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./wrapped-runtest-program-name.patch ];
|
patches = [ ./wrapped-runtest-program-name.patch ];
|
||||||
|
|
||||||
buildInputs = [ expect makeWrapper ];
|
buildInputs = [ expect makeWrapper ];
|
||||||
|
|
||||||
# FIXME: Enable when the "spawn id" problem is fixed.
|
doCheck = true;
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
# Note: The test-suite *requires* /dev/pts among the
|
# Note: The test-suite *requires* /dev/pts among the `build-chroot-dirs' of
|
||||||
# `build-chroot-dirs' of the build daemon when building in a chroot.
|
# the build daemon when building in a chroot. See
|
||||||
|
# <http://thread.gmane.org/gmane.linux.distributions.nixos/1036> for
|
||||||
|
# details.
|
||||||
|
|
||||||
# FIXME: The test-suite currently fails with this problem:
|
# The test-suite needs to have a non-empty stdin:
|
||||||
# http://lists.gnu.org/archive/html/bug-dejagnu/2003-06/msg00002.html
|
# http://lists.gnu.org/archive/html/bug-dejagnu/2003-06/msg00002.html
|
||||||
# http://thread.gmane.org/gmane.linux.distributions.nixos/1036
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# Provide `runtest' with a log name, otherwise it tries to run
|
# Provide `runtest' with a log name, otherwise it tries to run
|
||||||
# `whoami', which fails when in a chroot.
|
# `whoami', which fails when in a chroot.
|
||||||
LOGNAME="nix-build-daemon" make check
|
LOGNAME="nix-build-daemon" make check < /dev/zero
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram "$out/bin/runtest" \
|
wrapProgram "$out/bin/runtest" \
|
||||||
--prefix PATH ":" "${expect}/bin"
|
--prefix PATH ":" "${expect}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -48,5 +48,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
homepage = http://www.gnu.org/software/dejagnu/;
|
homepage = http://www.gnu.org/software/dejagnu/;
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user