diff options
author | Jan Solanti <jhs@psonet.com> | 2022-09-20 02:33:52 +0300 |
---|---|---|
committer | Jan Solanti <jhs@psonet.com> | 2022-09-27 01:33:10 +0300 |
commit | 95b21947256640b4ac625e1650d0d7ff8be881fb (patch) | |
tree | 6818254b1e035d6309c6405f43a4e6b4004222e1 /pkgs/development/libraries/miniaudio | |
parent | cfbb759d33e787e72684010e8c94d21d88b9b249 (diff) |
miniaudio: init at unstable-2020-04-20
Diffstat (limited to 'pkgs/development/libraries/miniaudio')
-rw-r--r-- | pkgs/development/libraries/miniaudio/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/miniaudio/default.nix b/pkgs/development/libraries/miniaudio/default.nix new file mode 100644 index 0000000000000..3b8be7b149c66 --- /dev/null +++ b/pkgs/development/libraries/miniaudio/default.nix @@ -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; + }; +} |