anchor.diff:      rev = version;
       sha256 = "sha256-Z6OsZvVzk//qEkl4ciNz4cQRqC2GFg0qYgmliAyz6fo=";
     };
  -
  -  modules = yarn2nix-moretea.mkYarnModules {
  -    name = "${pname}-modules-${version}";
  -    inherit pname version;
  -
  -    yarnFlags = yarn2nix-moretea.defaultYarnFlags ++ [
  -      "--production"
  -    ];
  -
  -    packageJSON = "${src}/package.json";
  -    yarnLock = ./yarn.lock;
  -    yarnNix = ./yarndeps.nix;
  -  };
  -in
  -stdenvNoCC.mkDerivation rec {
  -  inherit pname version src;
   
     nativeBuildInputs = [
       copyDesktopItems
  
positive.code: 
    dontBuild = true;
  
    installPhase = ''
      runHook preInstall
  
      mkdir -p "$out/bin" "$out/share/Sharedown" "$out/share/applications" "$out/share/icons/hicolor/512x512/apps"
  
      # Electron app
      cp -r *.js *.json sharedownlogo.png sharedown "${modules}/node_modules" "$out/share/Sharedown"
  
      # Desktop Launcher
      cp build/icon.png "$out/share/icons/hicolor/512x512/apps/Sharedown.png"
  
      # Install electron wrapper script
      makeWrapper "${electron}/bin/electron" "$out/bin/Sharedown" \
        --add-flags "$out/share/Sharedown" \
        --prefix PATH : "${binPath}" \
        --set PUPPETEER_EXECUTABLE_PATH "${chromium}/bin/chromium"
  
      runHook postInstall
    '';
  
    passthru.updateScript = ./update.sh;
  
  
negative.code: , chromium
  }:
  
  stdenvNoCC.mkDerivation rec {
    pname = "Sharedown";
    version = "2.0.0";
  
  