Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 46 lines 893 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6, requests 7, requests-oauthlib 8, responses 9}: 10 11buildPythonPackage rec { 12 pname = "asana"; 13 version = "4.0.11"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "asana"; 20 repo = "python-asana"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-B98X8ErmoMIpXu4KKvRGgtElPs/va2+UIR+ARUgafgo="; 23 }; 24 25 propagatedBuildInputs = [ 26 requests 27 requests-oauthlib 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 responses 33 ]; 34 35 pythonImportsCheck = [ 36 "asana" 37 ]; 38 39 meta = with lib; { 40 description = "Python client library for Asana"; 41 homepage = "https://github.com/asana/python-asana"; 42 changelog = "https://github.com/Asana/python-asana/releases/tag/v${version}"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ ]; 45 }; 46}