python311Packages.libgravatar: init at 1.0.4
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user