nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at devShellTools-shell 54 lines 1.5 kB view raw
1{ 2 lib, 3 appimageTools, 4 fetchurl, 5 makeDesktopItem, 6}: 7 8let 9 pname = "MyCrypto"; 10 version = "1.7.17"; 11 sha256 = "20eb48989b5ae5e60e438eff6830ac79a0d89ac26dff058097260e747e866444"; # Taken from release's checksums.txt.gpg 12 13 src = fetchurl { 14 url = "https://github.com/mycryptohq/mycrypto/releases/download/${version}/linux-x86-64_${version}_MyCrypto.AppImage"; 15 inherit sha256; 16 }; 17 18 appimageContents = appimageTools.extractType2 { 19 inherit pname version src; 20 }; 21 22 desktopItem = makeDesktopItem { 23 name = pname; 24 desktopName = pname; 25 comment = "MyCrypto is a free, open-source interface for interacting with the blockchain"; 26 exec = pname; 27 icon = "mycrypto"; 28 categories = [ "Finance" ]; 29 }; 30 31in 32appimageTools.wrapType2 { 33 inherit pname version src; 34 35 extraInstallCommands = '' 36 mkdir -p $out/share 37 cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons 38 chmod -R +w $out/share 39 mv $out/share/icons/hicolor/{0x0,256x256} 40 ''; 41 42 meta = with lib; { 43 description = "Free, open-source interface for interacting with the blockchain"; 44 longDescription = '' 45 MyCrypto is an open-source, client-side tool for generating ether wallets, 46 handling ERC-20 tokens, and interacting with the blockchain more easily. 47 ''; 48 homepage = "https://mycrypto.com"; 49 license = licenses.mit; 50 platforms = [ "x86_64-linux" ]; 51 maintainers = [ ]; 52 mainProgram = "MyCrypto"; 53 }; 54}