My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ondilo/default.nix

43 lines
788 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, oauthlib
, pythonOlder
, requests
, requests-oauthlib
}:
buildPythonPackage rec {
pname = "ondilo";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "JeromeHXP";
repo = pname;
rev = version;
hash = "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 ];
};
}