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

24 lines
630 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, static ? false }:
2021-07-25 23:36:30 +00:00
stdenv.mkDerivation rec {
pname = "libjpeg";
version = "9d";
src = fetchurl {
2021-07-25 23:36:30 +00:00
url = "http://www.ijg.org/files/jpegsrc.v${version}.tar.gz";
2021-01-31 00:37:21 +00:00
sha256 = "1vkip9rz4hz8f31a2kl7wl7f772wg1z0fg1fbd1653wzwlxllhvc";
};
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;
};
}