6 stdenv.mkDerivation (finalAttrs: {
10 src = fetchFromGitHub {
11 owner = "emmanuel-marty";
13 rev = finalAttrs.version;
14 hash = "sha256-XaPtMW9INv/wzMXvlyXgE3VfFJCY/5R/HFGhV3ZKvGs=";
18 "CC=${stdenv.cc.targetPrefix}cc"
23 install -Dm755 lzsa -t $out/bin/
28 homepage = "https://github.com/emmanuel-marty/lzsa";
29 description = "Byte-aligned, efficient lossless packer that is optimized for fast decompression on 8-bit micros";
31 license = with lib.licenses; [ cc0 ];
32 maintainers = with lib.maintainers; [ AndersonTorres ];
33 platforms = lib.platforms.unix;