571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
36 lines
804 B
Nix
36 lines
804 B
Nix
{ 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 ];
|
|
};
|
|
}
|