1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/misc/sndio/default.nix

25 lines
723 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, alsa-lib, fixDarwinDylibNames }:
2018-06-17 21:50:47 +01:00
stdenv.mkDerivation rec {
pname = "sndio";
2021-08-11 22:06:39 +01:00
version = "1.8.1";
2018-06-17 21:50:47 +01:00
src = fetchurl {
2021-08-11 22:06:39 +01:00
url = "https://www.sndio.org/sndio-${version}.tar.gz";
sha256 = "08b33bbrhbva1lyzzsj5k6ggcqzrfjfhb2n99a0b8b07kqc3f7gq";
2018-06-17 21:50:47 +01:00
};
2021-05-12 18:56:23 +01:00
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
buildInputs = lib.optional stdenv.hostPlatform.isLinux alsa-lib;
2021-05-12 18:56:23 +01:00
enableParallelBuilding = true;
meta = with lib; {
2021-08-11 22:06:39 +01:00
homepage = "https://www.sndio.org";
2018-06-17 21:50:47 +01:00
description = "Small audio and MIDI framework part of the OpenBSD project";
license = licenses.isc;
maintainers = with maintainers; [ chiiruno ];
platforms = platforms.all;
};
}