1{ lib, stdenv, fetchFromGitHub, gettext, autoreconfHook, libiconv }:
2
3stdenv.mkDerivation rec {
4 pname = "wavpack";
5 version = "5.6.0";
6
7 enableParallelBuilding = true;
8
9 nativeBuildInputs = [ autoreconfHook ];
10 buildInputs = [ libiconv ];
11
12 # autogen.sh:9
13 preAutoreconf = "cp ${gettext}/share/gettext/config.rpath .";
14
15 src = fetchFromGitHub {
16 owner = "dbry";
17 repo = "WavPack";
18 rev = version;
19 hash = "sha256-fWAGE87JTNTnYoxrkMf3I8C53kZrQiiBy3Zyg0cw8Og=";
20 };
21
22 outputs = [ "out" "dev" "doc" "man" ];
23
24 meta = with lib; {
25 description = "Hybrid audio compression format";
26 homepage = "https://www.wavpack.com/";
27 changelog = "https://github.com/dbry/WavPack/releases/tag/${version}";
28 license = licenses.bsd3;
29 platforms = platforms.unix;
30 maintainers = with maintainers; [ codyopel ];
31 };
32}