vorbis-tools: 1.4.0 -> 1.4.2
This commit is contained in:
parent
b237f724fc
commit
545ae40ba3
@ -1,26 +1,17 @@
|
|||||||
{ lib, stdenv, fetchurl, fetchzip, libogg, libvorbis, libao, pkg-config, curl
|
{ lib, stdenv, fetchurl, libogg, libvorbis, libao, pkg-config, curl
|
||||||
, speex, flac }:
|
, speex, flac
|
||||||
|
, autoreconfHook }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "vorbis-tools";
|
||||||
|
version = "1.4.2";
|
||||||
|
|
||||||
let
|
|
||||||
debPatch = fetchzip {
|
|
||||||
url = "mirror://debian/pool/main/v/vorbis-tools/vorbis-tools_1.4.0-11.debian.tar.xz";
|
|
||||||
sha256 = "0kvmd5nslyqplkdb7pnmqj47ir3y5lmaxd12wmrnqh679a8jhcyi";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "vorbis-tools-1.4.0";
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz";
|
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-${version}.tar.gz";
|
||||||
sha256 = "1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3";
|
sha256 = "1c7h4ivgfdyygz2hyh6nfibxlkz8kdk868a576qkkjgj5gn78xyv";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
for patch in $(ls "${debPatch}"/patches/*.{diff,patch} | grep -v debian_subdir)
|
|
||||||
do patch -p1 < "$patch"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [ libogg libvorbis libao curl speex flac ];
|
buildInputs = [ libogg libvorbis libao curl speex flac ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -25426,7 +25426,9 @@ in
|
|||||||
|
|
||||||
volnoti = callPackage ../applications/misc/volnoti { };
|
volnoti = callPackage ../applications/misc/volnoti { };
|
||||||
|
|
||||||
vorbis-tools = callPackage ../applications/audio/vorbis-tools { };
|
vorbis-tools = callPackage ../applications/audio/vorbis-tools {
|
||||||
|
autoreconfHook = buildPackages.autoreconfHook269;
|
||||||
|
};
|
||||||
|
|
||||||
vscode = callPackage ../applications/editors/vscode/vscode.nix { };
|
vscode = callPackage ../applications/editors/vscode/vscode.nix { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user