forked from mirrors/nixpkgs
c778945806
I'm sorry; I didn't notice it contained staging commits. This reverts commit17f5305b6c
, reversing changes made toa8a018ddc0
.
23 lines
701 B
Nix
23 lines
701 B
Nix
{ stdenv, fetchurl, alsaLib, fixDarwinDylibNames }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sndio";
|
|
version = "1.7.0";
|
|
enableParallelBuilding = true;
|
|
buildInputs = stdenv.lib.optionals stdenv.isLinux [ alsaLib ]
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
|
|
|
|
src = fetchurl {
|
|
url = "http://www.sndio.org/sndio-${version}.tar.gz";
|
|
sha256 = "0ljmac0lnjn61admgbcwjfcr5fwccrsblx9rj9bys8wlhz8f796x";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|