8 , gobject-introspection
24 stdenv.mkDerivation rec {
29 url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.xz";
30 sha256 = "sha256-olLgD8WA3rIdoNqMCqA7jDHoRAuESMi5gUP6tHfTIwU=";
33 outputs = [ "out" "dev" ]
34 ++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "devdoc";
61 src = ./osinfo-db-data-dir.patch;
62 osinfo_db_data_dir = "${osinfo-db}/share";
67 "-Dwith-usb-ids-path=${hwdata}/share/hwdata/usb.ids"
68 "-Dwith-pci-ids-path=${hwdata}/share/hwdata/pci.ids"
69 "-Denable-gtk-doc=true"
73 patchShebangs ../osinfo/check-symfile.pl ../osinfo/check-symsorting.pl
79 description = "GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support";
80 homepage = "https://libosinfo.org/";
81 changelog = "https://gitlab.com/libosinfo/libosinfo/-/blob/v${version}/NEWS";
82 license = licenses.lgpl2Plus;
83 platforms = platforms.unix;
84 maintainers = [ maintainers.bjornfor ];