mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
imagelol: init at 0.2
This commit is contained in:
parent
b1c9917f71
commit
249d9041be
2 changed files with 31 additions and 0 deletions
29
pkgs/tools/compression/imagelol/default.nix
Normal file
29
pkgs/tools/compression/imagelol/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -1475,6 +1475,8 @@ in
|
|||
|
||||
ili2c = callPackage ../tools/misc/ili2c { };
|
||||
|
||||
imagelol = callPackage ../tools/compression/imagelol { };
|
||||
|
||||
imageworsener = callPackage ../tools/graphics/imageworsener { };
|
||||
|
||||
imgpatchtools = callPackage ../development/mobile/imgpatchtools { };
|
||||
|
|
Loading…
Reference in a new issue