depot/third_party/nixpkgs/pkgs/development/python-modules/ondilo/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

46 lines
922 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
oauthlib,
pythonOlder,
requests,
requests-oauthlib,
setuptools,
}:
buildPythonPackage rec {
pname = "ondilo";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "JeromeHXP";
repo = "ondilo";
rev = "refs/tags/${version}";
hash = "sha256-l9pmamJbB/FAqB49S4vQAan9Wgj3qu1J2pboQO1Hg/Q=";
};
build-system = [ setuptools ];
dependencies = [
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";
changelog = "https://github.com/JeromeHXP/ondilo/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}