tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
halibut: 1.2 -> 1.3
Sergei Trofimovich
4 years ago
3d3a40f1
e5983a98
+5
-19
1 changed file
expand all
collapse all
unified
split
pkgs
tools
typesetting
halibut
default.nix
+5
-19
pkgs/tools/typesetting/halibut/default.nix
···
1
-
{lib, stdenv, fetchurl, perl}:
2
3
stdenv.mkDerivation rec {
4
pname = "halibut";
5
-
version = "1.2";
6
7
src = fetchurl {
8
-
url = "http://ww.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${version}/halibut-${version}.tar.gz";
9
-
sha256 = "0gqnhfqf555rfpk5xj1imbdxnbkkrv4wl3rrdb1r0wgj81igpv8s";
10
};
11
12
-
buildInputs = [ perl ];
13
-
14
-
patchPhase = ''
15
-
sed -i -e s@/usr/local@$out@ Makefile
16
-
sed -i -e 's@(prefix)/man@(prefix)/share/man@' doc/Makefile
17
-
'';
18
-
19
-
installPhase = ''
20
-
mkdir -p $out/bin
21
-
mkdir -p $out/share/man/man1
22
-
pushd doc
23
-
make halibut.1
24
-
popd
25
-
make install
26
-
'';
27
28
meta = with lib; {
29
description = "Documentation production system for software manuals";
···
1
+
{lib, stdenv, fetchurl, cmake, perl}:
2
3
stdenv.mkDerivation rec {
4
pname = "halibut";
5
+
version = "1.3";
6
7
src = fetchurl {
8
+
url = "https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${version}/halibut-${version}.tar.gz";
9
+
sha256 = "0ciikn878vivs4ayvwvr63nnhpcg12m8023xv514zxqpdxlzg85a";
10
};
11
12
+
nativeBuildInputs = [ cmake perl ];
0
0
0
0
0
0
0
0
0
0
0
0
0
0
13
14
meta = with lib; {
15
description = "Documentation production system for software manuals";