tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sip: 4.14.7 -> 4.18.1, drop unused old version
Nikolay Amiantov
9 years ago
3e5bf44a
1c539962
+9
-43
7 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
calibre
default.nix
video
openshot-qt
default.nix
qarte
default.nix
development
python-modules
sip
4.16.nix
default.nix
top-level
all-packages.nix
python-packages.nix
+3
-3
pkgs/applications/misc/calibre/default.nix
···
1
1
-
{ stdenv, fetchurl, python, pyqt5, sip_4_16, poppler_utils, pkgconfig, libpng
1
1
+
{ stdenv, fetchurl, python, pyqt5, sip, poppler_utils, pkgconfig, libpng
2
2
, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmakeHook, icu, sqlite
3
3
, makeWrapper, unrarSupport ? false, chmlib, pythonPackages, xz, libusb1, libmtp
4
4
, xdg_utils, makeDesktopItem
···
35
35
nativeBuildInputs = [ makeWrapper pkgconfig qmakeHook ];
36
36
37
37
buildInputs =
38
38
-
[ python pyqt5 sip_4_16 poppler_utils libpng imagemagick libjpeg
38
38
+
[ python pyqt5 sip poppler_utils libpng imagemagick libjpeg
39
39
fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils
40
40
pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil
41
41
pythonPackages.cssutils pythonPackages.beautifulsoup pythonPackages.pillow
···
53
53
export FC_LIB_DIR=${fontconfig.lib}/lib
54
54
export PODOFO_INC_DIR=${podofo}/include/podofo
55
55
export PODOFO_LIB_DIR=${podofo}/lib
56
56
-
export SIP_BIN=${sip_4_16}/bin/sip
56
56
+
export SIP_BIN=${sip}/bin/sip
57
57
python setup.py install --prefix=$out
58
58
59
59
PYFILES="$out/bin/* $out/lib/calibre/calibre/web/feeds/*.py
+1
-1
pkgs/applications/video/openshot-qt/default.nix
···
33
33
echo "exec ${python3Packages.python.interpreter} $(toPythonPath $out)/launch.py" >>$out/bin/openshot-qt
34
34
chmod +x $out/bin/openshot-qt
35
35
wrapProgram $out/bin/openshot-qt \
36
36
-
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${libopenshot}):$(toPythonPath ${python3Packages.pyqt5}):$(toPythonPath ${python3Packages.sip_4_16}):$(toPythonPath ${python3Packages.httplib2}):$PYTHONPATH"
36
36
+
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${libopenshot}):$(toPythonPath ${python3Packages.pyqt5}):$(toPythonPath ${python3Packages.sip}):$(toPythonPath ${python3Packages.httplib2}):$PYTHONPATH"
37
37
'';
38
38
39
39
doCheck = false;
+1
-2
pkgs/applications/video/qarte/default.nix
···
1
1
{ stdenv, fetchbzr, pythonPackages, rtmpdump, makeWrapper }:
2
2
3
3
let
4
4
-
inherit (pythonPackages) python pyqt4;
5
5
-
sip = pythonPackages.sip_4_16;
4
4
+
inherit (pythonPackages) python pyqt4 sip;
6
5
in stdenv.mkDerivation {
7
6
name = "qarte-2.4.0";
8
7
src = fetchbzr {
-28
pkgs/development/python-modules/sip/4.16.nix
···
1
1
-
{ stdenv, fetchurl, python, isPyPy }:
2
2
-
3
3
-
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
4
4
-
name = "sip-4.16.6";
5
5
-
6
6
-
src = fetchurl {
7
7
-
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
8
8
-
sha256 = "0lj5f581dkwswlwpg7lbicqf940dvrp8vjbkhmyywd99ynxb4zcc";
9
9
-
};
10
10
-
11
11
-
configurePhase = ''
12
12
-
${python.executable} ./configure.py \
13
13
-
-d $out/lib/${python.libPrefix}/site-packages \
14
14
-
-b $out/bin -e $out/include
15
15
-
'';
16
16
-
17
17
-
buildInputs = [ python ];
18
18
-
19
19
-
passthru.pythonPath = [];
20
20
-
21
21
-
meta = with stdenv.lib; {
22
22
-
description = "Creates C++ bindings for Python modules";
23
23
-
homepage = "http://www.riverbankcomputing.co.uk/";
24
24
-
license = licenses.gpl2Plus;
25
25
-
maintainers = with maintainers; [ lovek323 sander urkud ];
26
26
-
platforms = platforms.all;
27
27
-
};
28
28
-
}
+3
-6
pkgs/development/python-modules/sip/default.nix
···
1
1
{ stdenv, fetchurl, python, isPyPy }:
2
2
3
3
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
4
4
-
name = "sip-4.14.7"; # kde410.pykde4 doesn't build with 4.15
4
4
+
name = "sip-4.18.1";
5
5
6
6
src = fetchurl {
7
7
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
8
8
-
sha256 = "1dv1sdwfmnq481v80k2951amzs9s87d4qhk0hpwrhb1sllh92rh5";
8
8
+
sha256 = "1452zy3g0qv4fpd9c0y4gq437kn0xf7bbfniibv5n43zpwnpmklv";
9
9
};
10
10
11
11
-
configurePhase = stdenv.lib.optionalString stdenv.isDarwin ''
12
12
-
# prevent sip from complaining about python not being built as a framework
13
13
-
sed -i -e 1564,1565d siputils.py
14
14
-
'' + ''
11
11
+
configurePhase = ''
15
12
${python.executable} ./configure.py \
16
13
-d $out/lib/${python.libPrefix}/site-packages \
17
14
-b $out/bin -e $out/include
+1
-1
pkgs/top-level/all-packages.nix
···
12447
12447
calcurse = callPackage ../applications/misc/calcurse { };
12448
12448
12449
12449
calibre = qt55.callPackage ../applications/misc/calibre {
12450
12450
-
inherit (pythonPackages) pyqt5 sip_4_16;
12450
12450
+
inherit (pythonPackages) pyqt5 sip;
12451
12451
};
12452
12452
12453
12453
camlistore = callPackage ../applications/misc/camlistore { };
-2
pkgs/top-level/python-packages.nix
···
307
307
308
308
sip = callPackage ../development/python-modules/sip { };
309
309
310
310
-
sip_4_16 = callPackage ../development/python-modules/sip/4.16.nix { };
311
311
-
312
310
tables = callPackage ../development/python-modules/tables {
313
311
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
314
312
};