depot/third_party/nixpkgs/pkgs/games/lgames/lpairs2/default.nix

35 lines
675 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, SDL2
, SDL2_image
, SDL2_mixer
, SDL2_ttf
}:
stdenv.mkDerivation rec {
pname = "lpairs2";
version = "2.2";
src = fetchurl {
url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
hash = "sha256-swe/cB9RqxHSNSShiryJ8XfwZk2X6qIDxFURbwNOd58=";
};
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "http://lgames.sourceforge.net/LPairs/";
description = "Matching the pairs - a typical Memory Game";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}