Merge remote-tracking branch 'upstream/master' into HEAD

This commit is contained in:
Frederik Rietdijk
2018-01-24 14:17:49 +01:00
68 changed files with 2735 additions and 2148 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi }:
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "astor";
@@ -10,6 +10,12 @@ buildPythonPackage rec {
sha256 = "ff6d2e2962d834acb125cc4dcc80c54a8c17c253f4cc9d9c43b5102a560bb75d";
};
# disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89
checkInputs = [ pytest ];
checkPhase = ''
py.test -k 'not check_expressions and not check_astunparse and not test_convert_stdlib and not test_codegen_as_submodule and not test_codegen_from_root'
'';
meta = with stdenv.lib; {
description = "Library for reading, writing and rewriting python AST";
homepage = https://github.com/berkerpeksag/astor;

View File

@@ -1,12 +1,12 @@
{ stdenv, fetchPypi, buildPythonPackage, gssapi, pyasn1 }:
buildPythonPackage rec {
version = "2.4";
version = "2.4.1";
pname = "ldap3";
src = fetchPypi {
inherit pname version;
sha256 = "888015f849eb33852583bbaf382f61593b03491cdac6098fd5d4d0252e0e7e66";
sha256 = "1a66pc00az0nx9kvhzidbg099pvk52ngycf891bp5jyfm1ahvzp8";
};
buildInputs = [ gssapi ];

View File

@@ -0,0 +1,23 @@
{ lib, fetchFromGitHub, buildPythonPackage, nose }:
buildPythonPackage rec {
pname = "rx";
version = "1.6.0";
# There are no tests on the pypi source
src = fetchFromGitHub {
owner = "ReactiveX";
repo = "rxpy";
rev = version;
sha256 = "174xi2j36igxmaqcgl5p64p31a7z19v62xb5czybjw72gpyyfyri";
};
checkInputs = [ nose ];
meta = {
homepage = https://github.com/ReactiveX/RxPY;
description = "Reactive Extensions for Python";
maintainers = with lib.maintainers; [ thanegill ];
license = lib.licenses.asl20;
};
}

View File

@@ -1,4 +1,4 @@
{ lib
{ stdenv
, fetchPypi
, buildPythonPackage
, multidict
@@ -9,19 +9,20 @@
buildPythonPackage rec {
pname = "yarl";
version = "1.0.0";
name = "${pname}-${version}";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "5ea610467a04d99bfc8878186330b28859eafc6ca589cdd24ba6fb7234c4b011";
sha256 = "162630v7f98l27h11msk9416lqwm2mpgxh4s636594nlbfs9by3a";
};
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ multidict idna ];
meta = {
meta = with stdenv.lib; {
description = "Yet another URL library";
homepage = https://github.com/aio-libs/yarl/;
license = lib.licenses.asl20;
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}
}