3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/graphics/lepton/default.nix

25 lines
705 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, git, glibc }:
2019-02-20 21:09:14 +00:00
2020-02-14 09:20:00 +00:00
stdenv.mkDerivation rec {
2020-06-18 13:37:44 +01:00
version = "2019-08-20";
pname = "lepton-unstable";
2019-02-20 21:09:14 +00:00
src = fetchFromGitHub {
repo = "lepton";
owner = "dropbox";
2020-06-18 13:37:44 +01:00
rev = "3d1bc19da9f13a6e817938afd0f61a81110be4da";
sha256 = "0aqs6nvcbq8cbfv8699fa634bsz7csmk0169n069yvv17d1c07fd";
2019-02-20 21:09:14 +00:00
};
nativeBuildInputs = [ cmake git ];
2021-01-15 09:19:50 +00:00
buildInputs = lib.optionals stdenv.isLinux [ glibc.static ];
2019-02-20 21:09:14 +00:00
meta = with lib; {
homepage = "https://github.com/dropbox/lepton";
2019-02-20 21:09:14 +00:00
description = "A tool to losslessly compress JPEGs";
license = licenses.asl20;
2020-02-14 09:20:00 +00:00
platforms = [ "x86_64-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ artemist ];
2019-02-20 21:09:14 +00:00
};
}