about summary refs log tree commit diff
path: root/pkgs/development/tools/literate-programming/funnelweb
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@gmail.com>2015-10-17 17:02:37 -0300
committerAndersonTorres <torres.anderson.85@gmail.com>2015-10-25 03:40:50 -0200
commit55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8 (patch)
tree159b5f7286e0190f2f882c3630af9db2192437e3 /pkgs/development/tools/literate-programming/funnelweb
parentd639a9b82317acdae43082fe52598c0ef5619ede (diff)
downloadnixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.tar
nixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.tar.gz
nixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.tar.bz2
nixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.tar.lz
nixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.tar.xz
nixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.tar.zst
nixlib-55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8.zip
Funnelweb: init at 3.20
Diffstat (limited to 'pkgs/development/tools/literate-programming/funnelweb')
-rw-r--r--pkgs/development/tools/literate-programming/funnelweb/default.nix31
1 files changed, 31 insertions, 0 deletions
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