summary refs log tree commit diff
path: root/pkgs/data/documentation
diff options
context:
space:
mode:
authorJames ‘Twey’ Kay <twey@twey.co.uk>2014-11-15 02:22:29 +0000
committerAristid Breitkreuz <aristidb@gmail.com>2014-11-17 22:13:44 +0100
commitbb999776f3242108d86e18e8d8791814484d115e (patch)
treed8b7ea8ec8398079a1e212620b7f74dce16e59f0 /pkgs/data/documentation
parent2d3ec7d6f8c66c92c3f3e06c2c8e6fe8492f284a (diff)
downloadnixlib-bb999776f3242108d86e18e8d8791814484d115e.tar
nixlib-bb999776f3242108d86e18e8d8791814484d115e.tar.gz
nixlib-bb999776f3242108d86e18e8d8791814484d115e.tar.bz2
nixlib-bb999776f3242108d86e18e8d8791814484d115e.tar.lz
nixlib-bb999776f3242108d86e18e8d8791814484d115e.tar.xz
nixlib-bb999776f3242108d86e18e8d8791814484d115e.tar.zst
nixlib-bb999776f3242108d86e18e8d8791814484d115e.zip
New package: stdman
Diffstat (limited to 'pkgs/data/documentation')
-rw-r--r--pkgs/data/documentation/stdman/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/data/documentation/stdman/default.nix b/pkgs/data/documentation/stdman/default.nix
new file mode 100644
index 000000000000..51ac354c2a92
--- /dev/null
+++ b/pkgs/data/documentation/stdman/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, curl, fetchgit }:
+
+stdenv.mkDerivation rec {
+  name = "stdman-${version}";
+  version = "d860212";
+
+  src = fetchgit {
+    url = "git://github.com/jeaye/stdman";
+    sha256 = "0fr4bw6rsddf95chdlwami9q1fwwfbk4di35zzi25zg72ibi12qz";
+    rev = "d860212767ca60472e33aa3bad22a3eac834b1f8";
+  };
+
+  preConfigure = "
+    substituteInPlace configure --replace /bin/bash /bin/sh;
+    substituteInPlace do_install --replace /bin/bash /bin/sh;
+  ";
+
+  buildInputs = [ curl ];
+  
+  meta = with stdenv.lib; {
+    description = "Formatted C++11/14 stdlib man pages (cppreference)";
+    longDescription = "stdman is a tool that parses archived HTML
+      files from cppreference and generates groff-formatted manual
+      pages for Unix-based systems. The goal is to provide excellent
+      formatting for easy readability.";
+    homepage = https://github.com/jeaye/stdman;
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.twey ];
+  };
+}