outfly: init at v0.14.0 (#337116)

authored by

Wolfgang Walther and committed by
GitHub
3d3a90ce ebf61773

+85
+5
maintainers/maintainer-list.nix
··· 262 262 githubId = 12578560; 263 263 name = "Quinn Bohner"; 264 264 }; 265 + _71rd = { 266 + name = "71rd"; 267 + github = "71rd"; 268 + githubId = 69214273; 269 + }; 265 270 _71zenith = { 266 271 email = "71zenith@proton.me"; 267 272 github = "71zenith";
+80
pkgs/by-name/ou/outfly/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitea, 4 + rustPlatform, 5 + makeDesktopItem, 6 + pkg-config, 7 + libxkbcommon, 8 + alsa-lib, 9 + libGL, 10 + vulkan-loader, 11 + wayland, 12 + libXrandr, 13 + libXcursor, 14 + libX11, 15 + libXi, 16 + }: 17 + 18 + rustPlatform.buildRustPackage rec { 19 + pname = "outfly"; 20 + version = "0.14.0"; 21 + src = fetchFromGitea { 22 + domain = "codeberg.org"; 23 + owner = "outfly"; 24 + repo = "outfly"; 25 + rev = "refs/tags/v${version}"; 26 + hash = "sha256-FRvu3FgbT3i5888ll573nhb7naYx04Oi8nrcfgEHxUo="; 27 + }; 28 + 29 + runtimeInputs = [ 30 + libxkbcommon 31 + libGL 32 + libXrandr 33 + libX11 34 + vulkan-loader 35 + ]; 36 + 37 + buildInputs = [ 38 + alsa-lib.dev 39 + libXcursor 40 + libXi 41 + wayland 42 + ]; 43 + 44 + nativeBuildInputs = [ pkg-config ]; 45 + doCheck = false; # no meaningful tests 46 + 47 + postFixup = '' 48 + patchelf $out/bin/outfly \ 49 + --add-rpath ${lib.makeLibraryPath runtimeInputs} 50 + ''; 51 + 52 + cargoHash = "sha256-Hs7IxDildYzDYMUjv7fN1cUArKNehX2al++g/DoZ7rk="; 53 + 54 + desktopItems = [ 55 + (makeDesktopItem { 56 + name = "outfly"; 57 + exec = "outfly"; 58 + desktopName = "OutFly"; 59 + categories = [ "Game" ]; 60 + }) 61 + ]; 62 + meta = { 63 + description = "Breathtaking 3D space game in the rings of Jupiter"; 64 + homepage = "https://yunicode.itch.io/outfly"; 65 + downloadPage = "https://codeberg.org/outfly/outfly/releases"; 66 + changelog = "https://codeberg.org/outfly/outfly/releases/tag/v${version}"; 67 + license = with lib.licenses; [ 68 + cc-by-30 69 + cc-by-40 70 + cc-by-sa-20 71 + cc-by-sa-30 72 + cc0 73 + gpl3 74 + ofl 75 + publicDomain 76 + ]; 77 + maintainers = with lib.maintainers; [ _71rd ]; 78 + mainProgram = "outfly"; 79 + }; 80 + }