nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.1 kB view raw
1{ 2 lib, 3 fetchurl, 4 stdenv, 5 dpkg, 6 autoPatchelfHook, 7 cairo, 8 gdk-pixbuf, 9 webkitgtk_4_1, 10 gtk3, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "eigenwallet"; 15 version = "3.6.7"; 16 17 src = fetchurl { 18 url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/eigenwallet_${finalAttrs.version}_amd64.deb"; 19 hash = "sha256-kIu0TLFw5hxUnCItgSNB+XuxpC1gKXvu+k4vQH1UitA="; 20 }; 21 22 nativeBuildInputs = [ 23 dpkg 24 autoPatchelfHook 25 ]; 26 27 buildInputs = [ 28 cairo 29 gdk-pixbuf 30 webkitgtk_4_1 31 gtk3 32 ]; 33 34 installPhase = '' 35 runHook preInstall 36 37 mkdir -p $out 38 mv {usr/bin,usr/share} $out 39 40 runHook postInstall 41 ''; 42 43 meta = { 44 description = "Protocol and desktop application for swapping Monero and Bitcoin"; 45 homepage = "https://eigenwallet.org"; 46 maintainers = with lib.maintainers; [ JacoMalan1 ]; 47 license = lib.licenses.gpl3Only; 48 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 49 platforms = [ "x86_64-linux" ]; 50 mainProgram = "unstoppableswap-gui-rs"; 51 }; 52})