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