nixpkgs/pkgs/tools/games/mymcplus/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

35 lines
702 B
Nix

{ lib
, fetchFromSourcehut
, pythonPackages
, wrapGAppsHook
}:
pythonPackages.buildPythonApplication rec {
pname = "mymcplus";
version = "3.0.5";
src = fetchFromSourcehut {
owner = "~thestr4ng3r";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GFReOgM8zi5oyePpJm5HxtizUVqqUUINTRwyG/LGWB8=";
};
nativeBuildInputs = [
wrapGAppsHook
];
propagatedBuildInputs = with pythonPackages; [
pyopengl
wxpython
];
meta = with lib; {
homepage = "https://git.sr.ht/~thestr4ng3r/mymcplus";
description = "A PlayStation 2 memory card manager";
mainProgram = "mymcplus";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
};
}