fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, fetchurl, tex}:
2
3stdenv.mkDerivation rec{
4
5 name = "nuweb-${version}";
6 version = "1.58";
7
8 src = fetchurl {
9 url = "mirror://sourceforge/project/nuweb/${name}.tar.gz";
10 sha256 = "0q51i3miy15fv4njjp82yws01qfjxvqx5ly3g3vh8z3h7iq9p47y";
11 };
12
13 buildInputs = [ tex ];
14
15 patchPhase = ''
16 sed -ie 's|nuweb -r|./nuweb -r|' Makefile
17 '';
18 buildPhase = ''
19 make nuweb
20 make nuweb.pdf nuwebdoc.pdf all
21 '';
22 installPhase = ''
23 install -d $out/bin $out/share/man/man1 $out/share/doc/${name} $out/share/emacs/site-lisp
24 cp nuweb $out/bin
25 cp nuweb.el $out/share/emacs/site-lisp
26 gzip -c nuweb.1 > $out/share/man/man1/nuweb.1.gz
27 cp htdocs/index.html nuweb.w nuweb.pdf nuwebdoc.pdf README $out/share/doc/${name}
28 '';
29
30 meta = with stdenv.lib; {
31 description = "A simple literate programming tool";
32 homepage = http://nuweb.sourceforge.net;
33 license = licenses.free;
34 maintainers = [ maintainers.AndersonTorres ];
35 platforms = platforms.linux;
36 };
37}
38# TODO: nuweb.el Emacs integration