Unverified Commit 9fb7c440 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

affine: 0.17.0 -> 0.17.5 (#352561)

parents 133f5ffd 66a4ef3f
Loading
Loading
Loading
Loading
+72 −64
Original line number Diff line number Diff line
{ lib
, fetchurl
, stdenvNoCC
, copyDesktopItems
, makeDesktopItem
, makeWrapper
, unzip
, electron
, commandLineArgs ? ""
{
  lib,
  fetchurl,
  stdenvNoCC,
  copyDesktopItems,
  makeDesktopItem,
  makeWrapper,
  unzip,
  electron,
  commandLineArgs ? "",
}:

stdenvNoCC.mkDerivation (finalAttrs: let
stdenvNoCC.mkDerivation (
  finalAttrs:
  let
    icon = fetchurl {
      url = "https://raw.githubusercontent.com/toeverything/AFFiNE/v${finalAttrs.version}/packages/frontend/core/public/favicon-192.png";
      hash = "sha256-smZ5W7fy3TK3bvjwV4i71j2lVmKSZcyhMhcWfPxNnN4=";
    };
in {
  in
  {
    pname = "affine";
  version = "0.17.0";
    version = "0.17.5";
    src = fetchurl {
      url = "https://github.com/toeverything/AFFiNE/releases/download/v${finalAttrs.version}/affine-${finalAttrs.version}-stable-linux-x64.zip";
    hash = "sha256-7Gaiv3XBxpHcI4curNlkN8kXcJZrD4WQS8ciqcabRMs=";
      hash = "sha256-lK5DDI9CKRneY4AwMI4r1qlGyYtQG4Xi8Ys4I3jawTk=";
    };
    nativeBuildInputs = [
      copyDesktopItems
@@ -49,7 +53,7 @@ in {
        categories = [ "Utility" ];
      })
    ];
  meta = with lib; {
    meta = {
      description = "Workspace with fully merged docs, whiteboards and databases";
      longDescription = ''
        AFFiNE is an open-source, all-in-one workspace and an operating
@@ -59,9 +63,13 @@ in {
      '';
      homepage = "https://affine.pro/";
      downloadPage = "https://affine.pro/download";
    license = licenses.mit;
    maintainers = with maintainers; [richar redyf];
      license = lib.licenses.mit;
      maintainers = with lib.maintainers; [
        richar
        redyf
      ];
      mainProgram = "affine";
      platforms = [ "x86_64-linux" ];
    };
})
  }
)