depot/third_party/nixpkgs/pkgs/development/libraries/dab_lib/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

28 lines
737 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, faad2, fftwFloat, zlib
}:
stdenv.mkDerivation {
pname = "dab_lib";
version = "unstable-2021-12-28";
src = fetchFromGitHub {
owner = "JvanKatwijk";
repo = "dab-cmdline";
rev = "d23adb3616bb11d98a909aceecb5a3b9507a674c";
sha256 = "sha256-n/mgsldgXEOLHZEL1cmsqXgFXByWoMeNXNoDWqPpipA=";
};
sourceRoot = "source/library/";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ faad2 fftwFloat zlib ];
meta = with lib; {
description = "DAB/DAB+ decoding library";
homepage = "https://github.com/JvanKatwijk/dab-cmdline";
license = licenses.gpl2;
maintainers = with maintainers; [ alexwinter ];
platforms = platforms.linux;
};
}