From 75df675d1fdc7f80566499a1aa08f8e013dffc88 Mon Sep 17 00:00:00 2001 From: Florent Becker Date: Thu, 29 Oct 2015 16:09:17 +0100 Subject: [PATCH] cuyo: init at 2.1.0 --- pkgs/games/cuyo/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/games/cuyo/default.nix diff --git a/pkgs/games/cuyo/default.nix b/pkgs/games/cuyo/default.nix new file mode 100644 index 000000000000..0bc38f876f46 --- /dev/null +++ b/pkgs/games/cuyo/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, SDL, SDL_mixer }: + +stdenv.mkDerivation rec { + name = "cuyo-${version}"; + version = "2.1.0"; + + src = fetchurl { + url = http://download.savannah.gnu.org/releases/cuyo/cuyo-2.1.0.tar.gz; + sha256 = "17yqv924x7yvwix7yz9jdhgyar8lzdhqvmpvv0any8rdkajhj23c"; + }; + + buildInputs = [ SDL SDL_mixer]; + + meta = { + homepage = http://karimmi.de/cuyo; + description = "Stacking blocks game, with different rules for each level"; + license = stdenv.lib.licenses.gpl2Plus; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index db16f1b7fc55..5bf949d8635b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -797,6 +797,8 @@ let tileMode = false; }; + cuyo = callPackage ../games/cuyo { }; + contacts = callPackage ../tools/misc/contacts { }; datamash = callPackage ../tools/misc/datamash { };