diff options
Diffstat (limited to 'pkgs/by-name/th')
-rw-r--r-- | pkgs/by-name/th/thc-secure-delete/package.nix | 43 | ||||
-rw-r--r-- | pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/th/the-legend-of-edgar/package.nix | 2 | ||||
-rw-r--r-- | pkgs/by-name/th/the-powder-toy/package.nix | 75 | ||||
-rw-r--r-- | pkgs/by-name/th/themix-gui/package.nix | 6 |
5 files changed, 123 insertions, 5 deletions
diff --git a/pkgs/by-name/th/thc-secure-delete/package.nix b/pkgs/by-name/th/thc-secure-delete/package.nix new file mode 100644 index 0000000000000..03539ffcb488e --- /dev/null +++ b/pkgs/by-name/th/thc-secure-delete/package.nix @@ -0,0 +1,43 @@ +{ lib +, stdenv +, fetchFromGitHub +, installShellFiles +, pkg-config +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "thc-secure-delete"; + version = "3.1.1"; + + src = fetchFromGitHub { + owner = "gordrs"; + repo = "thc-secure-delete"; + rev = "v${finalAttrs.version}"; + hash = "sha256-hvWuxFkzhOSCplPtyjRtn36bIk6KdPBcpr3lAmiAyfE="; + }; + + nativeBuildInputs = [ pkg-config installShellFiles ]; + + makeFlags = [ + "CC=${stdenv.cc.targetPrefix}cc" + ]; + + installPhase = '' + runHook preInstall + + install -Dt $out/bin/ -m755 srm sdmem sswap sfill + installManPage *.1 + + runHook postInstall + ''; + + meta = with lib; { + description = "THC's Secure Delete tools"; + homepage = "https://github.com/gordrs/thc-secure-delete"; + changelog = "https://github.com/gordrs/thc-secure-delete/blob/v${finalAttrs.version}/CHANGES"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ tochiaha ]; + mainProgram = "srm"; + platforms = platforms.all; + }; +}) diff --git a/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix b/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix index 56a6029847d45..00a5458c08821 100644 --- a/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix +++ b/pkgs/by-name/th/thcrap-steam-proton-wrapper/package.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation { ''; meta = { - description = "A wrapper script for launching the official Touhou games on Steam with patches through Proton on GNU/Linux"; + description = "Wrapper script for launching the official Touhou games on Steam with patches through Proton on GNU/Linux"; homepage = "https://github.com/tactikauan/thcrap-steam-proton-wrapper"; license = lib.licenses.unlicense; maintainers = with lib.maintainers; [ ashuramaruzxc ]; diff --git a/pkgs/by-name/th/the-legend-of-edgar/package.nix b/pkgs/by-name/th/the-legend-of-edgar/package.nix index eab0b772336bb..509c6e65524b3 100644 --- a/pkgs/by-name/th/the-legend-of-edgar/package.nix +++ b/pkgs/by-name/th/the-legend-of-edgar/package.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.parallelrealities.co.uk/games/edgar"; - description = "A 2D platform game with a persistent world"; + description = "2D platform game with a persistent world"; longDescription = '' When Edgar's father fails to return home after venturing out one dark and stormy night, Edgar fears the worst: he has been captured by the evil diff --git a/pkgs/by-name/th/the-powder-toy/package.nix b/pkgs/by-name/th/the-powder-toy/package.nix new file mode 100644 index 0000000000000..25da4e5d88183 --- /dev/null +++ b/pkgs/by-name/th/the-powder-toy/package.nix @@ -0,0 +1,75 @@ +{ + bzip2, + Cocoa, + copyDesktopItems, + curl, + fetchFromGitHub, + fftwFloat, + jsoncpp, + lib, + libpng, + lua, + luajit, + meson, + ninja, + pkg-config, + SDL2, + stdenv, + zlib, +}: +stdenv.mkDerivation rec { + pname = "the-powder-toy"; + version = "98.2.365"; + + src = fetchFromGitHub { + owner = "The-Powder-Toy"; + repo = "The-Powder-Toy"; + rev = "refs/tags/v${version}"; + hash = "sha256-S2aUa25EnUfX6ShW6D+wHrsTLxTcCFcZ/uLE9EWGu4Q="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + ] ++ lib.optional stdenv.isLinux copyDesktopItems; + + buildInputs = [ + bzip2 + curl + fftwFloat + jsoncpp + libpng + lua + luajit + SDL2 + zlib + ] ++ lib.optional stdenv.isDarwin Cocoa; + + mesonFlags = [ "-Dworkaround_elusive_bzip2=false" ]; + + installPhase = '' + runHook preInstall + + install -Dm 755 powder $out/bin/powder + + mkdir -p $out/share + mv ../resources $out/share + + runHook postInstall + ''; + + desktopItems = [ "resources/powder.desktop" ]; + + meta = with lib; { + description = "Free 2D physics sandbox game"; + homepage = "https://powdertoy.co.uk/"; + platforms = platforms.unix; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ + abbradar + siraben + ]; + mainProgram = "powder"; + }; +} diff --git a/pkgs/by-name/th/themix-gui/package.nix b/pkgs/by-name/th/themix-gui/package.nix index c73724a0ca272..8393884cb5c2c 100644 --- a/pkgs/by-name/th/themix-gui/package.nix +++ b/pkgs/by-name/th/themix-gui/package.nix @@ -8,7 +8,7 @@ , gtk3 , python3 , fetchFromGitHub -, wrapGAppsHook +, wrapGAppsHook3 }: let @@ -33,7 +33,7 @@ stdenv.mkDerivation { gobject-introspection py sassc - wrapGAppsHook + wrapGAppsHook3 ]; buildInputs = [ @@ -72,7 +72,7 @@ stdenv.mkDerivation { homepage = "https://github.com/themix-project/themix-gui"; license = lib.licenses.gpl3Only; mainProgram = "themix-gui"; - maintainers = with lib.maintainers; [ eclairevoyant ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; } |