nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 793 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "libgravatar"; 11 version = "1.0.4"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "pabluk"; 16 repo = "libgravatar"; 17 tag = version; 18 hash = "sha256-rJv/jfdT+JldxR0kKtXQLOI5wXQYSQRWJnqwExwWjTA="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "libgravatar" ]; 26 27 meta = { 28 description = "Library that provides a Python 3 interface for the Gravatar API"; 29 homepage = "https://github.com/pabluk/libgravatar"; 30 changelog = "https://github.com/pabluk/libgravatar/releases/tag/${version}"; 31 license = lib.licenses.gpl3Plus; 32 maintainers = with lib.maintainers; [ gador ]; 33 }; 34}