anchor.diff:      gtkspell3
       libgee
       pantheon.granite
  +    pcre
       sqlite
       webkitgtk
     ];
  
positive.code: , gtkspell3
  , glib
  , libgee
  , sqlite
  , discount
  , wrapGAppsHook
  , withPantheon ? false }:
  
  stdenv.mkDerivation rec {
    pname = "notes-up";
    version = "2.0.2";
  
    src = fetchFromGitHub {
      owner = "Philip-Scott";
      repo = "Notes-up";
      rev = version;
      sha256 = "0bklgp8qrrj9y5m77xqbpy1ld2d9ya3rlxklgzx3alffq5312i4s";
    };
  
    nativeBuildInputs = [
      cmake
      ninja
      # fails with newer vala: https://github.com/Philip-Scott/Notes-up/issues/349
      vala_0_46
      pkg-config
      wrapGAppsHook
    ];
  
negative.code: { lib
  , stdenv
  , fetchFromGitHub
  , nix-update-script
  , pantheon
  , pkg-config
  , vala
  , cmake
  , ninja
  , gtk3
  