git.iko.soy/typeable/nixpkgs
on master help sign in
vorbis-tools: 1.4.0 -> 1.4.2
commit545ae40ba357cfe674eb8f38b2a0ec5b3b0b608e authorajs124 <git@ajs124.de> dateWed 13 Jan 2021, 01:48 (6 years ago) parentb237f72
2 files changed+13−20
pkgs/applications/audio/vorbis-tools/default.nix+10−19 pkgs/top-level/all-packages.nix+3−1
pkgs/applications/audio/vorbis-tools/default.nix+10−19
@@ -1,26 +1,17 @@
1−{ lib, stdenv, fetchurl, fetchzip, libogg, libvorbis, libao, pkg-config, curl
2−, speex, flac }:
1+{ lib, stdenv, fetchurl, libogg, libvorbis, libao, pkg-config, curl
2+, speex, flac
3+, autoreconfHook }:
4+
5+stdenv.mkDerivation rec {
6+ pname = "vorbis-tools";
7+ version = "1.4.2";
38
4−let
5− debPatch = fetchzip {
6− url = "mirror://debian/pool/main/v/vorbis-tools/vorbis-tools_1.4.0-11.debian.tar.xz";
7− sha256 = "0kvmd5nslyqplkdb7pnmqj47ir3y5lmaxd12wmrnqh679a8jhcyi";
8− };
9−in
10−stdenv.mkDerivation {
11− name = "vorbis-tools-1.4.0";
129 src = fetchurl {
13− url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz";
14− sha256 = "1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3";
10+ url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-${version}.tar.gz";
11+ sha256 = "1c7h4ivgfdyygz2hyh6nfibxlkz8kdk868a576qkkjgj5gn78xyv";
1512 };
1613
17− postPatch = ''
18− for patch in $(ls "${debPatch}"/patches/*.{diff,patch} | grep -v debian_subdir)
19− do patch -p1 < "$patch"
20− done
21− '';
22−
23− nativeBuildInputs = [ pkg-config ];
14+ nativeBuildInputs = [ autoreconfHook pkg-config ];
2415 buildInputs = [ libogg libvorbis libao curl speex flac ];
2516
2617 meta = with lib; {
pkgs/top-level/all-packages.nix+3−1
@@ -25426,7 +25426,9 @@ in
2542625426
2542725427 volnoti = callPackage ../applications/misc/volnoti { };
2542825428
25429− vorbis-tools = callPackage ../applications/audio/vorbis-tools { };
25429+ vorbis-tools = callPackage ../applications/audio/vorbis-tools {
25430+ autoreconfHook = buildPackages.autoreconfHook269;
25431+ };
2543025432
2543125433 vscode = callPackage ../applications/editors/vscode/vscode.nix { };
2543225434