diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-05 09:32:31 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-05 09:32:31 +0100 |
commit | 480416cc0d7e508b652c516af8d7342e3b1e59e3 (patch) | |
tree | d64d990b0d7cc1f80dca687b48563bc71628b55e /nixpkgs/pkgs/by-name/ja | |
parent | 05f40ff2bfe9c68198664c38d65816f677ac7ed4 (diff) | |
parent | fa804edfb7869c9fb230e174182a8a1a7e512c40 (diff) | |
download | nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.tar nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.tar.gz nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.tar.bz2 nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.tar.lz nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.tar.xz nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.tar.zst nixlib-480416cc0d7e508b652c516af8d7342e3b1e59e3.zip |
Merge branch 'nixos-unstable' of https://github.com/NixOS/nixpkgs into HEAD
Conflicts: nixpkgs/pkgs/servers/pr-tracker/default.nix
Diffstat (limited to 'nixpkgs/pkgs/by-name/ja')
-rw-r--r-- | nixpkgs/pkgs/by-name/ja/jasper/package.nix | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/ja/jasper/package.nix b/nixpkgs/pkgs/by-name/ja/jasper/package.nix new file mode 100644 index 000000000000..4e10eaa80ad8 --- /dev/null +++ b/nixpkgs/pkgs/by-name/ja/jasper/package.nix @@ -0,0 +1,52 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "jasper"; + version = "4.0.0"; + + src = fetchFromGitHub { + owner = "jasper-software"; + repo = "jasper"; + rev = "version-${finalAttrs.version}"; + hash = "sha256-v/AFx40JWdbTCa008tDz/n9cXgpAkKv4rSiGJ8yx1YQ="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + cmakeBuildDir = "build-directory"; + + strictDeps = true; + + meta = { + homepage = "https://jasper-software.github.io/jasper/"; + description = "Image processing/coding toolkit"; + longDescription = '' + JasPer is a software toolkit for the handling of image data. The software + provides a means for representing images, and facilitates the manipulation + of image data, as well as the import/export of such data in numerous + formats (e.g., JPEG-2000 JP2, JPEG, PNM, BMP, Sun Rasterfile, and + PGX). The import functionality supports the auto-detection (i.e., + automatic determination) of the image format, eliminating the need to + explicitly identify the format of coded input data. A simple color + management engine is also provided in order to allow the accurate + representation of color. Partial support is included for the ICC color + profile file format, an industry standard for specifying color. + + The JasPer software consists of a library and several application + programs. The code is written in the C programming language. This language + was chosen primarily due to the availability of C development environments + for most computing platforms when JasPer was first developed, circa 1999. + ''; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.unix; + }; +}) |