envision-unwrapped: 0-unstable-2024-10-20 -> 1.1.1 (#360652)
[NixPkgs.git] / pkgs / by-name / le / lepton / package.nix
blob980f729e9725d76f12f5a6f9efbf699a2265e0cc
1 { lib, stdenv, fetchFromGitHub, cmake, git, glibc }:
3 stdenv.mkDerivation rec {
4   version = "2019-08-20";
5   pname = "lepton-unstable";
7   src = fetchFromGitHub {
8     repo = "lepton";
9     owner = "dropbox";
10     rev = "3d1bc19da9f13a6e817938afd0f61a81110be4da";
11     sha256 = "0aqs6nvcbq8cbfv8699fa634bsz7csmk0169n069yvv17d1c07fd";
12   };
14   nativeBuildInputs = [ cmake git ];
15   buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ glibc.static ];
17   meta = with lib; {
18     homepage = "https://github.com/dropbox/lepton";
19     description = "Tool to losslessly compress JPEGs";
20     license = licenses.asl20;
21     platforms = [ "x86_64-linux" "x86_64-darwin" ];
22     maintainers = with maintainers; [ artemist ];
23     knownVulnerabilities = [ "CVE-2022-4104" ];
24   };