diff --git a/pkgs/development/tools/literate-programming/funnelweb/default.nix b/pkgs/development/tools/literate-programming/funnelweb/default.nix new file mode 100644 index 000000000000..66b44d1fc835 --- /dev/null +++ b/pkgs/development/tools/literate-programming/funnelweb/default.nix @@ -0,0 +1,31 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation rec { + + name = "funnelweb-${meta.version}"; + src = fetchurl { + url = http://www.ross.net/funnelweb/download/funnelweb_v320/funnelweb_v320_source.tar.gz; + sha256 = "0zqhys0j9gabrd12mnk8ibblpc8dal4kbl8vnhxmdlplsdpwn4wg"; + }; + + buildPhase = '' + cd source + ${stdenv.cc}/bin/cc -D__linux__ -o fw *.c + ''; + + installPhase = '' + install -d $out/bin + install fw $out/bin/fw + ''; + + meta = with stdenv.lib; { + version = "3.20"; + description = "A simple, reliable literate-programming macro preprocessor"; + homepage = http://www.ross.net/funnelweb/; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = [ maintainers.AndersonTorres ]; + }; +} +#TODO: implement it for other platforms +#TODO: Documentation files diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 341acaf3a360..5b7ba480ed94 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5660,6 +5660,9 @@ let noweb = callPackage ../development/tools/literate-programming/noweb { }; nuweb = callPackage ../development/tools/literate-programming/nuweb { tex = texlive.combined.scheme-small; }; + funnelweb = callPackage ../development/tools/literate-programming/funnelweb { }; + + omake = callPackage ../development/tools/ocaml/omake { }; omake_rc1 = callPackage ../development/tools/ocaml/omake/0.9.8.6-rc1.nix { };