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
1
-
{ lib, stdenv, fetchurl, fetchzip, libogg, libvorbis, libao, pkg-config, curl
2
2
-
, speex, flac }:
1
1
+
{ lib, stdenv, fetchurl, libogg, libvorbis, libao, pkg-config, curl
2
2
+
, speex, flac
3
3
+
, autoreconfHook }:
4
4
+
5
5
+
stdenv.mkDerivation rec {
6
6
+
pname = "vorbis-tools";
7
7
+
version = "1.4.2";
3
8
4
4
-
let
5
5
-
debPatch = fetchzip {
6
6
-
url = "mirror://debian/pool/main/v/vorbis-tools/vorbis-tools_1.4.0-11.debian.tar.xz";
7
7
-
sha256 = "0kvmd5nslyqplkdb7pnmqj47ir3y5lmaxd12wmrnqh679a8jhcyi";
8
8
-
};
9
9
-
in
10
10
-
stdenv.mkDerivation {
11
11
-
name = "vorbis-tools-1.4.0";
12
9
src = fetchurl {
13
13
-
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz";
14
14
-
sha256 = "1g12bnh5ah08v529y72kfdz5lhvy75iaz7f9jskyby23m9dkk2d3";
10
10
+
url = "http://downloads.xiph.org/releases/vorbis/vorbis-tools-${version}.tar.gz";
11
11
+
sha256 = "1c7h4ivgfdyygz2hyh6nfibxlkz8kdk868a576qkkjgj5gn78xyv";
15
12
};
16
13
17
17
-
postPatch = ''
18
18
-
for patch in $(ls "${debPatch}"/patches/*.{diff,patch} | grep -v debian_subdir)
19
19
-
do patch -p1 < "$patch"
20
20
-
done
21
21
-
'';
22
22
-
23
23
-
nativeBuildInputs = [ pkg-config ];
14
14
+
nativeBuildInputs = [ autoreconfHook pkg-config ];
24
15
buildInputs = [ libogg libvorbis libao curl speex flac ];
25
16
26
17
meta = with lib; {
+3
-1
pkgs/top-level/all-packages.nix
···
25528
25528
25529
25529
volnoti = callPackage ../applications/misc/volnoti { };
25530
25530
25531
25531
-
vorbis-tools = callPackage ../applications/audio/vorbis-tools { };
25531
25531
+
vorbis-tools = callPackage ../applications/audio/vorbis-tools {
25532
25532
+
autoreconfHook = buildPackages.autoreconfHook269;
25533
25533
+
};
25532
25534
25533
25535
vscode = callPackage ../applications/editors/vscode/vscode.nix { };
25534
25536