mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
43 lines
763 B
Nix
43 lines
763 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 = with lib; {
|
|
description = "Simple library for loading/saving images and animations, written in C";
|
|
homepage = "https://github.com/bcampbell/impy";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|