From 13ccb03b0fbad8543181e9de9c50942901d0da27 Mon Sep 17 00:00:00 2001 From: TheTaoOfSu Date: Thu, 22 May 2025 14:23:16 +0200 Subject: [PATCH] deutex: init at 5.2.3 (cherry picked from commit 35cfb482381fd4d296dd111899e080835eefad02) --- pkgs/by-name/de/deutex/package.nix | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/de/deutex/package.nix diff --git a/pkgs/by-name/de/deutex/package.nix b/pkgs/by-name/de/deutex/package.nix new file mode 100644 index 000000000000..339d1ec1eaaa --- /dev/null +++ b/pkgs/by-name/de/deutex/package.nix @@ -0,0 +1,42 @@ +{ + stdenv, + lib, + autoreconfHook, + fetchFromGitHub, + pkg-config, + libpng, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "deutex"; + version = "5.2.3"; + + src = fetchFromGitHub { + owner = "Doom-Utils"; + repo = "deutex"; + tag = "v${finalAttrs.version}"; + hash = "sha256-wDAlwOtupkYv6y4fQPwL/PVOhh7wqORnjxV22kmON+U="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInput = [ + libpng + ]; + + meta = { + description = "Command-line tool to create and modify WAD files for games built on the original Doom engine"; + homepage = "https://github.com/Doom-Utils/deutex"; + license = with lib.licenses; [ + gpl2Plus + hpnd + lgpl21Plus + ]; + maintainers = with lib.maintainers; [ thetaoofsu ]; + mainProgram = "deutex"; + platforms = lib.platforms.unix; + }; +})