mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
25 lines
723 B
Nix
25 lines
723 B
Nix
{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sndio";
|
|
version = "1.8.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.sndio.org/sndio-${version}.tar.gz";
|
|
sha256 = "08b33bbrhbva1lyzzsj5k6ggcqzrfjfhb2n99a0b8b07kqc3f7gq";
|
|
};
|
|
|
|
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
|
buildInputs = lib.optional stdenv.hostPlatform.isLinux alsa-lib;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.sndio.org";
|
|
description = "Small audio and MIDI framework part of the OpenBSD project";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ chiiruno ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|