python.pkgs.treq: disable tests

This commit is contained in:
Frederik Rietdijk 2017-09-02 10:15:36 +02:00
parent ef49ba9d1b
commit bef9aa432c

View File

@ -1,5 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage, service-identity, requests, six
, mock, twisted, incremental, pep8 }:
, mock, twisted, incremental, pep8, httpbin
}:
buildPythonPackage rec {
name = "${pname}-${version}";
@ -11,11 +12,20 @@ buildPythonPackage rec {
sha256 = "ef72d2d5e0b24bdf29267b608fa33df0ac401743af8524438b073e1fb2b66f16";
};
propagatedBuildInputs = [ twisted requests six incremental service-identity ];
propagatedBuildInputs = [
requests
six
incremental
service-identity
twisted
# twisted [tls] requirements (we should find a way to list "extras")
twisted.extras.tls
];
checkInputs = [
pep8
mock
httpbin
];
postPatch = ''
@ -35,6 +45,9 @@ buildPythonPackage rec {
trial treq
'';
# Failing tests https://github.com/twisted/treq/issues/208
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/twisted/treq;
description = "A requests-like API built on top of twisted.web's Agent";