halibut: 1.2 -> 1.3
This commit is contained in:
parent
e5983a9833
commit
3d3a40f16b
@ -1,29 +1,15 @@
|
||||
{lib, stdenv, fetchurl, perl}:
|
||||
{lib, stdenv, fetchurl, cmake, perl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "halibut";
|
||||
version = "1.2";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ww.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${version}/halibut-${version}.tar.gz";
|
||||
sha256 = "0gqnhfqf555rfpk5xj1imbdxnbkkrv4wl3rrdb1r0wgj81igpv8s";
|
||||
url = "https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${version}/halibut-${version}.tar.gz";
|
||||
sha256 = "0ciikn878vivs4ayvwvr63nnhpcg12m8023xv514zxqpdxlzg85a";
|
||||
};
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e s@/usr/local@$out@ Makefile
|
||||
sed -i -e 's@(prefix)/man@(prefix)/share/man@' doc/Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/man/man1
|
||||
pushd doc
|
||||
make halibut.1
|
||||
popd
|
||||
make install
|
||||
'';
|
||||
nativeBuildInputs = [ cmake perl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Documentation production system for software manuals";
|
||||
|
Loading…
Reference in New Issue
Block a user