2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsaLib, fixDarwinDylibNames }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sndio";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
2020-11-12 09:05:59 +00:00
|
|
|
nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isLinux alsaLib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.sndio.org/sndio-${version}.tar.gz";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "0ljmac0lnjn61admgbcwjfcr5fwccrsblx9rj9bys8wlhz8f796x";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.sndio.org";
|
|
|
|
description = "Small audio and MIDI framework part of the OpenBSD project";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|