Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv 2, fetchFromGitHub 3, meson 4, ninja 5, pkg-config 6, libpng 7, zlib 8, giflib 9, libjpeg 10}: 11 12stdenv.mkDerivation rec { 13 pname = "impy"; 14 version = "0.2"; 15 16 src = fetchFromGitHub { 17 owner = "bcampbell"; 18 repo = "impy"; 19 rev = "v${version}"; 20 sha256 = "sha256-0bHm3jawYgcIeF2COALWlypX7kvPw1hifB/W+TKcC4M="; 21 }; 22 23 nativeBuildInputs = [ 24 meson 25 ninja 26 pkg-config 27 ]; 28 29 buildInputs = [ 30 libpng 31 zlib 32 giflib 33 libjpeg 34 ]; 35 36 meta = with lib; { 37 description = "A simple library for loading/saving images and animations, written in C"; 38 homepage = "https://github.com/bcampbell/impy"; 39 license = licenses.gpl3; 40 maintainers = with maintainers; [ fgaz ]; 41 platforms = platforms.all; 42 }; 43} 44