about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/brutalmaze/default.nix
blob: 124134eafc14209345c5a1082c4e41dc9e0c8dab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib, fetchFromSourcehut, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "brutalmaze";
  version = "1.1.1";
  format = "pyproject";
  disabled = python3Packages.pythonOlder "3.7";

  src = fetchFromSourcehut {
    owner = "~cnx";
    repo = pname;
    rev = version;
    sha256 = "1m105iq378mypj64syw59aldbm6bj4ma4ynhc50gafl656fabg4y";
  };

  nativeBuildInputs = with python3Packages; [
    flit-core
  ];

  propagatedBuildInputs = with python3Packages; [
    loca
    palace
    pygame
  ];

  doCheck = false; # there's no test

  meta = with lib; {
    description = "Minimalist thrilling shoot 'em up game";
    mainProgram = "brutalmaze";
    homepage = "https://brutalmaze.rtfd.io";
    license = licenses.agpl3Plus;
    maintainers = [ maintainers.McSinyx ];
  };
}