lol
0
fork

Configure Feed

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

ace-of-penguins: modernize

+8 -8
+8 -8
pkgs/by-name/ac/ace-of-penguins/package.nix
··· 10 10 zlib, 11 11 }: 12 12 13 - stdenv.mkDerivation rec { 13 + stdenv.mkDerivation (finalAttrs: { 14 14 pname = "ace-of-penguins"; 15 15 version = "1.4"; 16 16 17 17 src = fetchurl { 18 - url = "http://www.delorie.com/store/ace/ace-${version}.tar.gz"; 18 + url = "http://www.delorie.com/store/ace/ace-${finalAttrs.version}.tar.gz"; 19 19 hash = "sha256-H+47BTOSGkKHPAYj8z2HOgZ7HuxY8scMAUSRRueaTM4="; 20 20 }; 21 21 ··· 41 41 desktopItems = 42 42 let 43 43 generateItem = gameName: { 44 - name = "${pname}-${gameName}"; 44 + name = "ace-of-penguins-${gameName}"; 45 45 exec = "${placeholder "out"}/bin/${gameName}"; 46 46 comment = "Ace of Penguins ${gameName} Card Game"; 47 47 desktopName = gameName; ··· 64 64 "thornq" 65 65 ]; 66 66 67 - meta = with lib; { 67 + meta = { 68 68 homepage = "http://www.delorie.com/store/ace/"; 69 69 description = "Solitaire games in X11"; 70 70 longDescription = '' ··· 76 76 minesweeper, pegged, solitaire, taipei (with editor!), and thornq (by 77 77 Martin Thornquist). 78 78 ''; 79 - license = licenses.gpl2Plus; 80 - maintainers = with maintainers; [ ]; 81 - platforms = platforms.linux; 79 + license = lib.licenses.gpl2Plus; 80 + maintainers = with lib.maintainers; [ ]; 81 + platforms = lib.platforms.linux; 82 82 }; 83 - } 83 + })