git.iko.soy/typeable/nixpkgs
on master help sign in
dgsh-unstable: Init at 2017-02-05 (#22657)

Dgsh is the directed graph shell

commit7901a7a65f10c820fbc7b3887e564cc2cd99b975 authorRahul Gopinath <vrthra@users.noreply.github.com> dateSat 18 Feb 2017, 08:25 (10 years ago) parent979d207
2 files changed+43
pkgs/shells/dgsh/default.nix+41 pkgs/top-level/all-packages.nix+2
pkgs/shells/dgsh/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig,
2+ libtool, check, bison, git, gperf,
3+ perl, texinfo, help2man, gettext, ncurses
4+}:
5+
6+stdenv.mkDerivation rec {
7+ name = "dgsh-unstable-${version}";
8+ version = "2017-02-05";
9+
10+ src = fetchFromGitHub {
11+ owner = "dspinellis";
12+ repo = "dgsh";
13+ rev = "bc4fc2e8009c069ee4df5140c32a2fc15d0acdec";
14+ sha256 = "0k3hmnarz56wphw45mabn5zcc427l5p77jldh1qqy89pxqy1wnql";
15+ fetchSubmodules = true;
16+ };
17+
18+ nativeBuildInputs = [ autoconf automake pkgconfig libtool check
19+ bison git gettext gperf perl texinfo help2man ncurses
20+ ];
21+
22+ configurePhase = ''
23+ cp -r ./unix-tools/coreutils/gnulib gnulib
24+ perl -pi -e \
25+ 's#./bootstrap #./bootstrap --no-bootstrap-sync --skip-po --no-git --gnulib-srcdir='$PWD/gnulib' #g' \
26+ unix-tools/Makefile
27+ find . -name \*.diff | xargs rm -f
28+ rm -rf unix-tools/*/gnulib
29+ patchShebangs unix-tools/diffutils/man/help2man
30+ export RSYNC=true # set to rsync binary, eventhough it is not used.
31+ make PREFIX=$out config
32+ '';
33+
34+ meta = with stdenv.lib; {
35+ description = "The Directed Graph Shell";
36+ homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;
37+ license = with licenses; asl20;
38+ maintainers = with maintainers; [ vrthra ];
39+ platforms = with platforms; all;
40+ };
41+}
pkgs/top-level/all-packages.nix+2
@@ -494,6 +494,8 @@ with pkgs;
494494
495495 djmount = callPackage ../tools/filesystems/djmount { };
496496
497+ dgsh = callPackage ../shells/dgsh { };
498+
497499 elvish = callPackage ../shells/elvish { };
498500
499501 encryptr = callPackage ../tools/security/encryptr {