diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-03-23 15:27:39 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-03-25 19:30:11 +0800 |
commit | 8d2df0f499865996db4a8b1819b20afd37d2e7bc (patch) | |
tree | f31b57d98f936cbb088d1ffcc696fe1d8d744e75 /pkgs | |
parent | 28a3079831a92096b1fd45c18ad55453f14695dd (diff) |
remove junk
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/games/airshipper/default.nix.orig | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/pkgs/games/airshipper/default.nix.orig b/pkgs/games/airshipper/default.nix.orig deleted file mode 100644 index 4474d09659e5..000000000000 --- a/pkgs/games/airshipper/default.nix.orig +++ /dev/null @@ -1,84 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitLab -, fetchpatch -, openssl -, vulkan-loader -, wayland -, wayland-protocols -, libxkbcommon -, libX11 -, libXrandr -, libXi -, libXcursor -, pkg-config -, makeWrapper -}: - -rustPlatform.buildRustPackage rec { - pname = "airshipper"; - version = "0.7.0"; - - src = fetchFromGitLab { - owner = "Veloren"; - repo = "airshipper"; - rev = "v${version}"; - sha256 = "sha256-nOE9ZNHxLEAnMkuBSpxmeq3DxkRIlcoase6AxU+eFug="; - }; - - patches = [ - # this *should* be merged in time for the release following 0.7.0 - (fetchpatch { - url = "https://github.com/veloren/Airshipper/commit/97fc986ab4cbf59f2c764f647710f19db86031b4.patch"; - hash = "sha256-Sg5et+yP6Z44wV/t9zqKLpg1C0cq6rV+3WrzAH4Za3U="; - }) - ]; - - cargoSha256 = "sha256-s3seKVEhXyOVlt3a8cubzRWoB4SVQpdCmq12y0FpDUw="; - - buildInputs = [ - openssl - wayland - wayland-protocols - libxkbcommon - libX11 - libXrandr - libXi - libXcursor - ]; - nativeBuildInputs = [ pkg-config makeWrapper ]; - - postInstall = '' - mkdir -p "$out/share/applications" && mkdir -p "$out/share/icons" - cp "client/assets/net.veloren.airshipper.desktop" "$out/share/applications" - cp "client/assets/logo.ico" "$out/share/icons/net.veloren.airshipper.ico" - ''; - - postFixup = - let - libPath = lib.makeLibraryPath [ - vulkan-loader - wayland - wayland-protocols - libxkbcommon - libX11 - libXrandr - libXi - libXcursor - ]; - in - '' - patchelf --set-rpath "${libPath}" "$out/bin/airshipper" - ''; - - doCheck = false; - cargoBuildFlags = [ "--package" "airshipper" ]; - cargoTestFlags = [ "--package" "airshipper" ]; - - meta = with lib; { - description = "Provides automatic updates for the voxel RPG Veloren."; - homepage = "https://www.veloren.net"; - license = licenses.gpl3; - maintainers = with maintainers; [ yusdacra ]; - }; -} |