nixpkgs/pkgs/development/python-modules/ondilo/default.nix

39 lines
757 B
Nix
Raw Normal View History

2021-04-22 20:49:15 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, oauthlib
, pythonOlder
, requests
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "ondilo";
2021-05-06 21:37:50 +00:00
version = "0.3.0";
2021-04-22 20:49:15 +00:00
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "JeromeHXP";
repo = pname;
rev = version;
2021-05-06 21:37:50 +00:00
sha256 = "sha256-MI6K+41I/IVi+GRBdmRIHbljULDFLAwpo3W8tdxCOBM=";
2021-04-22 20:49:15 +00:00
};
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 ];
};
}