git.iko.soy/typeable/nixpkgs
on master help sign in
properly package pyopenssl
8236ca5Domen Kožar
pkgs/applications/networking/instant-messengers/gajim/default.nix+2−2
@@ -1,5 +1,5 @@
1{ stdenv, fetchurl, python, intltool, pkgconfig, libX11, gtk
1{ stdenv, fetchurl, python, intltool, pkgconfig, libX11, gtk
2−, ldns, pyopenssl, pythonDBus, pythonPackages
2+, ldns, pythonDBus, pythonPackages
3
3
4, enableJingle ? true, farstream ? null, gst_plugins_bad ? null
4, enableJingle ? true, farstream ? null, gst_plugins_bad ? null
5, libnice ? null
5, libnice ? null
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
64 pythonPackages.sqlite3 pythonPackages.pyasn1
64 pythonPackages.sqlite3 pythonPackages.pyasn1
65 pythonPackages.pyxdg
65 pythonPackages.pyxdg
66 pythonPackages.nbxmpp
66 pythonPackages.nbxmpp
67− pyopenssl pythonDBus
67+ pythonPackages.pyopenssl pythonDBus
68 ] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
68 ] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
69 ++ optional enableE2E pythonPackages.pycrypto
69 ++ optional enableE2E pythonPackages.pycrypto
70 ++ optional enableRST pythonPackages.docutils
70 ++ optional enableRST pythonPackages.docutils
pkgs/development/python-modules/pyopenssl/default.nixdeleted−26
@@ -1,26 +0,0 @@
1−a :
2−let
3− fetchurl = a.fetchurl;
4−
5− version = a.lib.attrByPath ["version"] "0.13.1" a;
6− propagatedBuildInputs = with a; [
7− openssl python
8− ];
9−in
10−rec {
11− src = fetchurl {
12− url = "http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz";
13− sha256 = "1nrg2kas0wsv65j8sia8zkkc6ir5i20lrhkfavjxzxhl0iqyq1ms";
14− };
15−
16− inherit propagatedBuildInputs;
17− configureFlags = [];
18−
19− /* doConfigure should be removed if not needed */
20− phaseNames = ["installPythonPackage"];
21−
22− name = "pyOpenSSL-" + version;
23− meta = {
24− description = "Python OpenSSL wrapper capable of checking certificates";
25− };
26−}
pkgs/tools/graphics/scrot/default.nix+1
@@ -13,5 +13,6 @@ stdenv.mkDerivation rec {
13 meta = {
13 meta = {
14 homepage = http://linuxbrit.co.uk/scrot/;
14 homepage = http://linuxbrit.co.uk/scrot/;
15 description = "A command-line screen capture utility";
15 description = "A command-line screen capture utility";
16+ platforms = stdenv.lib.platforms.linux;
16 };
17 };
17}
18}
pkgs/top-level/all-packages.nix+1−3
@@ -7357,9 +7357,7 @@ let
7357
7357
7358 pylint = callPackage ../development/python-modules/pylint { };
7358 pylint = callPackage ../development/python-modules/pylint { };
7359
7359
7360− pyopenssl = builderDefsPackage (import ../development/python-modules/pyopenssl) {
7360+ pyopenssl = pythonPackages.pyopenssl;
7361− inherit python openssl;
7362− };
7363
7361
7364 rhpl = callPackage ../development/python-modules/rhpl { };
7362 rhpl = callPackage ../development/python-modules/rhpl { };
7365
7363
pkgs/top-level/python-packages.nix+69−15
@@ -1662,6 +1662,43 @@ let
1662 maintainers = [ stdenv.lib.maintainers.iElectric ];
1662 maintainers = [ stdenv.lib.maintainers.iElectric ];
1663 };
1663 };
1664 };
1664 };
1665+
1666+ cryptography = buildPythonPackage rec {
1667+ name = "cryptography-0.6.1";
1668+
1669+ src = pkgs.fetchurl {
1670+ url = "https://pypi.python.org/packages/source/c/cryptography/${name}.tar.gz";
1671+ sha256 = "17ij2acy28ryxahiq64lpf71d5z3sa9xhr4pjv7a1v81189i0j82";
1672+ };
1673+
1674+ buildInputs = [ pkgs.openssl self.pretend self.cryptography_vectors
1675+ self.iso8601 self.pyasn1 self.pytest ];
1676+ propagatedBuildInputs = [ self.six self.cffi ];
1677+ };
1678+
1679+ cryptography_vectors = buildPythonPackage rec {
1680+ name = "cryptography_vectors-0.6.1";
1681+
1682+ src = pkgs.fetchurl {
1683+ url = "https://pypi.python.org/packages/source/c/cryptography-vectors/${name}.tar.gz";
1684+ sha256 = "1ks1xdb1ff74qmjdzqcfvkrwsbnwpsjgg3cy18zh37p8985cvl3r";
1685+ };
1686+ };
1687+
1688+ pretend = buildPythonPackage rec {
1689+ name = "pretend-1.0.8";
1690+
1691+ src = pkgs.fetchurl {
1692+ url = "https://pypi.python.org/packages/source/p/pretend/pretend-1.0.8.tar.gz";
1693+ sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
1694+ };
1695+
1696+ meta = with stdenv.lib; {
1697+ homepage = https://github.com/alex/pretend;
1698+ license = licenses.bsd;
1699+ };
1700+ };
1701+
1665
1702
1666 detox = self.buildPythonPackage rec {
1703 detox = self.buildPythonPackage rec {
1667 name = "detox-0.9.3";
1704 name = "detox-0.9.3";
@@ -1712,11 +1749,11 @@ let
1712 };
1749 };
1713
1750
1714 cffi = buildPythonPackage rec {
1751 cffi = buildPythonPackage rec {
1715− name = "cffi-0.7.2";
1752+ name = "cffi-0.8.6";
1716
1753
1717 src = pkgs.fetchurl {
1754 src = pkgs.fetchurl {
1718 url = "http://pypi.python.org/packages/source/c/cffi/${name}.tar.gz";
1755 url = "http://pypi.python.org/packages/source/c/cffi/${name}.tar.gz";
1719− md5 = "d329f5cb2053fd31dafc02e2c9ef0299";
1756+ sha256 = "0406j3sgndmx88idv5zxkkrwfqxmjl18pj8gf47nsg4ymzixjci5";
1720 };
1757 };
1721
1758
1722 propagatedBuildInputs = with self; [ pkgs.libffi pycparser ];
1759 propagatedBuildInputs = with self; [ pkgs.libffi pycparser ];
@@ -2419,19 +2456,21 @@ let
2419 };
2456 };
2420
2457
2421 gcutil = buildPythonPackage rec {
2458 gcutil = buildPythonPackage rec {
2422− name = "gcutil-1.15.0";
2459+ name = "gcutil-1.16.1";
2423 meta.maintainers = [ stdenv.lib.maintainers.phreedom ];
2460 meta.maintainers = [ stdenv.lib.maintainers.phreedom ];
2424
2461
2425 src = pkgs.fetchurl {
2462 src = pkgs.fetchurl {
2426− url = https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.15.0.tar.gz;
2463+ url = https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.tar.gz;
2427− sha256 = "12c98ivhjr01iz6lkga574xm8p0bsil6arydvpblyw8sjkgim5sq";
2464+ sha256 = "00jaf7x1ji9y46fbkww2sg6r6almrqfsprydz3q2swr4jrnrsx9x";
2428 };
2465 };
2429
2466
2430 patchPhase = ''
2467 patchPhase = ''
2468+ substituteInPlace setup.py \
2431− substituteInPlace setup.py --replace "httplib2==0.8" "httplib2"
2469+ --replace "httplib2==0.8" "httplib2" \
2470+ --replace "iso8601==0.1.4" "iso8601"
2432 '';
2471 '';
2433
2472
2434− propagatedBuildInputs = with self; [ gflags iso8601_0_1_4 ipaddr httplib2 google_apputils google_api_python_client ];
2473+ propagatedBuildInputs = with self; [ gflags iso8601 ipaddr httplib2 google_apputils google_api_python_client ];
2435 };
2474 };
2436
2475
2437 gnutls = buildPythonPackage rec {
2476 gnutls = buildPythonPackage rec {
@@ -3296,7 +3335,7 @@ let
3296 };
3335 };
3297
3336
3298 propagatedBuildInputs = with self; [
3337 propagatedBuildInputs = with self; [
3299− pyGtkGlade pkgs.libtorrentRasterbar twisted Mako chardet pyxdg pkgs.pyopenssl modules.curses
3338+ pyGtkGlade pkgs.libtorrentRasterbar twisted Mako chardet pyxdg self.pyopenssl modules.curses
3300 ];
3339 ];
3301
3340
3302 postInstall = ''
3341 postInstall = ''
@@ -3908,7 +3947,7 @@ let
3908 sha256 = "16cddyk5is0gjfn0ia5n2l4lhdzvbjzlx6sfpy7ddjd3d3fq7ckl";
3947 sha256 = "16cddyk5is0gjfn0ia5n2l4lhdzvbjzlx6sfpy7ddjd3d3fq7ckl";
3909 };
3948 };
3910
3949
3911− propagatedBuildInputs = with self; [ twisted pkgs.pyopenssl ];
3950+ propagatedBuildInputs = with self; [ twisted self.pyopenssl ];
3912
3951
3913 meta = {
3952 meta = {
3914 homepage = http://foolscap.lothar.com/;
3953 homepage = http://foolscap.lothar.com/;
@@ -4585,11 +4624,11 @@ let
4585 propagatedBuildInputs = with self; [ self.nose self.ipythonLight ];
4624 propagatedBuildInputs = with self; [ self.nose self.ipythonLight ];
4586 };
4625 };
4587
4626
4588− iso8601_0_1_4 = buildPythonPackage {
4627+ iso8601 = buildPythonPackage {
4589− name = "iso8601-0.1.4";
4628+ name = "iso8601-0.1.10";
4590 src = pkgs.fetchurl {
4629 src = pkgs.fetchurl {
4591− url = https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.4.tar.gz;
4630+ url = https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.10.tar.gz;
4592− sha256 = "03gnjxpfq0wwimqnsvz32xcngq0hrdqryn3zm8qh95hnnggwqa3s";
4631+ sha256 = "1qf01afxh7j4gja71vxv345if8avg6nnm0ry0zsk6j3030xgy4p7";
4593 };
4632 };
4594
4633
4595 meta = {
4634 meta = {
@@ -5177,7 +5216,7 @@ let
5177 };
5216 };
5178
5217
5179 buildInputs = with self; [
5218 buildInputs = with self; [
5180− pkgs.pyopenssl pyasn1 urwid pil lxml flask protobuf netlib
5219+ pyopenssl pyasn1 urwid pil lxml flask protobuf netlib
5181 ];
5220 ];
5182
5221
5183 doCheck = false;
5222 doCheck = false;
@@ -5581,7 +5620,7 @@ let
5581 };
5620 };
5582
5621
5583 buildInputs = with self; [
5622 buildInputs = with self; [
5584− pkgs.pyopenssl pyasn1
5623+ pyopenssl pyasn1
5585 ];
5624 ];
5586
5625
5587 doCheck = false;
5626 doCheck = false;
@@ -7474,6 +7513,21 @@ let
7474 platforms = stdenv.lib.platforms.mesaPlatforms;
7513 platforms = stdenv.lib.platforms.mesaPlatforms;
7475 };
7514 };
7476 };
7515 };
7516+
7517+ pyopenssl = buildPythonPackage rec {
7518+ name = "pyopenssl-${version}";
7519+ version = "0.14";
7520+
7521+ src = pkgs.fetchurl {
7522+ url = "https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.14.tar.gz";
7523+ sha256 = "0vpfqhng4cky7chliknkxv910iabqbfcxvkjiankh08jkkjvi7d9";
7524+ };
7525+
7526+ # 17 tests failing
7527+ doCheck = false;
7528+
7529+ propagatedBuildInputs = [ self.cryptography ];
7530+ };
7477
7531
7478
7532
7479 pyquery = buildPythonPackage rec {
7533 pyquery = buildPythonPackage rec {