summary refs log tree commit diff
path: root/pkgs/development/tools/literate-programming
diff options
context:
space:
mode:
authorgoibhniu <cillian.deroiste@gmail.com>2015-10-25 15:51:15 +0100
committergoibhniu <cillian.deroiste@gmail.com>2015-10-25 15:51:15 +0100
commit20d530bc7daadc4e031ac2394b4a55d851723238 (patch)
tree9a14c07f56a2ea00c621bfe85ec0ddcbf5aed284 /pkgs/development/tools/literate-programming
parent891e13a3ad70aae23b65c90c0d666579c7b2273a (diff)
parent55bdc98c3d28bc1e9a5d36d40faf7fbf042652a8 (diff)
downloadnixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.tar
nixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.tar.gz
nixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.tar.bz2
nixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.tar.lz
nixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.tar.xz
nixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.tar.zst
nixpkgs-20d530bc7daadc4e031ac2394b4a55d851723238.zip
Merge pull request #10440 from AndersonTorres/funnelweb
Funnelweb: init at 3.20
Diffstat (limited to 'pkgs/development/tools/literate-programming')
-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 00000000000..66b44d1fc83
--- /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