mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
jasper: migrate to by-name
This commit is contained in:
parent
0952c19751
commit
1638e2adee
@ -5,14 +5,14 @@
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jasper";
|
||||
version = "2.0.32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jasper-software";
|
||||
repo = pname;
|
||||
rev = "version-${version}";
|
||||
repo = "jasper";
|
||||
rev = "version-${finalAttrs.version}";
|
||||
hash = "sha256-Uwgtex0MWC/pOmEr8itHMIa4wxd97c/tsTzcLgV8D0I=";
|
||||
};
|
||||
|
||||
@ -21,7 +21,11 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
cmakeBuildDir = "build-directory";
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://jasper-software.github.io/jasper/";
|
||||
description = "Image processing/coding toolkit";
|
||||
longDescription = ''
|
||||
@ -41,8 +45,8 @@ stdenv.mkDerivation rec {
|
||||
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;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
@ -22258,8 +22258,6 @@ with pkgs;
|
||||
|
||||
jarowinkler-cpp = callPackage ../development/libraries/jarowinkler-cpp { };
|
||||
|
||||
jasper = callPackage ../development/libraries/jasper { };
|
||||
|
||||
jbig2dec = callPackage ../development/libraries/jbig2dec { };
|
||||
|
||||
jbig2enc = callPackage ../development/libraries/jbig2enc { };
|
||||
|
Loading…
Reference in New Issue
Block a user