mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
rec before let
This commit is contained in:
parent
f48f6db38f
commit
8c0b67f6c1
1 changed files with 6 additions and 8 deletions
|
@ -1,9 +1,8 @@
|
|||
{ lib, stdenv, cmake, fetchFromGitHub, libmysofa, zlib }:
|
||||
|
||||
let version = "0.3.0";
|
||||
in stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libspatialaudio";
|
||||
inherit version;
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "videolabs";
|
||||
|
@ -15,13 +14,12 @@ in stdenv.mkDerivation {
|
|||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ libmysofa zlib ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Ambisonic encoding / decoding and binauralization library in C++";
|
||||
homepage = "https://github.com/videolabs/libspatialaudio";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ krav ];
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ krav ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue