Unverified Commit ef92e214 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

eigenwallet: init at 2.0.3 (#422100)

parents 9967bf13 e08918b3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -11274,6 +11274,13 @@
    githubId = 45084216;
    keys = [ { fingerprint = "1BF9 8D10 E0D0 0B41 5723  5836 4C13 3A84 E646 9228"; } ];
  };
  JacoMalan1 = {
    name = "Jaco Malan";
    email = "jacom@codelog.co.za";
    github = "JacoMalan1";
    githubId = 10290409;
    keys = [ { fingerprint = "339C 9213 7F2D 5D6E 2B6A  6E98 240B B4C4 27BC 327A"; } ];
  };
  jaculabilis = {
    name = "Tim Van Baak";
    email = "tim.vanbaak@gmail.com";
+52 −0
Original line number Diff line number Diff line
{
  lib,
  fetchurl,
  stdenv,
  dpkg,
  autoPatchelfHook,
  cairo,
  gdk-pixbuf,
  webkitgtk_4_1,
  gtk3,
}:

stdenv.mkDerivation (finalAttrs: {
  name = "eigenwallet";
  version = "2.0.3";

  src = fetchurl {
    url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/UnstoppableSwap_${finalAttrs.version}_amd64.deb";
    hash = "sha256-2uOsZ6IvaQes+FYGQ0cNYlySzjyNwf/3fqk3DJzN+WI=";
  };

  nativeBuildInputs = [
    dpkg
    autoPatchelfHook
  ];

  buildInputs = [
    cairo
    gdk-pixbuf
    webkitgtk_4_1
    gtk3
  ];

  installPhase = ''
    runHook preInstall

    mkdir -p $out
    mv {usr/bin,usr/share} $out

    runHook postInstall
  '';

  meta = {
    description = "Protocol and desktop application for swapping Monero and Bitcoin";
    homepage = "https://unstoppableswap.net";
    maintainers = with lib.maintainers; [ JacoMalan1 ];
    license = lib.licenses.gpl3Only;
    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
    platforms = [ "x86_64-linux" ];
    mainProgram = "unstoppableswap-gui-rs";
  };
})