summary refs log tree commit diff
path: root/pkgs/games/lgames/lpairs2/default.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-04-18 23:57:10 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-04-22 10:05:53 -0300
commit6b841f4d89ec78c8b92ed31d1003ddc86155a19b (patch)
treed32e60690d1bb898866f34647737771151411541 /pkgs/games/lgames/lpairs2/default.nix
parentc1747310047966202facec0e88469ac60f8d54a7 (diff)
downloadnixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.tar
nixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.tar.gz
nixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.tar.bz2
nixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.tar.lz
nixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.tar.xz
nixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.tar.zst
nixpkgs-6b841f4d89ec78c8b92ed31d1003ddc86155a19b.zip
lpairs2: init at 2.1
Diffstat (limited to 'pkgs/games/lgames/lpairs2/default.nix')
-rw-r--r--pkgs/games/lgames/lpairs2/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/games/lgames/lpairs2/default.nix b/pkgs/games/lgames/lpairs2/default.nix
new file mode 100644
index 00000000000..4011dd9a294
--- /dev/null
+++ b/pkgs/games/lgames/lpairs2/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, stdenv
+, fetchurl
+, SDL2
+, SDL2_image
+, SDL2_mixer
+, SDL2_ttf
+}:
+
+stdenv.mkDerivation rec {
+  pname = "lpairs2";
+  version = "2.1";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/lgames/${pname}-${version}.tar.gz";
+    hash = "sha256-35KYDnPWOjNPu9wz9AWvSBAo1tdVDo7I2TNxtxE5RRg=";
+  };
+
+  buildInputs = [
+    SDL2
+    SDL2_image
+    SDL2_mixer
+    SDL2_ttf
+  ];
+
+  meta = with lib; {
+    homepage = "http://lgames.sourceforge.net/LPairs/";
+    description = "Matching the pairs - a typical Memory Game";
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ AndersonTorres ];
+    platforms = platforms.unix;
+  };
+}