biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / libgravatar / default.nix
blob57b799854854dfd88da017aa6563f0ed1bafb34e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "libgravatar";
12   version = "1.0.4";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "pabluk";
19     repo = "libgravatar";
20     rev = "refs/tags/${version}";
21     hash = "sha256-rJv/jfdT+JldxR0kKtXQLOI5wXQYSQRWJnqwExwWjTA=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "libgravatar" ];
30   meta = with lib; {
31     description = "Library that provides a Python 3 interface for the Gravatar API";
32     homepage = "https://github.com/pabluk/libgravatar";
33     changelog = "https://github.com/pabluk/libgravatar/releases/tag/${version}";
34     license = licenses.gpl3Plus;
35     maintainers = with maintainers; [ gador ];
36   };