libjpeg: format with nixfmt, change sha56 -> hash
This commit is contained in:
parent
927918a291
commit
f606fe4fef
@ -1,6 +1,9 @@
|
||||
{ lib, stdenv, fetchurl
|
||||
, testers
|
||||
, static ? false
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
testers,
|
||||
static ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -9,12 +12,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ijg.org/files/jpegsrc.v${finalAttrs.version}.tar.gz";
|
||||
sha256 = "sha256-BHBcEQyyRpyqeftx+6PXv4NJFHBulkGkWJSFwfgyVls=";
|
||||
hash = "sha256-BHBcEQyyRpyqeftx+6PXv4NJFHBulkGkWJSFwfgyVls=";
|
||||
};
|
||||
|
||||
configureFlags = lib.optional static "--enable-static --disable-shared";
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" ];
|
||||
outputs = [
|
||||
"bin"
|
||||
"dev"
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user