2021-01-17 02:15:29 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config,
|
2017-02-18 13:25:49 +00:00
|
|
|
libtool, check, bison, git, gperf,
|
|
|
|
perl, texinfo, help2man, gettext, ncurses
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dgsh-unstable";
|
2017-02-18 13:25:49 +00:00
|
|
|
version = "2017-02-05";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dspinellis";
|
|
|
|
repo = "dgsh";
|
|
|
|
rev = "bc4fc2e8009c069ee4df5140c32a2fc15d0acdec";
|
|
|
|
sha256 = "0k3hmnarz56wphw45mabn5zcc427l5p77jldh1qqy89pxqy1wnql";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2017-11-28 08:39:02 +00:00
|
|
|
patches = [ ./glibc-2.26.patch ];
|
|
|
|
|
2021-01-17 02:15:29 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake pkg-config libtool check
|
2017-02-18 13:25:49 +00:00
|
|
|
bison git gettext gperf perl texinfo help2man ncurses
|
|
|
|
];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
cp -r ./unix-tools/coreutils/gnulib gnulib
|
|
|
|
perl -pi -e \
|
|
|
|
's#./bootstrap #./bootstrap --no-bootstrap-sync --skip-po --no-git --gnulib-srcdir='$PWD/gnulib' #g' \
|
|
|
|
unix-tools/Makefile
|
|
|
|
find . -name \*.diff | xargs rm -f
|
|
|
|
rm -rf unix-tools/*/gnulib
|
|
|
|
patchShebangs unix-tools/diffutils/man/help2man
|
|
|
|
export RSYNC=true # set to rsync binary, eventhough it is not used.
|
|
|
|
make PREFIX=$out config
|
|
|
|
'';
|
|
|
|
|
2017-11-28 08:39:02 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-02-18 13:25:49 +00:00
|
|
|
description = "The Directed Graph Shell";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.dmst.aueb.gr/dds/sw/dgsh";
|
2017-02-18 13:25:49 +00:00
|
|
|
license = with licenses; asl20;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
platforms = with platforms; all;
|
|
|
|
};
|
|
|
|
}
|