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; {
|
2022-05-28 15:23:50 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|