mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
space-cadet-pinball: format with nixfmt-rfc-style
This commit is contained in:
parent
4a68949c7e
commit
3246cfb7bf
@ -1,16 +1,26 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fetchzip
|
{
|
||||||
, cmake, SDL2, SDL2_mixer, Cocoa
|
lib,
|
||||||
, unrar-wrapper, makeWrapper
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
fetchzip,
|
||||||
|
cmake,
|
||||||
|
SDL2,
|
||||||
|
SDL2_mixer,
|
||||||
|
Cocoa,
|
||||||
|
unrar-wrapper,
|
||||||
|
makeWrapper,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
assets = (fetchzip {
|
assets =
|
||||||
url = "https://archive.org/download/SpaceCadet_Plus95/Space_Cadet.rar";
|
(fetchzip {
|
||||||
sha256 = "sha256-fC+zsR8BY6vXpUkVd6i1jF0IZZxVKVvNi6VWCKT+pA4=";
|
url = "https://archive.org/download/SpaceCadet_Plus95/Space_Cadet.rar";
|
||||||
stripRoot = false;
|
sha256 = "sha256-fC+zsR8BY6vXpUkVd6i1jF0IZZxVKVvNi6VWCKT+pA4=";
|
||||||
}).overrideAttrs (old: {
|
stripRoot = false;
|
||||||
nativeBuildInputs = old.nativeBuildInputs ++ [ unrar-wrapper ];
|
}).overrideAttrs
|
||||||
});
|
(old: {
|
||||||
|
nativeBuildInputs = old.nativeBuildInputs ++ [ unrar-wrapper ];
|
||||||
|
});
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "SpaceCadetPinball";
|
pname = "SpaceCadetPinball";
|
||||||
@ -23,7 +33,10 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-W2P7Txv3RtmKhQ5c0+b4ghf+OMsN+ydUZt+6tB+LClM=";
|
hash = "sha256-W2P7Txv3RtmKhQ5c0+b4ghf+OMsN+ydUZt+6tB+LClM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL2
|
SDL2
|
||||||
SDL2_mixer
|
SDL2_mixer
|
||||||
@ -52,7 +65,10 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Reverse engineering of 3D Pinball for Windows – Space Cadet, a game bundled with Windows";
|
description = "Reverse engineering of 3D Pinball for Windows – Space Cadet, a game bundled with Windows";
|
||||||
homepage = "https://github.com/k4zmu2a/SpaceCadetPinball";
|
homepage = "https://github.com/k4zmu2a/SpaceCadetPinball";
|
||||||
# The assets are unfree while the code is labeled as MIT
|
# The assets are unfree while the code is labeled as MIT
|
||||||
license = with licenses; [ unfree mit ];
|
license = with licenses; [
|
||||||
|
unfree
|
||||||
|
mit
|
||||||
|
];
|
||||||
maintainers = [ maintainers.hqurve ];
|
maintainers = [ maintainers.hqurve ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
mainProgram = "SpaceCadetPinball";
|
mainProgram = "SpaceCadetPinball";
|
||||||
|
Loading…
Reference in New Issue
Block a user