python.pkgs.treq: disable tests
This commit is contained in:
parent
ef49ba9d1b
commit
bef9aa432c
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchPypi, buildPythonPackage, service-identity, requests, six
|
{ stdenv, fetchPypi, buildPythonPackage, service-identity, requests, six
|
||||||
, mock, twisted, incremental, pep8 }:
|
, mock, twisted, incremental, pep8, httpbin
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
@ -11,11 +12,20 @@ buildPythonPackage rec {
|
|||||||
sha256 = "ef72d2d5e0b24bdf29267b608fa33df0ac401743af8524438b073e1fb2b66f16";
|
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 = [
|
checkInputs = [
|
||||||
pep8
|
pep8
|
||||||
mock
|
mock
|
||||||
|
httpbin
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -35,6 +45,9 @@ buildPythonPackage rec {
|
|||||||
trial treq
|
trial treq
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Failing tests https://github.com/twisted/treq/issues/208
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://github.com/twisted/treq;
|
homepage = http://github.com/twisted/treq;
|
||||||
description = "A requests-like API built on top of twisted.web's Agent";
|
description = "A requests-like API built on top of twisted.web's Agent";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user