mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ace-of-penguins: modernize
This commit is contained in:
parent
03bd3b6b48
commit
0c5a103217
1 changed files with 8 additions and 8 deletions
|
@ -10,12 +10,12 @@
|
|||
zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ace-of-penguins";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.delorie.com/store/ace/ace-${version}.tar.gz";
|
||||
url = "http://www.delorie.com/store/ace/ace-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-H+47BTOSGkKHPAYj8z2HOgZ7HuxY8scMAUSRRueaTM4=";
|
||||
};
|
||||
|
||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||
desktopItems =
|
||||
let
|
||||
generateItem = gameName: {
|
||||
name = "${pname}-${gameName}";
|
||||
name = "ace-of-penguins-${gameName}";
|
||||
exec = "${placeholder "out"}/bin/${gameName}";
|
||||
comment = "Ace of Penguins ${gameName} Card Game";
|
||||
desktopName = gameName;
|
||||
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
|||
"thornq"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "http://www.delorie.com/store/ace/";
|
||||
description = "Solitaire games in X11";
|
||||
longDescription = ''
|
||||
|
@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
|
|||
minesweeper, pegged, solitaire, taipei (with editor!), and thornq (by
|
||||
Martin Thornquist).
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue