sndio: 1.9.0 -> 1.10.0 (#332825)

This commit is contained in:
Emily 2024-09-03 04:12:44 +01:00 committed by GitHub
commit 1b2b5a5625
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }:
{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames, gitUpdater }:
stdenv.mkDerivation (finalAttrs: {
pname = "sndio";
version = "1.9.0";
version = "1.10.0";
src = fetchurl {
url = "https://www.sndio.org/sndio-${finalAttrs.version}.tar.gz";
hash = "sha256-8wgm/JwH42nTkk1fzt9qClPA30rh9atQ/pzygFQPaZo=";
hash = "sha256-vr07/QHFDJN2zz54FLk3m+2eF9A5O1ETt+t6PQ0DjFQ=";
};
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
@ -18,6 +18,13 @@ stdenv.mkDerivation (finalAttrs: {
'';
enableParallelBuilding = true;
# does not provide --disable-static
dontDisableStatic = true;
passthru.updateScript = gitUpdater {
url = "https://sndio.org/git/sndio";
rev-prefix = "v";
};
meta = {
homepage = "https://www.sndio.org";