3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
38 lines
757 B
Nix
38 lines
757 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, oauthlib
|
|
, pythonOlder
|
|
, requests
|
|
, requests_oauthlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ondilo";
|
|
version = "0.3.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JeromeHXP";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-MI6K+41I/IVi+GRBdmRIHbljULDFLAwpo3W8tdxCOBM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
oauthlib
|
|
requests
|
|
requests_oauthlib
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "ondilo" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python package to access Ondilo ICO APIs";
|
|
homepage = "https://github.com/JeromeHXP/ondilo";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|