tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #109242: vorbis-tools: 1.4.0 -> 1.4.2
Vladimír Čunát
5 years ago
cf8ad5ef
a0ee2b05
+13
-20
2 changed files
expand all
collapse all
unified
split
pkgs
applications
audio
vorbis-tools
default.nix
top-level
all-packages.nix
+10
-19
pkgs/applications/audio/vorbis-tools/default.nix
···
1
-
{ lib, stdenv, fetchurl, fetchzip, libogg, libvorbis, libao, pkg-config, curl
2
-
, speex, flac }:
0
0
0
0
0
3
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";
12
src = fetchurl {
13
-
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz";
14
-
sha256 = "1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3";
15
};
16
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 ];
24
buildInputs = [ libogg libvorbis libao curl speex flac ];
25
26
meta = with lib; {
···
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";
8
0
0
0
0
0
0
0
0
9
src = fetchurl {
10
+
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-${version}.tar.gz";
11
+
sha256 = "1c7h4ivgfdyygz2hyh6nfibxlkz8kdk868a576qkkjgj5gn78xyv";
12
};
13
14
+
nativeBuildInputs = [ autoreconfHook pkg-config ];
0
0
0
0
0
0
15
buildInputs = [ libogg libvorbis libao curl speex flac ];
16
17
meta = with lib; {
+3
-1
pkgs/top-level/all-packages.nix
···
25528
25529
volnoti = callPackage ../applications/misc/volnoti { };
25530
25531
-
vorbis-tools = callPackage ../applications/audio/vorbis-tools { };
0
0
25532
25533
vscode = callPackage ../applications/editors/vscode/vscode.nix { };
25534
···
25528
25529
volnoti = callPackage ../applications/misc/volnoti { };
25530
25531
+
vorbis-tools = callPackage ../applications/audio/vorbis-tools {
25532
+
autoreconfHook = buildPackages.autoreconfHook269;
25533
+
};
25534
25535
vscode = callPackage ../applications/editors/vscode/vscode.nix { };
25536