nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.blurhash: init at 1.1.4

authored by

Robert Schütz and committed by
Jonathan Ringer
790d2fff 39fd960e

+41
+39
pkgs/development/python-modules/blurhash/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pillow 6 + , numpy 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "blurhash"; 11 + version = "1.1.4"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "halcy"; 15 + repo = "blurhash-python"; 16 + # There are no tags: https://github.com/halcy/blurhash-python/issues/4 17 + rev = "22e081ef1c24da1bb5c5eaa2c1d6649724deaef8"; 18 + sha256 = "1qq6mhydlp7q3na4kmaq3871h43wh3pyfyxr4b79bia73wjdylxf"; 19 + }; 20 + 21 + postPatch = '' 22 + sed -i '/^addopts/d' setup.cfg 23 + ''; 24 + 25 + checkInputs = [ 26 + pytestCheckHook 27 + pillow 28 + numpy 29 + ]; 30 + 31 + pythonImportsCheck = [ "blurhash" ]; 32 + 33 + meta = with lib; { 34 + description = "Pure-Python implementation of the blurhash algorithm"; 35 + homepage = "https://github.com/halcy/blurhash-python"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ dotlambda ]; 38 + }; 39 + }
+2
pkgs/top-level/python-packages.nix
··· 1107 1107 1108 1108 bluepy-devices = callPackage ../development/python-modules/bluepy-devices { }; 1109 1109 1110 + blurhash = callPackage ../development/python-modules/blurhash { }; 1111 + 1110 1112 bme680 = callPackage ../development/python-modules/bme680 { }; 1111 1113 1112 1114 bokeh = callPackage ../development/python-modules/bokeh { };