Commit 2bd35aaa authored by Robert Schütz's avatar Robert Schütz Committed by Jörg Thalheim
Browse files
parent 030be47d
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@
, sqlcipher
, stdenv
, CoreServices
, testers
, deltachat-desktop
}:

let
@@ -33,16 +35,16 @@ let
in
buildNpmPackage rec {
  pname = "deltachat-desktop";
  version = "unstable-2023-11-03";
  version = "1.41.1";

  src = fetchFromGitHub {
    owner = "deltachat";
    repo = "deltachat-desktop";
    rev = "40152e9543eb773fc27e7a4f96ef1eecebe9310e";
    hash = "sha256-9GPXFUCu9GKa/bJgO8CIPMLccI6WAJ6PhfoyJ6s/DHE=";
    rev = "v${version}";
    hash = "sha256-ITcBIm47OiGy/i6jnG6r1OoStjRPystOts6ViLioLNY=";
  };

  npmDepsHash = "sha256-g3nkgqZNoq+xuwXbXLHEMVpHH6Sq3792xhITCx7WvOc=";
  npmDepsHash = "sha256-+t6m2kDUOh6kIkbZgol/CQciDTxUZSkTr1amPywrMb4=";

  nativeBuildInputs = [
    makeWrapper
@@ -116,6 +118,12 @@ buildNpmPackage rec {
    ];
  });

  passthru.tests = {
    version = testers.testVersion {
      package = deltachat-desktop;
    };
  };

  meta = with lib; {
    description = "Email-based instant messaging for Desktop";
    homepage = "https://github.com/deltachat/deltachat-desktop";