Unverified Commit 1b2b5a56 authored by Emily's avatar Emily Committed by GitHub
Browse files

sndio: 1.9.0 -> 1.10.0 (#332825)

parents e2f080bd 1ed6ea67
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
{ 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";