anchor.diff:        - Display image name/path in X title
       '';
       license = licenses.gpl2Plus;
  -    maintainers = with maintainers; [ AndersonTorres ];
  +    maintainers = with maintainers; [ AndersonTorres sikmir ];
       platforms = platforms.unix;
  -    broken = stdenv.isDarwin;
     };
   }
  
positive.code:     libXft
      libexif
      libwebp
    ];
  
    preBuild = lib.optionalString (conf!=null) ''
      cp ${(builtins.toFile "config.def.h" conf)} config.def.h
    '';
  
    makeFlags = [
      "PREFIX=${placeholder "out"}"
    ];
  
    meta = with lib; {
      homepage = "https://nsxiv.github.io/nsxiv/";
      description = "New Suckless X Image Viewer";
      longDescription = ''
        nsxiv is a fork of now unmaintained sxiv with the purpose of being a
  
negative.code: { lib
  , stdenv
  , fetchFromGitea
  , fetchpatch
  , giflib
  , imlib2
  , libXft
  , libexif
  , libwebp
  , libinotify-kqueue
  , conf ? null
  }:
  
  stdenv.mkDerivation rec {
    pname = "nsxiv";
    version = "30";
  
    src = fetchFromGitea {
      domain = "codeberg.org";
      owner = "nsxiv";
      repo = "nsxiv";
      rev = "v${version}";
      hash = "sha256-swzTdQ6ow1At4bKRORqz6fb0Ej92yU9rlI/OgcinPu4=";
    };
  
    patches = [
      # Fix build failure when _SC_PHYS_PAGES is not defined
      (fetchpatch {
        url = "https://codeberg.org/nsxiv/nsxiv/commit/1a50bff9f300f84e93a6e7035657e6029e7e8183.patch";
        hash = "sha256-PpUqGVWaJ06EVu3tBKVzOh8HYvT6wAG3bvY6wUD+dTM=";
      })
    ];
  
    buildInputs = [
      giflib
  