diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2021-03-14 00:31:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 00:31:24 -0300 |
commit | 0948de92e02ac90dcde4a412965a8f5f376268c5 (patch) | |
tree | c69cf1cc61eb625b684b3622beec9240d4f8af98 | |
parent | 0f13c4c5d311ce8a5fddd44274f0f7d04eca291a (diff) | |
parent | 3d15fa8ae656d797c750c459a7e79b288fe58e7e (diff) |
Merge pull request #116221 from AndersonTorres/new-jasper
Jasper is back
-rw-r--r-- | pkgs/development/libraries/jasper/default.nix | 48 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 50 insertions, 1 deletions
diff --git a/pkgs/development/libraries/jasper/default.nix b/pkgs/development/libraries/jasper/default.nix new file mode 100644 index 000000000000..fa4421b9413d --- /dev/null +++ b/pkgs/development/libraries/jasper/default.nix @@ -0,0 +1,48 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +}: + +stdenv.mkDerivation rec { + pname = "jasper"; + version = "2.0.26"; + + src = fetchFromGitHub { + owner = "jasper-software"; + repo = pname; + rev = "version-${version}"; + hash = "sha256-zmoC8nIsQm2u2cSzu2prdyofo3JFNzJ1bjbIZ3YaAn4="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + meta = with lib; { + 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 = licenses.free; # MIT-like + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 47cd223ef568..00f5c067fdf7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -303,7 +303,6 @@ mapAliases ({ inotifyTools = inotify-tools; i-score = throw "i-score has been removed: abandoned upstream."; # added 2020-11-21 jamomacore = throw "jamomacore has been removed: abandoned upstream."; # added 2020-11-21 - jasper = throw "jasper has been removed: abandoned upstream with many vulnerabilities"; jbuilder = dune_1; # added 2018-09-09 jikes = throw "jikes was deprecated on 2019-10-07: abandoned by upstream"; joseki = apache-jena-fuseki; # added 2016-02-28 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0d93ac133d68..26f4e09cceab 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14650,6 +14650,8 @@ in jansson = callPackage ../development/libraries/jansson { }; + jasper = callPackage ../development/libraries/jasper { }; + jbig2dec = callPackage ../development/libraries/jbig2dec { }; jcal = callPackage ../development/libraries/jcal { }; |