forked from mirrors/nixpkgs
miniaudio: init at unstable-2020-04-20
This commit is contained in:
parent
cfbb759d33
commit
95b2194725
28
pkgs/development/libraries/miniaudio/default.nix
Normal file
28
pkgs/development/libraries/miniaudio/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "miniaudio";
|
||||
version = "unstable-2020-04-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mackron";
|
||||
repo = "miniaudio";
|
||||
rev = "4d813cfe23c28db165cce6785419fee9d2399766";
|
||||
sha256 = "sha256-efZLZTmkLtvcysd25olDE/QqunU5YTYwSVmUZXPKGIY=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r $src/* $out/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Single header audio playback and capture library written in C.";
|
||||
homepage = "https://github.com/mackron/miniaudio";
|
||||
license = licenses.unlicense;
|
||||
maintainers = [ maintainers.jansol ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -20727,6 +20727,8 @@ with pkgs;
|
|||
|
||||
mimalloc = callPackage ../development/libraries/mimalloc { };
|
||||
|
||||
miniaudio = callPackage ../development/libraries/miniaudio { };
|
||||
|
||||
miniz = callPackage ../development/libraries/miniz { };
|
||||
|
||||
minizip = callPackage ../development/libraries/minizip { };
|
||||
|
|
Loading…
Reference in a new issue