From c8880764fbd3a3c47c3d390071ca04833d690c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 13 Dec 2017 22:01:45 +0100 Subject: [PATCH] cutemaze: init at 1.2.1 --- pkgs/games/cutemaze/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/games/cutemaze/default.nix diff --git a/pkgs/games/cutemaze/default.nix b/pkgs/games/cutemaze/default.nix new file mode 100644 index 000000000000..f63cbef83d23 --- /dev/null +++ b/pkgs/games/cutemaze/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, qmake, qttools, qtsvg }: + +stdenv.mkDerivation rec { + name = "cutemaze-${version}"; + version = "1.2.1"; + + src = fetchurl { + url = "https://gottcode.org/cutemaze/${name}-src.tar.bz2"; + sha256 = "841f2a208770c9de6009fed64e24a059a878686c444c4b572c56b564e4cfa66e"; + }; + + nativeBuildInputs = [ qmake qttools ]; + + buildInputs = [ qtsvg ]; + + meta = with stdenv.lib; { + homepage = https://gottcode.org/cutemaze/; + description = "Simple, top-down game in which mazes are randomly generated"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ dotlambda ]; + # TODO: add darwin once tested + platforms = with platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 57c15125d2a3..985833df3209 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17882,6 +17882,8 @@ with pkgs; crrcsim = callPackage ../games/crrcsim {}; + cutemaze = libsForQt5.callPackage ../games/cutemaze {}; + cuyo = callPackage ../games/cuyo { }; dhewm3 = callPackage ../games/dhewm3 {};