Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 oauthlib, 6 pythonOlder, 7 requests, 8 requests-oauthlib, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "ondilo"; 14 version = "0.5.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchFromGitHub { 20 owner = "JeromeHXP"; 21 repo = "ondilo"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-l9pmamJbB/FAqB49S4vQAan9Wgj3qu1J2pboQO1Hg/Q="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 oauthlib 30 requests 31 requests-oauthlib 32 ]; 33 34 # Project has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "ondilo" ]; 38 39 meta = with lib; { 40 description = "Python package to access Ondilo ICO APIs"; 41 homepage = "https://github.com/JeromeHXP/ondilo"; 42 changelog = "https://github.com/JeromeHXP/ondilo/releases/tag/${version}"; 43 license = with licenses; [ mit ]; 44 maintainers = with maintainers; [ fab ]; 45 }; 46}