lzsa: init at 1.4.1
This commit is contained in:
parent
b571c88ad3
commit
bf8db64ddb
1 changed files with 34 additions and 0 deletions
34
pkgs/by-name/lz/lzsa/package.nix
Normal file
34
pkgs/by-name/lz/lzsa/package.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lzsa";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emmanuel-marty";
|
||||
repo = "lzsa";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-XaPtMW9INv/wzMXvlyXgE3VfFJCY/5R/HFGhV3ZKvGs=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 lzsa -t $out/bin/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/emmanuel-marty/lzsa";
|
||||
description = "Byte-aligned, efficient lossless packer that is optimized for fast decompression on 8-bit micros";
|
||||
license = with lib.licenses; [ cc0 ];
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue