Unbork journals audit logs and introduce audit option (#379629)
[NixPkgs.git] / pkgs / by-name / st / stdman / package.nix
blob56b1bcd5a7b283c08456df3a1b69881df9c8846e
2   lib,
3   stdenv,
4   curl,
5   fetchFromGitHub,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "stdman";
10   version = "2024.07.05";
12   src = fetchFromGitHub {
13     owner = "jeaye";
14     repo = "stdman";
15     rev = version;
16     sha256 = "sha256-/yJqKwJHonnBkP6/yQQJT3yPyYO6/nFAf4XFrgl3L0A=";
17   };
19   outputDevdoc = "out";
21   preConfigure = "
22     patchShebangs ./do_install
23   ";
25   buildInputs = [ curl ];
27   meta = with lib; {
28     description = "Formatted C++17 stdlib man pages (cppreference)";
29     longDescription = "stdman is a tool that parses archived HTML
30       files from cppreference and generates groff-formatted manual
31       pages for Unix-based systems. The goal is to provide excellent
32       formatting for easy readability.";
33     homepage = "https://github.com/jeaye/stdman";
34     license = licenses.mit;
35     platforms = platforms.unix;
36     maintainers = [ maintainers.twey ];
37   };