Merge pull request #16187 from Profpatsch/bgnet

bgnet: init at 3.0.21
This commit is contained in:
zimbatm 2016-06-12 22:08:14 +01:00 committed by GitHub
commit 711456c632
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ stdenv, lib, fetchurl, python, zip, fop }:
stdenv.mkDerivation rec {
name = "bgnet-${version}";
version = "3.0.21";
src = fetchurl {
url = https://beej.us/guide/bgnet/bgnet.tgz;
sha256 = "00ggr5prc5i3w9gaaw2sadfq6haq7lmh0vdilaxx8xz9z5znxvyv";
};
buildInputs = [ python zip fop ];
preBuild = ''
sed -i "s/#disable=1/disable=1/" bin/bgvalidate
# build scripts need some love
patchShebangs .
'';
installPhase = ''
mkdir -p $out
mv * $out/
'';
meta = {
description = "Beejs Guide to Network Programming";
homepage = https://beej.us/guide/bgnet/;
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ profpatsch ];
};
}

View file

@ -11484,6 +11484,8 @@ in
bakoma_ttf = callPackage ../data/fonts/bakoma-ttf { };
bgnet = callPackage ../data/documentation/bgnet { };
cacert = callPackage ../data/misc/cacert { };
caladea = callPackage ../data/fonts/caladea {};