anchor.diff:      "--disable-gtk-doc-html"
       "--disable-gtk-doc-pdf"
       "--disable-tests"
  -    (enFlag "introspection" (gobject-introspection != null) null)
  -    (enFlag "vala" (vala != null) null)
  +    "--${boolEn (gobject-introspection != null)}-introspection"
  +    "--${boolEn (vala != null)}-vala"
       "--disable-coverage"
       "--with-usb-ids-path=${hwdata}/data/hwdata/usb.ids"
       "--with-pci-ids-path=${hwdata}/data/hwdata/pci.ids"
  
positive.code: , fetchurl
  , gettext
  , intltool
  
  , check
  , glib
  
negative.code: }:
  
  let
    inherit (lib)
      boolEn;
  in
  stdenv.mkDerivation rec {
    name = "libosinfo-1.0.0";
  
    src = fetchurl {
      url = "https://releases.pagure.org/libosinfo/${name}.tar.gz";
      hashOutput = false;
      sha256 = "f7b425ecde5197d200820eb44401c5033771a5d114bd6390230de768aad0396b";
    };
  