2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, git, glibc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "2019-08-20";
|
|
|
|
pname = "lepton-unstable";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "lepton";
|
|
|
|
owner = "dropbox";
|
2020-06-15 15:56:04 +00:00
|
|
|
rev = "3d1bc19da9f13a6e817938afd0f61a81110be4da";
|
|
|
|
sha256 = "0aqs6nvcbq8cbfv8699fa634bsz7csmk0169n069yvv17d1c07fd";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake git ];
|
2021-01-15 22:18:51 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isLinux [ glibc.static ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/dropbox/lepton";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool to losslessly compress JPEGs";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
|
|
|
maintainers = with maintainers; [ artemist ];
|
2022-12-17 10:02:37 +00:00
|
|
|
knownVulnerabilities = [ "CVE-2022-4104" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|