Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-alpha 34 lines 906 B view raw
1{ stdenv, curl, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "stdman"; 5 version = "2018.03.11"; 6 7 src = fetchFromGitHub { 8 owner = "jeaye"; 9 repo = "stdman"; 10 rev = version; 11 sha256 = "1017vwhcwlwi5sa8h6pkhj048in826wxnhl6qarykmzksvidff3r"; 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}