diff options
| author | pancaek <20342389+pancaek@users.noreply.github.com> | 2026-01-03 12:15:19 -0800 |
|---|---|---|
| committer | pancaek <20342389+pancaek@users.noreply.github.com> | 2026-01-03 12:47:40 -0800 |
| commit | 12fced4f0ebb159fa2b382bb6f863bb40916169b (patch) | |
| tree | 15c027e02890ba03b6dadf23098bb29938792752 /pkgs/games | |
| parent | tree-sitter-grammars.tree-sitter-razor: note maintainer and license (#476656) (diff) | |
| download | nixpkgs-12fced4f0ebb159fa2b382bb6f863bb40916169b.tar.gz | |
fltrator: move to by-name/
Diffstat (limited to 'pkgs/games')
| -rw-r--r-- | pkgs/games/fltrator/default.nix | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/pkgs/games/fltrator/default.nix b/pkgs/games/fltrator/default.nix deleted file mode 100644 index 63d80f7b34f2..000000000000 --- a/pkgs/games/fltrator/default.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - unzip, - fltk, - which, - libjpeg, -}: - -stdenv.mkDerivation rec { - pname = "fltrator"; - version = "2.3"; - - src = fetchurl { - url = "mirror://sourceforge/fltrator/fltrator-${version}-code.zip"; - sha256 = "125aqq1sfrm0c9cm6gyylwdmc8xrb0rjf563xvw7q28sdbl6ayp7"; - }; - - buildInputs = [ - fltk - libjpeg - ]; - nativeBuildInputs = [ - unzip - which - ]; - - postPatch = '' - substituteInPlace src/fltrator.cxx\ - --replace 'home += "fltrator/"' "home = \"$out/fltrator/\"" - substituteInPlace src/fltrator-landscape.cxx\ - --replace 'home += "fltrator/"' "home = \"$out/fltrator/\"" - substituteInPlace rsc/fltrator.desktop \ - --replace 'Exec=fltrator' "Exec=$out/bin/fltrator" - ''; - - dontAddPrefix = true; - - makeFlags = [ - "HOME=$(out)" - "RSC_PATH=$(out)/fltrator" - ]; - - postInstall = '' - mkdir -p $out/share/applications - cp rsc/fltrator.desktop $out/share/applications - mkdir -p $out/share/icons/hicolor/128x128/apps/ - cp rsc/fltrator-128.png $out/share/icons/hicolor/128x128/apps/fltrator2.png - ''; - - meta = { - description = "Simple retro style arcade side-scroller game"; - longDescription = '' - FLTrator is a simple retro style arcade side-scroller game in which you steer a spaceship through a landscape with hostile rockets and other obstacles. - It has ten different levels and a level editor to create new levels or modify the existing. - ''; # from https://libregamewiki.org/FLTrator - homepage = "https://fltrator.sourceforge.net/"; - platforms = lib.platforms.linux; - maintainers = [ lib.maintainers.marius851000 ]; - license = lib.licenses.gpl3; - }; - -} |
