at 23.11-beta 33 lines 1.1 kB view raw
1{ lib, stdenv, fetchgit, pkg-config, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, meson, ninja, cunit }: 2 3stdenv.mkDerivation rec { 4 pname = "libtraceevent"; 5 version = "1.7.3"; 6 7 src = fetchgit { 8 url = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git"; 9 rev = "libtraceevent-${version}"; 10 sha256 = "sha256-poF+Cqcdj0KIgEJWW7XDAlRLz2/Egi948s1M24ETvBo="; 11 }; 12 13 postPatch = '' 14 chmod +x Documentation/install-docs.sh.in 15 patchShebangs --build check-manpages.sh Documentation/install-docs.sh.in 16 ''; 17 18 outputs = [ "out" "dev" "devman" "doc" ]; 19 nativeBuildInputs = [ meson ninja pkg-config asciidoc xmlto docbook_xml_dtd_45 docbook_xsl ]; 20 21 ninjaFlags = [ "all" "docs" ]; 22 23 doCheck = true; 24 checkInputs = [ cunit ]; 25 26 meta = with lib; { 27 description = "Linux kernel trace event library"; 28 homepage = "https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"; 29 license = licenses.lgpl21Only; 30 platforms = platforms.linux; 31 maintainers = with maintainers; [ wentasah ]; 32 }; 33}