1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, oauthlib 5, pythonOlder 6, requests 7, requests_oauthlib 8}: 9 10buildPythonPackage rec { 11 pname = "ondilo"; 12 version = "0.3.0"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "JeromeHXP"; 17 repo = pname; 18 rev = version; 19 sha256 = "sha256-MI6K+41I/IVi+GRBdmRIHbljULDFLAwpo3W8tdxCOBM="; 20 }; 21 22 propagatedBuildInputs = [ 23 oauthlib 24 requests 25 requests_oauthlib 26 ]; 27 28 # Project has no tests 29 doCheck = false; 30 pythonImportsCheck = [ "ondilo" ]; 31 32 meta = with lib; { 33 description = "Python package to access Ondilo ICO APIs"; 34 homepage = "https://github.com/JeromeHXP/ondilo"; 35 license = with licenses; [ mit ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}