Merge staging-next into master
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, isPy33, isPy26, isPy27, isPyPy, python, pycares, asyncio, trollius }:
|
||||
, isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodns";
|
||||
@@ -10,9 +10,9 @@ buildPythonPackage rec {
|
||||
sha256 = "d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with stdenv.lib; [ pycares ]
|
||||
++ optional isPy33 asyncio
|
||||
++ optional (isPy26 || isPy27 || isPyPy) trollius;
|
||||
propagatedBuildInputs = with stdenv.lib; [ pycares ]
|
||||
++ optional isPy33 asyncio
|
||||
++ optional (isPy27 || isPyPy) trollius;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} tests.py
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy26
|
||||
, importlib
|
||||
, argparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,7 +12,6 @@ buildPythonPackage rec {
|
||||
sha256 = "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optionals isPy26 [ importlib argparse ];
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, lib
|
||||
, six, protobuf, enum34, futures, isPy26, isPy27, isPy34 }:
|
||||
, six, protobuf, enum34, futures, isPy27, isPy34 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grpcio";
|
||||
@@ -11,8 +11,8 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six protobuf ]
|
||||
++ lib.optionals (isPy26 || isPy27 || isPy34) [ enum34 ]
|
||||
++ lib.optionals (isPy26 || isPy27) [ futures ];
|
||||
++ lib.optionals (isPy27 || isPy34) [ enum34 ]
|
||||
++ lib.optionals (isPy27) [ futures ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "HTTP/2-based RPC framework";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy26
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, glibcLocales, pandoc, git
|
||||
, mock, nose, markdown, lxml, typogrify
|
||||
, jinja2, pygments, docutils, pytz, unidecode, six, dateutil, feedgenerator
|
||||
@@ -7,7 +7,6 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pelican";
|
||||
version = "3.7.1";
|
||||
disabled = isPy26;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getpelican";
|
||||
|
||||
@@ -10,11 +10,11 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -e 's!"libpcsclite\.so\.1"!"${pcsclite}/lib/libpcsclite.so.1"!' \
|
||||
sed -e 's!"libpcsclite\.so\.1"!"${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so.1"!' \
|
||||
-i smartcard/scard/winscarddll.c
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-isystem ${pcsclite}/include/PCSC/";
|
||||
NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
|
||||
|
||||
propagatedBuildInputs = [ pcsclite ];
|
||||
buildInputs = [ swig ] ++ stdenv.lib.optional stdenv.isDarwin PCSC;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, attrs, hypothesis, py
|
||||
{ stdenv, buildPythonPackage, fetchPypi, attrs, hypothesis, py
|
||||
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
||||
, atomicwrites, mock
|
||||
}:
|
||||
@@ -19,8 +19,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [ hypothesis mock ];
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites]
|
||||
++ (stdenv.lib.optional (!isPy3k) funcsigs)
|
||||
++ (stdenv.lib.optional isPy26 argparse);
|
||||
++ (stdenv.lib.optional (!isPy3k) funcsigs);
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, isPy26, isPyPy, mock, futures }:
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27, isPyPy, mock, futures }:
|
||||
buildPythonPackage rec {
|
||||
pname = "trollius";
|
||||
version = "1.0.4";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
disabled = isPy26;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xny8y12x3wrflmyn6xi8a7n3m3ac80fgmgzphx5jbbaxkjcm148";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
checkInputs = [ mock ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (isPy27 || isPyPy) [ futures ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user