mp3blaster: fix build on darwin (#420260)
This commit is contained in:
commit
24d9d8b1fc
@ -8,15 +8,15 @@
|
||||
SDL,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mp3blaster";
|
||||
version = "3.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stragulus";
|
||||
repo = "mp3blaster";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pzwml3yhysn8vyffw9q9p9rs8gixqkmg4n715vm23ib6wxbliqs";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Gke6OjcrDlF3CceSVyfu8SGd0004cef8RlZ76Aet/F8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
(fetchpatch {
|
||||
name = "ncurses-6.3.patch";
|
||||
url = "https://github.com/stragulus/mp3blaster/commit/62168cba5eaba6ffe56943552837cf033cfa96ed.patch";
|
||||
sha256 = "088l27kl1l58lwxfnw5x2n64sdjy925ycphni3icwag7zvpj0xz1";
|
||||
hash = "sha256-4Xcg7/7nKc7iiBZe5otIXjZNjBW9cOs6p6jQQOcRFCE=";
|
||||
})
|
||||
];
|
||||
|
||||
@ -40,14 +40,15 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-reserved-user-defined-literal"
|
||||
"-Wno-register"
|
||||
]
|
||||
);
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Audio player for the text console";
|
||||
homepage = "http://www.mp3blaster.org/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ earldouglas ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ earldouglas ];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user