Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
881 B · 49 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, cffi, pillow, pytestCheckHook, setuptools-scm, six,}:
buildPythonPackage rec { pname = "blurhash-python"; version = "1.2.2";
disabled = pythonOlder "3.8";
pyproject = true;
src = fetchFromGitHub { owner = "woltapp"; repo = "blurhash-python"; rev = "v${version}"; hash = "sha256-Cz+PkPp1knvT3U5ofyb1PstM9kzBOkgPbx03LgOLXgw="; };
nativeBuildInputs = [ cffi setuptools-scm ];
propagatedBuildInputs = [ cffi pillow six ];
pythonImportsCheck = [ "blurhash" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Compact representation of a placeholder for an image"; homepage = "https://github.com/woltapp/blurhash-python"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; };}