diff options
author | Leona Maroni <dev@leona.is> | 2024-05-08 21:16:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 21:16:59 +0200 |
commit | 8689d82f4a16411837d115cbfdac51aedcfb0115 (patch) | |
tree | 01948e22af4a6881fd99be224bf4a4fa96ba6c4c /pkgs/development | |
parent | 479e2144ec926b825d4f74f9ffd4c53c2308aa9b (diff) | |
parent | 1ad23e2400a38ca5e95b7539ac0a980cc419b3a4 (diff) |
Merge pull request #310140 from gador/pgadmin-8.6
Pgadmin 8.6
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/libgravatar/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/libgravatar/default.nix b/pkgs/development/python-modules/libgravatar/default.nix new file mode 100644 index 0000000000000..f246f61a75a08 --- /dev/null +++ b/pkgs/development/python-modules/libgravatar/default.nix @@ -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 ]; + }; +} |