about summary refs log tree commit diff
path: root/pkgs/games/brutalmaze
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-07-29 23:36:35 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-08-10 11:42:13 +0700
commit8096436f28630702b3e7fc9746b00da3223e387f (patch)
tree53a17405360cf29526fc6a14785859ac914b08cb /pkgs/games/brutalmaze
parent53bd44342d22b53677b245c15de6e8f8a37718d0 (diff)
brutalmaze: init at 1.1.1
Diffstat (limited to 'pkgs/games/brutalmaze')
-rw-r--r--pkgs/games/brutalmaze/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/games/brutalmaze/default.nix b/pkgs/games/brutalmaze/default.nix
new file mode 100644
index 0000000000000..d9c904d99a3b6
--- /dev/null
+++ b/pkgs/games/brutalmaze/default.nix
@@ -0,0 +1,30 @@
+{ lib, fetchFromSourcehut, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "brutalmaze";
+  version = "1.1.1";
+  format = "flit";
+  disabled = python3Packages.pythonOlder "3.7";
+
+  src = fetchFromSourcehut {
+    owner = "~cnx";
+    repo = pname;
+    rev = version;
+    sha256 = "1m105iq378mypj64syw59aldbm6bj4ma4ynhc50gafl656fabg4y";
+  };
+
+  propagatedBuildInputs = with python3Packages; [
+    loca
+    palace
+    pygame
+  ];
+
+  doCheck = false; # there's no test
+
+  meta = with lib; {
+    description = "Minimalist thrilling shoot 'em up game";
+    homepage = "https://brutalmaze.rtfd.io";
+    license = licenses.agpl3Plus;
+    maintainers = [ maintainers.McSinyx ];
+  };
+}