Files
nixpkgs/pkgs/by-name/ei/eigenwallet/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
1.0 KiB
Nix

{
lib,
fetchurl,
stdenv,
dpkg,
autoPatchelfHook,
cairo,
gdk-pixbuf,
webkitgtk_4_1,
gtk3,
}:
stdenv.mkDerivation (finalAttrs: {
name = "eigenwallet";
version = "3.1.1";
src = fetchurl {
url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/eigenwallet_${finalAttrs.version}_amd64.deb";
hash = "sha256-QkfJ8ixt2HzWmRNltoZhis/EJ546DQgthWqVyqGpvvA=";
};
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://eigenwallet.org";
maintainers = with lib.maintainers; [ JacoMalan1 ];
license = lib.licenses.gpl3Only;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ];
mainProgram = "unstoppableswap-gui-rs";
};
})