at v206 927 B view raw
1{ stdenv, curl, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 name = "stdman-${version}"; 5 version = "d860212"; 6 7 src = fetchFromGitHub { 8 owner = "jeaye"; 9 repo = "stdman"; 10 rev = "d860212767ca60472e33aa3bad22a3eac834b1f8"; 11 sha256 = "09c5gjhcz97ghfrv9zkgfb1wckvmqnhbzga0xidbm1ir7640di8l"; 12 }; 13 14 preConfigure = " 15 patchShebangs ./configure 16 patchShebangs ./do_install 17 "; 18 19 buildInputs = [ curl ]; 20 21 meta = with stdenv.lib; { 22 description = "Formatted C++11/14 stdlib man pages (cppreference)"; 23 longDescription = "stdman is a tool that parses archived HTML 24 files from cppreference and generates groff-formatted manual 25 pages for Unix-based systems. The goal is to provide excellent 26 formatting for easy readability."; 27 homepage = https://github.com/jeaye/stdman; 28 license = licenses.mit; 29 platforms = platforms.linux; 30 maintainers = [ maintainers.twey ]; 31 }; 32}