Merge pull request #60323 from risicle/ris-asana-fix

pythonPackages.asana: 0.7.1 -> 0.8.2, disable for py3.7
This commit is contained in:
Renaud 2019-05-06 19:02:58 +02:00 committed by GitHub
commit c910fe9d29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,20 @@
{ buildPythonPackage, pytest, requests, requests_oauthlib, six { buildPythonPackage, pythonAtLeast, pytest, requests, requests_oauthlib, six
, fetchFromGitHub, responses, stdenv , fetchFromGitHub, responses, stdenv
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "asana"; pname = "asana";
version = "0.7.1"; version = "0.8.2";
# upstream reportedly doesn't support 3.7 yet, blocked on
# https://bugs.python.org/issue34226
disabled = pythonAtLeast "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "asana"; owner = "asana";
repo = "python-asana"; repo = "python-asana";
rev = "v${version}"; rev = "v${version}";
sha256 = "0vmpy4j1n54gkkg0l8bhw0xf4yby5kqzxnsv07cjc2w38snj5vy1"; sha256 = "113zwnrpim1pdw8dzid2wpp5gzr2zk26jjl4wrwhgj0xk1cw94yi";
}; };
checkInputs = [ pytest responses ]; checkInputs = [ pytest responses ];