nixpkgs/pkgs/development/libraries/wavpack/default.nix
Alyssa Ross 13c8b7fbec
wavpack: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-01-25 21:27:04 +00:00

31 lines
808 B
Nix

{ lib, stdenv, fetchFromGitHub, gettext, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "wavpack";
version = "5.5.0";
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libiconv ];
# autogen.sh:9
preAutoreconf = "cp ${gettext}/share/gettext/config.rpath .";
src = fetchFromGitHub {
owner = "dbry";
repo = "WavPack";
rev = version;
hash = "sha256-4QDtLywu0PT+YsMV26M74bL2P7p4s1tk8ZBQtQcubaU=";
};
meta = with lib; {
description = "Hybrid audio compression format";
homepage = "https://www.wavpack.com/";
changelog = "https://github.com/dbry/WavPack/releases/tag/${version}";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ codyopel ];
};
}