Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 34 lines 919 B view raw
1{ stdenv, curl, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 name = "stdman-${version}"; 5 version = "2017.04.02"; 6 7 src = fetchFromGitHub { 8 owner = "jeaye"; 9 repo = "stdman"; 10 rev = "${version}"; 11 sha256 = "1wfxd9ca8b9l976rnlhjd0sp364skfm99wxi633swwwjvhy26sgm"; 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++17 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}