Merge pull request #37840 from matthewbauer/unixtools

Cross-platform "unixtools"
This commit is contained in:
Matthew Justin Bauer
2018-03-27 18:43:03 -05:00
committed by GitHub
236 changed files with 2618 additions and 966 deletions

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = {
description = "MaxMind GeoIP Legacy Database - Python API";
homepage = http://www.maxmind.com/;
homepage = https://www.maxmind.com/;
maintainers = with lib.maintainers; [ jluttine ];
license = lib.licenses.lgpl21Plus;
};

View File

@@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "WebSocket and WAMP in Python for Twisted and asyncio.";
homepage = "http://crossbar.io/autobahn";
homepage = "https://crossbar.io/autobahn";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;

View File

@@ -35,7 +35,7 @@ buildPythonPackage rec {
'';
meta = {
homepage = "http://github.com/pytoolz/cytoolz/";
homepage = "https://github.com/pytoolz/cytoolz/";
description = "Cython implementation of Toolz: High performance functional utilities";
license = "licenses.bsd3";
maintainers = with lib.maintainers; [ fridh ];

View File

@@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ flask webassets flask_script nose ];
meta = with lib; {
homepage = http://github.com/miracle2k/flask-assets;
homepage = https://github.com/miracle2k/flask-assets;
description = "Asset management for Flask, to compress and merge CSS and Javascript files";
license = licenses.bsd2;
maintainers = with maintainers; [ abbradar ];

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with lib; {
homepage = http://github.com/smurfix/flask-script;
homepage = https://github.com/smurfix/flask-script;
description = "Scripting support for Flask";
license = licenses.bsd3;
maintainers = with maintainers; [ abbradar ];

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "fonttools";
version = "3.24.0";
version = "3.24.1";
src = fetchPypi {
inherit pname version;
sha256 = "d09126f443bc8797d1b7e76274e65f4c169c04722745953ecf536451b1d9a15f";
sha256 = "d13e98c9f3b635a5334dab69eb471d7286928ac82db7ca57b5bf4cdf3824789a";
extension = "zip";
};

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, google_auth, protobuf, googleapis_common_protos, requests, grpcio, setuptools, mock, pytest }:
, google_auth, protobuf3_5, googleapis_common_protos, requests, grpcio, setuptools, mock, pytest }:
buildPythonPackage rec {
pname = "google-api-core";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "0144d467083ed54d2e8ccb4212d42c3724fe0b844b7d3a0ff85aea54b7ae8347";
};
propagatedBuildInputs = [ google_auth protobuf googleapis_common_protos requests grpcio ];
propagatedBuildInputs = [ google_auth protobuf3_5 googleapis_common_protos requests grpcio ];
checkInputs = [ setuptools mock pytest ];
checkPhase = ''

View File

@@ -13,9 +13,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ setuptools google_api_core google_gax google_cloud_core ];
checkInputs = [ pytest mock ];
checkPhase = ''
py.test
'';
# needs credentials
doCheck = false;
meta = with stdenv.lib; {
description = "Cloud Speech API enables integration of Google speech recognition into applications.";

View File

@@ -1,5 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi
, google_auth, ply, protobuf, grpcio, requests, googleapis_common_protos, dill, future, pytest, mock, unittest2 }:
, google_auth, ply, protobuf3_5, grpcio, requests
, googleapis_common_protos, dill, future, pytest, mock, unittest2 }:
buildPythonPackage rec {
pname = "google-gax";
@@ -10,7 +11,7 @@ buildPythonPackage rec {
sha256 = "0p1ribd2xy7a04wnjv12agkcdi6f9cpj838884hayx07p5g8v3ji";
};
propagatedBuildInputs = [ google_auth ply protobuf grpcio requests googleapis_common_protos dill future ];
propagatedBuildInputs = [ google_auth ply protobuf3_5 grpcio requests googleapis_common_protos dill future ];
checkInputs = [ pytest mock unittest2 ];
# Importing test__grpc_google_auth fails with "ModuleNotFoundError: No module named 'google_auth_httplib2'", where

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, protobuf, pytest }:
, protobuf3_5, pytest }:
buildPythonPackage rec {
pname = "googleapis-common-protos";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "1whfjl44gy15ha6palpwa2m0xi36dsvpaz8vw0cvb2k2lbdfsxf0";
};
propagatedBuildInputs = [ protobuf ];
propagatedBuildInputs = [ protobuf3_5 ];
checkInputs = [ pytest ];
doCheck = false; # there are no tests

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Python module for manipulation and statistical analysis of graphs";
homepage = http://graph-tool.skewed.de/;
homepage = https://graph-tool.skewed.de/;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ stdenv.lib.maintainers.joelmo ];

View File

@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, lib
, six, protobuf, enum34, futures, isPy26, isPy27, isPy34 }:
, six, protobuf3_5, enum34, futures, isPy26, isPy27, isPy34 }:
buildPythonPackage rec {
pname = "grpcio";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "e7c43b5619deff48cc177c1b0618c4beeb2797f910f160e3c2035d5baf790a5d";
};
propagatedBuildInputs = [ six protobuf ]
propagatedBuildInputs = [ six protobuf3_5 ]
++ lib.optionals (isPy26 || isPy27 || isPy34) [ enum34 ]
++ lib.optionals (isPy26 || isPy27) [ futures ];

View File

@@ -13,7 +13,7 @@ buildPythonPackage rec {
};
meta = {
homepage = "http://github.com/kjd/idna/";
homepage = "https://github.com/kjd/idna/";
description = "Internationalized Domain Names in Applications (IDNA)";
license = lib.licenses.bsd3;
};

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "An implementation of JSON Reference for Python";
homepage = "http://github.com/gazpachoking/jsonref";
homepage = "https://github.com/gazpachoking/jsonref";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];
platforms = platforms.all;

View File

@@ -14,7 +14,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A JSON-RPC client library for asyncio";
homepage = http://github.com/armills/jsonrpc-async;
homepage = https://github.com/armills/jsonrpc-async;
license = licenses.bsd3;
maintainers = with maintainers; [ peterhoeg ];
};

View File

@@ -26,7 +26,7 @@ buildPythonPackage rec {
buildInputs = [ mock unittest2 ];
meta = {
homepage = http://locust.io/;
homepage = https://locust.io/;
description = "A load testing tool";
};
}

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "logilab-database provides some classes to make unified access to different";
homepage = "http://www.logilab.org/project/logilab-database";
homepage = "https://www.logilab.org/project/logilab-database";
};
}

View File

@@ -35,7 +35,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Python Memory Usage Analyzer";
homepage = http://launchpad.net/meliae;
homepage = https://launchpad.net/meliae;
license = licenses.gpl3;
maintainers = with maintainers; [ xvapx ];
};

View File

@@ -28,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Advanced, easy to use and extensible WikiEngine";
homepage = "http://moinmo.in/";
homepage = "https://moinmo.in/";
license = licenses.gpl2Plus;
};

View File

@@ -30,6 +30,6 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Pecan";
homepage = "http://github.com/pecan/pecan";
homepage = "https://github.com/pecan/pecan";
};
}

View File

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "toml";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "0bdbpbip67wdm6c7xwc6mmbmskyradj4cdxn1iibj4fcx1nbv1lf";
};
# This package has a test script (built for Travis) that involves a)
# looking in the home directory for a binary test runner and b) using
# git to download a test suite.
doCheck = false;
meta = with stdenv.lib; {
description = "a Python library for parsing and creating TOML";
homepage = "https://github.com/uiri/toml";
license = licenses.mit;
maintainers = with maintainers; [ twey ];
};
}