python3Packages.blurhash: 1.1.4 -> 1.1.5 (#441223)

authored by dotlambda and committed by GitHub d7814af8 c31ddcb0

+13 -12
+13 -12
pkgs/development/python-modules/blurhash/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + pytest-cov-stub, 5 6 pytestCheckHook, 6 7 pillow, 7 8 numpy, 9 + setuptools, 8 10 }: 9 11 10 - buildPythonPackage { 12 + buildPythonPackage rec { 11 13 pname = "blurhash"; 12 - version = "1.1.4"; 13 - format = "setuptools"; 14 + version = "1.1.5"; 15 + pyproject = true; 14 16 15 17 src = fetchFromGitHub { 16 18 owner = "halcy"; 17 19 repo = "blurhash-python"; 18 - # There are no tags: https://github.com/halcy/blurhash-python/issues/4 19 - rev = "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8"; 20 - sha256 = "1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf"; 20 + tag = "v${version}"; 21 + hash = "sha256-lTPn2GTD7eQ9XkZyuttFqEvNgzcx6b7OdeMc5WOXrJs="; 21 22 }; 22 23 23 - postPatch = '' 24 - sed -i '/^addopts/d' setup.cfg 25 - ''; 24 + build-system = [ setuptools ]; 26 25 27 26 nativeCheckInputs = [ 27 + pytest-cov-stub 28 28 pytestCheckHook 29 29 pillow 30 30 numpy ··· 32 32 33 33 pythonImportsCheck = [ "blurhash" ]; 34 34 35 - meta = with lib; { 35 + meta = { 36 + changelog = "https://github.com/halcy/blurhash-python/releases/tag/${src.tag}"; 36 37 description = "Pure-Python implementation of the blurhash algorithm"; 37 38 homepage = "https://github.com/halcy/blurhash-python"; 38 - license = licenses.mit; 39 - maintainers = with maintainers; [ dotlambda ]; 39 + license = lib.licenses.mit; 40 + maintainers = with lib.maintainers; [ dotlambda ]; 40 41 }; 41 42 }