1 { lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config,
2 libtool, check, bison, git, gperf,
3 perl, texinfo, help2man, gettext, ncurses
7 pname = "dgsh-unstable";
8 version = "2017-02-05";
10 src = fetchFromGitHub {
13 rev = "bc4fc2e8009c069ee4df5140c32a2fc15d0acdec";
14 sha256 = "0k3hmnarz56wphw45mabn5zcc427l5p77jldh1qqy89pxqy1wnql";
15 fetchSubmodules = true;
18 patches = [ ./glibc-2.26.patch ];
20 nativeBuildInputs = [ autoconf automake pkg-config libtool check
21 bison git gettext gperf perl texinfo help2man ncurses
25 cp -r ./unix-tools/coreutils/gnulib gnulib
27 's#./bootstrap #./bootstrap --no-bootstrap-sync --skip-po --no-git --gnulib-srcdir='$PWD/gnulib' #g' \
29 find . -name \*.diff | xargs rm -f
30 rm -rf unix-tools/*/gnulib
31 patchShebangs unix-tools/diffutils/man/help2man
32 export RSYNC=true # set to rsync binary, eventhough it is not used.
33 make PREFIX=$out config
36 enableParallelBuilding = true;
39 description = "The Directed Graph Shell";
40 homepage = "http://www.dmst.aueb.gr/dds/sw/dgsh";
41 license = with licenses; asl20;
42 maintainers = with maintainers; [ vrthra ];
43 platforms = with platforms; all;