nixpkgs/pkgs/development/libraries/libjpeg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
629 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, static ? false }:
2021-07-25 23:36:30 +00:00
stdenv.mkDerivation rec {
pname = "libjpeg";
2022-02-12 00:01:03 +00:00
version = "9e";
src = fetchurl {
2021-07-25 23:36:30 +00:00
url = "http://www.ijg.org/files/jpegsrc.v${version}.tar.gz";
2022-02-12 00:01:03 +00:00
sha256 = "sha256-QHfWpqda6wGIT3CJGdJZNMkzBeSffj8225EpMg5vTz0=";
};
2021-07-25 23:36:30 +00:00
configureFlags = lib.optional static "--enable-static --disable-shared";
outputs = [ "bin" "dev" "out" "man" ];
2021-07-25 23:36:30 +00:00
meta = with lib; {
homepage = "https://www.ijg.org/";
description = "A library that implements the JPEG image file format";
2021-07-25 23:36:30 +00:00
maintainers = with maintainers; [ ];
license = licenses.free;
platforms = platforms.unix;
};
}