anchor.diff:  { stdenv
   , lib
  -, fetchgit
  +, fetchFromSourcehut
   , meson
   , ninja
   , pkg-config
  
positive.code: in
  stdenv.mkDerivation rec {
    pname = "megapixels";
    version = "0.15.0";
  
    src = fetchgit {
      url = "https://git.sr.ht/~martijnbraam/megapixels";
      rev = version;
      sha256 = "1y8irwi8lbjs948j90gpic96dx5wjmwacd41hb3d9vzhkyni2dvb";
    };
  
    nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
  
negative.code:   meta = with lib; {
      description = "GTK3 camera application using raw v4l2 and media-requests";
      homepage = "https://sr.ht/~martijnbraam/Megapixels";
      changelog = "https://git.sr.ht/~martijnbraam/megapixels/refs/${version}";
      license = licenses.gpl3Only;
      maintainers = with maintainers; [ OPNA2608 ];
      platforms = platforms.linux;
  