Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5, pkg-config 6}: 7 8stdenv.mkDerivation rec { 9 pname = "jasper"; 10 version = "2.0.32"; 11 12 src = fetchFromGitHub { 13 owner = "jasper-software"; 14 repo = pname; 15 rev = "version-${version}"; 16 hash = "sha256-Uwgtex0MWC/pOmEr8itHMIa4wxd97c/tsTzcLgV8D0I="; 17 }; 18 19 nativeBuildInputs = [ 20 cmake 21 pkg-config 22 ]; 23 24 meta = with lib; { 25 homepage = "https://jasper-software.github.io/jasper/"; 26 description = "Image processing/coding toolkit"; 27 longDescription = '' 28 JasPer is a software toolkit for the handling of image data. The software 29 provides a means for representing images, and facilitates the manipulation 30 of image data, as well as the import/export of such data in numerous 31 formats (e.g., JPEG-2000 JP2, JPEG, PNM, BMP, Sun Rasterfile, and 32 PGX). The import functionality supports the auto-detection (i.e., 33 automatic determination) of the image format, eliminating the need to 34 explicitly identify the format of coded input data. A simple color 35 management engine is also provided in order to allow the accurate 36 representation of color. Partial support is included for the ICC color 37 profile file format, an industry standard for specifying color. 38 39 The JasPer software consists of a library and several application 40 programs. The code is written in the C programming language. This language 41 was chosen primarily due to the availability of C development environments 42 for most computing platforms when JasPer was first developed, circa 1999. 43 ''; 44 license = licenses.free; # MIT-like 45 maintainers = with maintainers; [ AndersonTorres ]; 46 platforms = platforms.unix; 47 }; 48}