nixpkgs/pkgs/development/libraries/impy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
745 B
Nix
Raw Normal View History

{ lib, stdenv
2020-06-15 16:43:07 +00:00
, fetchFromGitHub
2022-12-12 21:48:51 +00:00
, meson
, ninja
2020-06-15 16:43:07 +00:00
, pkg-config
, libpng
, zlib
, giflib
, libjpeg
}:
stdenv.mkDerivation rec {
pname = "impy";
2022-12-12 21:48:51 +00:00
version = "0.2";
2020-06-15 16:43:07 +00:00
src = fetchFromGitHub {
owner = "bcampbell";
repo = "impy";
rev = "v${version}";
2022-12-12 21:48:51 +00:00
sha256 = "sha256-0bHm3jawYgcIeF2COALWlypX7kvPw1hifB/W+TKcC4M=";
2020-06-15 16:43:07 +00:00
};
nativeBuildInputs = [
2022-12-12 21:48:51 +00:00
meson
ninja
2020-06-15 16:43:07 +00:00
pkg-config
];
buildInputs = [
libpng
zlib
giflib
libjpeg
];
meta = with lib; {
2020-06-15 16:43:07 +00:00
description = "A 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;
};
}