Merge pull request #120659 from IvarWithoutBones/init/imagelol

imagelol: init at 0.2
This commit is contained in:
Sandro 2021-04-27 15:16:20 +02:00 committed by GitHub
commit 3be2b56742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "imagelol";
version = "0.2";
src = fetchFromGitHub {
owner = "MCRedstoner2004";
repo = pname;
rev = "v${version}";
sha256 = "0978zdrfj41jsqm78afyyd1l64iki9nwjvhd8ynii1b553nn4dmd";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
installPhase = ''
mkdir -p $out/bin
cp ./ImageLOL $out/bin
'';
meta = with lib; {
homepage = "https://github.com/MCredstoner2004/ImageLOL";
description = "Simple program to store a file into a PNG image";
license = licenses.mit;
maintainers = [ maintainers.ivar ];
platforms = platforms.unix;
};
}

View File

@ -1481,6 +1481,8 @@ in
ili2c = callPackage ../tools/misc/ili2c { };
imagelol = callPackage ../tools/compression/imagelol { };
imageworsener = callPackage ../tools/graphics/imageworsener { };
imgpatchtools = callPackage ../development/mobile/imgpatchtools { };