depot/third_party/nixpkgs/pkgs/development/libraries/wavpack/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

32 lines
850 B
Nix

{ lib, stdenv, fetchFromGitHub, gettext, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "wavpack";
version = "5.7.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-vFZxg1mVqE7Kp38vEGA5V8m2tjqhssFsUZURixhlfk0=";
};
outputs = [ "out" "dev" "doc" "man" ];
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 ];
};
}