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
1
-
{lib, stdenv, fetchurl, perl}:
1
1
+
{lib, stdenv, fetchurl, cmake, perl}:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "halibut";
5
5
-
version = "1.2";
5
5
+
version = "1.3";
6
6
7
7
src = fetchurl {
8
8
-
url = "http://ww.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${version}/halibut-${version}.tar.gz";
9
9
-
sha256 = "0gqnhfqf555rfpk5xj1imbdxnbkkrv4wl3rrdb1r0wgj81igpv8s";
8
8
+
url = "https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-${version}/halibut-${version}.tar.gz";
9
9
+
sha256 = "0ciikn878vivs4ayvwvr63nnhpcg12m8023xv514zxqpdxlzg85a";
10
10
};
11
11
12
12
-
buildInputs = [ perl ];
13
13
-
14
14
-
patchPhase = ''
15
15
-
sed -i -e s@/usr/local@$out@ Makefile
16
16
-
sed -i -e 's@(prefix)/man@(prefix)/share/man@' doc/Makefile
17
17
-
'';
18
18
-
19
19
-
installPhase = ''
20
20
-
mkdir -p $out/bin
21
21
-
mkdir -p $out/share/man/man1
22
22
-
pushd doc
23
23
-
make halibut.1
24
24
-
popd
25
25
-
make install
26
26
-
'';
12
12
+
nativeBuildInputs = [ cmake perl ];
27
13
28
14
meta = with lib; {
29
15
description = "Documentation production system for software manuals";