python311Packages.libgravatar: init at 1.0.4

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2024-05-08 14:12:20 +02:00
parent 4b6275c104
commit 43396e552a
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,30 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "libgravatar";
version = "1.0.4";
src = fetchFromGitHub {
owner = "pabluk";
repo = "libgravatar";
rev = "refs/tags/${version}";
hash = "sha256-rJv/jfdT+JldxR0kKtXQLOI5wXQYSQRWJnqwExwWjTA=";
};
nativeBuildInputs = with python3Packages; [ setuptools ];
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
pythonImportsCheck = [ "libgravatar" ];
meta = with lib; {
homepage = "https://github.com/pabluk/libgravatar";
description = "A library that provides a Python 3 interface for the Gravatar API";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ gador ];
};
}
+2
View File
@@ -6638,6 +6638,8 @@ self: super: with self; {
inherit (pkgs.config) cudaSupport;
};
libgravatar = callPackage ../development/python-modules/libgravatar { };
libiio = (toPythonModule (pkgs.libiio.override {
pythonSupport = true;
inherit python;