10 buildPythonPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-Zzif6WtecgAkNmml0kt0Z+Ewx0L30ahr+kwzYR5aUAM=";
21 cargoDeps = rustPlatform.fetchCargoTarball {
23 name = "${pname}-${version}";
24 hash = "sha256-+pV9q2QM6qFA1a5E10OAsE7KJEUsTiEiU1KqO4/2rFw=";
29 nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
31 buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
33 pythonImportsCheck = [ "lzallright" ];
38 pytest = callPackage ./tests.nix { };
43 A Python 3.8+ binding for lzokay library which is an MIT licensed
44 a minimal, C++14 implementation of the LZO compression format.
46 homepage = "https://github.com/vlaci/lzallright";
47 license = licenses.mit;
48 maintainers = with maintainers; [ vlaci ];