sndio: 1.9.0 -> 1.10.0

This commit is contained in:
Sergei Trofimovich 2024-08-06 21:56:15 +01:00
parent a2333015bd
commit 1ed6ea6793

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";