nixpkgs-suyu/pkgs/games/lgames/lpairs2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
877 B
Nix
Raw Normal View History

2022-04-19 04:57:10 +02:00
{ lib
, stdenv
, fetchurl
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
2022-12-09 18:54:54 +01:00
, directoryListingUpdater
2022-04-19 04:57:10 +02:00
}:
stdenv.mkDerivation rec {
pname = "lpairs2";
2022-07-31 23:16:12 +02:00
version = "2.2";
2022-04-19 04:57:10 +02:00
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
2022-07-31 23:16:12 +02:00
hash = "sha256-swe/cB9RqxHSNSShiryJ8XfwZk2X6qIDxFURbwNOd58=";
2022-04-19 04:57:10 +02:00
};
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
2022-12-09 18:54:54 +01:00
passthru.updateScript = directoryListingUpdater {
inherit pname version;
url = "https://lgames.sourceforge.io/LPairs/";
extraRegex = "(?!.*-win(32|64)).*";
};
2022-04-19 04:57:10 +02:00
meta = with lib; {
broken = stdenv.isDarwin;
2022-04-19 04:57:10 +02:00
homepage = "http://lgames.sourceforge.net/LPairs/";
description = "Matching the pairs - a typical Memory Game";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}