Skip to content

Commit c733733

Browse files
committed
dreamm: 3.0.3 -> 4.0b17
1 parent 700de31 commit c733733

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

pkgs/dreamm/default.nix

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
stdenv,
44
fetchzip,
55
fetchurl,
6+
autoAddDriverRunpath,
67
autoPatchelfHook,
78
makeDesktopItem,
89
copyDesktopItems,
910
alsa-lib,
1011
curl,
1112
SDL2,
13+
libgbm,
14+
libxcb,
1215
}:
1316

1417
let
@@ -20,7 +23,7 @@ let
2023
in
2124
stdenv.mkDerivation rec {
2225
pname = "dreamm";
23-
version = "3.0.3";
26+
version = "4.0b17";
2427

2528
src =
2629
let
@@ -31,17 +34,18 @@ stdenv.mkDerivation rec {
3134
aarch64-linux = "linux-arm64";
3235
};
3336
hash = selectSystem {
34-
x86_64-linux = "sha256-lVgt0SVm8ml1nFTDXnXpaYRI+1HDVwtLIztAq+re00E=";
35-
aarch64-linux = "sha256-zG/8ie3p9WI7D5ukVp8cQm+zhWysnzQ8qG5vrHIdyLs=";
37+
x86_64-linux = "sha256-FY7wCiNv86NeKkV/nB+Ty5yAIO7VClNm3rpRaDqjie8=";
38+
aarch64-linux = "";
3639
};
3740
in
3841
fetchzip {
39-
url = "https://aarongiles.com/dreamm/releases/dreamm-${version}-${suffix}.tgz";
42+
url = "https://aarongiles.com/dreamm/releases/4.0/dreamm-${version}-${suffix}.tgz";
4043
inherit hash;
4144
stripRoot = false;
4245
};
4346

4447
nativeBuildInputs = [
48+
autoAddDriverRunpath
4549
autoPatchelfHook
4650
copyDesktopItems
4751
];
@@ -52,10 +56,14 @@ stdenv.mkDerivation rec {
5256
SDL2
5357
];
5458

59+
runtimeDependencies = [
60+
libgbm
61+
libxcb
62+
];
63+
5564
installPhase = ''
5665
runHook preInstall
5766
install -D dreamm $out/bin/dreamm
58-
install -D mt32emu-dreamm.so $out/bin/mt32emu-dreamm.so
5967
runHook postInstall
6068
'';
6169

0 commit comments

Comments
 (0)