python312Packages.ondilo: refactor

This commit is contained in:
Fabian Affolter 2024-03-23 18:58:34 +01:00
parent 424b1f5e52
commit 79ed46d140

View file

@ -5,23 +5,28 @@
, pythonOlder
, requests
, requests-oauthlib
, setuptools
}:
buildPythonPackage rec {
pname = "ondilo";
version = "0.4.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "JeromeHXP";
repo = pname;
rev = version;
repo = "ondilo";
rev = "refs/tags/${version}";
hash = "sha256-BieWdPakQts0QxzQzJYlP6a7ieZ40rAyYqhy8zEvU38=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
oauthlib
requests
requests-oauthlib
@ -37,6 +42,7 @@ buildPythonPackage rec {
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 ];
};