tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
ptlib: bump version and fix build for ZHF
Luca Bruno
11 years ago
59cfbf4d
52d9c93a
+18
-34
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
ptlib
default.nix
+18
-34
pkgs/development/libraries/ptlib/default.nix
···
1
-
x@{builderDefsPackage
2
-
, autoconf, automake, libtool, doxygen, pkgconfig, bison, flex, unixODBC
3
-
, openssl, openldap, cyrus_sasl, krb5, expat, SDL, libdv, libv4l, alsaLib
4
-
, ...}:
5
-
builderDefsPackage
6
-
(a :
7
-
let
8
-
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
9
-
[];
10
11
-
buildInputs = map (n: builtins.getAttr n x)
12
-
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
13
-
sourceInfo = rec {
14
-
baseName="ptlib";
15
-
baseVersion="2.6";
16
-
patchlevel="7";
17
-
version="${baseVersion}.${patchlevel}";
18
-
name="${baseName}-${version}";
19
-
url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
20
-
hash="0zxrygl2ivbciqf97yd9n67ch9vd9gp236w96i6ia8fxzqjq5lkx";
21
-
};
22
-
in
23
-
rec {
24
-
src = a.fetchurl {
25
-
url = sourceInfo.url;
26
-
sha256 = sourceInfo.hash;
27
};
28
29
-
inherit (sourceInfo) name version;
30
-
inherit buildInputs;
31
32
-
/* doConfigure should be removed if not needed */
33
-
phaseNames = ["doConfigure" "doMakeInstall"];
0
34
35
-
meta = {
36
description = "Portable Tools from OPAL VoIP";
37
-
maintainers = [ a.lib.maintainers.raskin ];
38
-
platforms = a.lib.platforms.linux;
39
-
broken = true;
40
};
0
41
passthru = {
42
updateInfo = {
43
downloadPage = "http://ftp.gnome.org/sources/ptlib/";
44
};
45
};
46
-
}) x
47
···
1
+
{ stdenv, fetchurl, pkgconfig, bison, flex, unixODBC
2
+
, openssl, openldap, cyrus_sasl, krb5, expat, SDL, libdv, libv4l, alsaLib }:
0
0
0
0
0
0
0
3
4
+
stdenv.mkDerivation rec {
5
+
name = "ptlib-2.10.10";
6
+
7
+
src = fetchurl {
8
+
url = "mirror://gnome/sources/ptlib/2.10/${name}.tar.xz";
9
+
sha256 = "7fcaabe194cbd3bc0b370b951dffd19cfe7ea0298bfff6aecee948e97f3207e4";
0
0
0
0
0
0
0
0
0
0
10
};
11
12
+
buildInputs = [ pkgconfig bison flex unixODBC openssl openldap
13
+
cyrus_sasl krb5 expat SDL libdv libv4l alsaLib ];
14
15
+
enableParallelBuilding = true;
16
+
17
+
patches = [ ./bison.patch ];
18
19
+
meta = with stdenv.lib; {
20
description = "Portable Tools from OPAL VoIP";
21
+
maintainers = [ maintainers.raskin ];
22
+
platforms = platforms.linux;
0
23
};
24
+
25
passthru = {
26
updateInfo = {
27
downloadPage = "http://ftp.gnome.org/sources/ptlib/";
28
};
29
};
30
+
}
31