lepton: only build on x86_64-linux for now

Darwin and `aarch64-linux` builds currently fail[1][2].

Also cleaned up the `meta` section a bit.

[1] https://github.com/NixOS/nixpkgs/pull/56108/checks?check_run_id=66442317
[2] https://github.com/NixOS/nixpkgs/pull/56108#issue-254801596
This commit is contained in:
Maximilian Bosch 2019-02-21 00:59:46 +01:00
parent 3fa211dfb8
commit a55d96bf9e
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake git ];
buildInputs = [ glibc.static ];
meta = {
meta = with stdenv.lib; {
homepage = https://github.com/dropbox/lepton;
description = "A tool to losslessly compress JPEGs";
license = stdenv.lib.licenses.asl20;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [ artemist ];
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ artemist ];
};
}