3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/sndio/default.nix

23 lines
733 B
Nix
Raw Normal View History

{ stdenv, fetchurl, alsaLib, fixDarwinDylibNames }:
2018-06-17 21:50:47 +01:00
stdenv.mkDerivation rec {
pname = "sndio";
version = "1.7.0";
2018-06-17 21:50:47 +01:00
enableParallelBuilding = true;
nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isLinux alsaLib;
2018-06-17 21:50:47 +01:00
src = fetchurl {
url = "http://www.sndio.org/sndio-${version}.tar.gz";
sha256 = "0ljmac0lnjn61admgbcwjfcr5fwccrsblx9rj9bys8wlhz8f796x";
2018-06-17 21:50:47 +01:00
};
meta = with stdenv.lib; {
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;
};
}