Adding the halibut typesetting system.
svn path=/nixpkgs/trunk/; revision=14759
This commit is contained in:
parent
701e3ee6b9
commit
ef12e6757c
32
pkgs/tools/typesetting/halibut/default.nix
Normal file
32
pkgs/tools/typesetting/halibut/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{stdenv, fetchurl, perl}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "halibut-1.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.0.tar.gz;
|
||||||
|
sha256 = "0d039adb88cb8de6f350563514d013209c2d321d1e5c49ea56462c6803f29adb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ perl ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e s@/usr/local@$out@ Makefile
|
||||||
|
sed -i -e 's@(prefix)/man@(prefix)/share/man@' doc/Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
ensureDir $out/bin
|
||||||
|
ensureDir $out/share/man/man1
|
||||||
|
pushd doc
|
||||||
|
make halibut.1
|
||||||
|
popd
|
||||||
|
make install
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Documentation production system for software manuals";
|
||||||
|
homepage = http://www.chiark.greenend.org.uk/~sgtatham/halibut/;
|
||||||
|
license = "free";
|
||||||
|
};
|
||||||
|
}
|
@ -811,6 +811,10 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
halibut = import ../tools/typesetting/halibut {
|
||||||
|
inherit fetchurl stdenv perl;
|
||||||
|
};
|
||||||
|
|
||||||
hddtemp = import ../tools/misc/hddtemp {
|
hddtemp = import ../tools/misc/hddtemp {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user