space-cadet-pinball: unstable-2021-12-02 -> 2.0.1

This commit is contained in:
hqurve 2021-12-31 19:59:33 -04:00
parent 796af3ddba
commit 6e6cd3e0ba

View file

@ -1,6 +1,7 @@
{ lib, stdenv, fetchFromGitHub, fetchzip
, cmake, SDL2, SDL2_mixer
, unrar-wrapper, makeWrapper
, fetchpatch
}:
let
@ -14,15 +15,24 @@ let
in
stdenv.mkDerivation rec {
pname = "SpaceCadetPinball";
version = "unstable-2021-12-02";
version = "2.0.1";
src = fetchFromGitHub {
owner = "k4zmu2a";
repo = pname;
rev = "de13d4e326b2dfa8e6dfb59815c0a8b9657f942d";
sha256 = "sha256-/nk4kNsmL1z2rKgV1dh9gcVjp8xJwovhE6/u2aNl/fA=";
rev = "Release_${version}";
sha256 = "sha256-LmYplJr1Mg4yNg9eP02FXf9mL1FnzNBhpted3GpmlQ0=";
};
patches = [
# remove when updating past 2.0.1
(fetchpatch {
name = "fix-install-directories";
url = "https://github.com/k4zmu2a/SpaceCadetPinball/commit/d8ee1b9bfeee21d3981a40e735411393392bc1f6.patch";
sha256 = "sha256-BtCDJ+a9AFaOM8nyId0eU9GN/gUQT2kFCO4RIVTzZlE=";
})
];
buildInputs = [
SDL2
SDL2_mixer