Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09-beta 34 lines 949 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 outputDevdoc = "out"; 15 16 preConfigure = " 17 patchShebangs ./configure 18 patchShebangs ./do_install 19 "; 20 21 buildInputs = [ curl ]; 22 23 meta = with stdenv.lib; { 24 description = "Formatted C++11/14 stdlib man pages (cppreference)"; 25 longDescription = "stdman is a tool that parses archived HTML 26 files from cppreference and generates groff-formatted manual 27 pages for Unix-based systems. The goal is to provide excellent 28 formatting for easy readability."; 29 homepage = https://github.com/jeaye/stdman; 30 license = licenses.mit; 31 platforms = platforms.unix; 32 maintainers = [ maintainers.twey ]; 33 }; 34}