mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Merge pull request #334752 from museoa/upload-doomretro
doomretro: 5.4 -> 5.5.1
This commit is contained in:
commit
a8ee39fa52
@ -1,23 +1,27 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
SDL2,
|
||||||
, cmake
|
SDL2_image,
|
||||||
, pkg-config
|
SDL2_mixer,
|
||||||
, SDL2
|
cmake,
|
||||||
, SDL2_image
|
darwin,
|
||||||
, SDL2_mixer
|
fetchFromGitHub,
|
||||||
, Cocoa
|
pkg-config,
|
||||||
|
stdenv,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "doomretro";
|
pname = "doomretro";
|
||||||
version = "5.4";
|
version = "5.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bradharding";
|
owner = "bradharding";
|
||||||
repo = "doomretro";
|
repo = "doomretro";
|
||||||
rev = "v${finalAttrs.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-IOv58BmJvJtO7MMbrvf52MPYI0zjmPuRK7mcTwmBEY0=";
|
hash = "sha256-gAMMzHUo0uPXIRqT1NOMWpFNAtE1Pth5uXFa2Dps90E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -29,14 +33,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
SDL2
|
SDL2
|
||||||
SDL2_image
|
SDL2_image
|
||||||
SDL2_mixer
|
SDL2_mixer
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
|
||||||
Cocoa
|
|
||||||
];
|
strictDeps = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.doomretro.com/";
|
homepage = "https://www.doomretro.com/";
|
||||||
description = "Classic, refined DOOM source port";
|
description = "Classic, refined DOOM source port";
|
||||||
mainProgram = "doomretro";
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
DOOM Retro is the classic, refined DOOM source port for Windows PC. It
|
DOOM Retro is the classic, refined DOOM source port for Windows PC. It
|
||||||
represents how I like my DOOM to be today, in all its dark and gritty,
|
represents how I like my DOOM to be today, in all its dark and gritty,
|
||||||
@ -67,8 +70,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
to no support is provided, DOOM Retro's source code may also be compiled
|
to no support is provided, DOOM Retro's source code may also be compiled
|
||||||
and run under Linux and macOS.
|
and run under Linux and macOS.
|
||||||
'';
|
'';
|
||||||
changelog = "https://github.com/bradharding/doomretro/releases/tag/${finalAttrs.src.rev}";
|
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
|
mainProgram = "doomretro";
|
||||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
@ -35406,10 +35406,6 @@ with pkgs;
|
|||||||
|
|
||||||
doomseeker = qt5.callPackage ../games/doom-ports/doomseeker { };
|
doomseeker = qt5.callPackage ../games/doom-ports/doomseeker { };
|
||||||
|
|
||||||
doomretro = callPackage ../games/doom-ports/doomretro {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
|
||||||
};
|
|
||||||
|
|
||||||
doomrunner = qt5.callPackage ../games/doom-ports/doomrunner { };
|
doomrunner = qt5.callPackage ../games/doom-ports/doomrunner { };
|
||||||
|
|
||||||
chocolate-doom = callPackage ../games/doom-ports/chocolate-doom { };
|
chocolate-doom = callPackage ../games/doom-ports/chocolate-doom { };
|
||||||
|
Loading…
Reference in New Issue
Block a user