Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
765 B · 33 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334{ buildPythonPackage, lib, stdenv, libsixel,}:
buildPythonPackage rec { version = libsixel.version; format = "setuptools"; pname = "libsixel";
src = libsixel.src; sourceRoot = "${src.name}/python";
prePatch = '' substituteInPlace libsixel/__init__.py --replace \ 'from ctypes.util import find_library' \ 'find_library = lambda _x: "${lib.getLib libsixel}/lib/libsixel${stdenv.hostPlatform.extensions.sharedLibrary}"' '';
# no tests doCheck = false;
pythonImportsCheck = [ "libsixel" ];
meta = with lib; { description = "SIXEL graphics encoder/decoder implementation"; homepage = "https://github.com/libsixel/libsixel"; license = licenses.mit; maintainers = with maintainers; [ rmcgibbo ]; };}