anchor.diff:    # https://github.com/NixOS/nixpkgs/issues/56943
     strictDeps = false;
   
  -  # no tests
  -  doCheck = false;
  +  # Use the test suite provided by the upstream project.
  +  checkInputs = with python3Packages; [
  +    pytest
  +    pytest-cov
  +  ];
  +  checkPhase = "${xvfb_run}/bin/xvfb-run pytest";
  +
  +  # Also run the python import check for sanity
     pythonImportsCheck = [ "sublime_music" ];
   
     postInstall = ''
  
positive.code: 
  python3Packages.buildPythonApplication rec {
    pname = "sublime-music";
    version = "0.11.10";
  
    src = fetchFromGitLab {
      owner = "sublime-music";
      repo = pname;
      rev = "v${version}";
      sha256 = "1g78gmiywg07kaywfc9q0yab2bzxs936vb3157ni1z0flbmcwrry";
    };
  
    nativeBuildInputs = [
      gobject-introspection
      python3Packages.setuptools
      wrapGAppsHook
    ];
  
  
negative.code: { fetchFromGitLab
  , fetchpatch
  , lib
  , python3Packages
  , gobject-introspection
  , gtk3
  , pango
  , wrapGAppsHook
  , xvfb_run
  , chromecastSupport ? false
  , serverSupport ? false
  , keyringSupport ? true
  