Files
nixpkgs/pkgs/by-name/im/impy/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

46 lines
778 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
libpng,
zlib,
giflib,
libjpeg,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "impy";
version = "0.2";
src = fetchFromGitHub {
owner = "bcampbell";
repo = "impy";
rev = "v${finalAttrs.version}";
sha256 = "sha256-0bHm3jawYgcIeF2COALWlypX7kvPw1hifB/W+TKcC4M=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
libpng
zlib
giflib
libjpeg
];
meta = {
description = "Simple library for loading/saving images and animations, written in C";
homepage = "https://github.com/bcampbell/impy";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ fgaz ];
platforms = lib.platforms.all;
};
})