summary refs log tree commit diff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-02-21 00:59:46 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-02-21 00:59:46 +0100
commita55d96bf9ed1ac531ba701e6a690b34ca1ac1079 (patch)
tree6bd2b67b7530c76e450e258f6608130d5bebbed7 /pkgs/tools/graphics
parent3fa211dfb8bb7778ffdbc3d9f3037a46000146ad (diff)
downloadnixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.tar
nixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.tar.gz
nixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.tar.bz2
nixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.tar.lz
nixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.tar.xz
nixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.tar.zst
nixpkgs-a55d96bf9ed1ac531ba701e6a690b34ca1ac1079.zip
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
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/lepton/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/graphics/lepton/default.nix b/pkgs/tools/graphics/lepton/default.nix
index 5af8ad90f00..fec092db0c5 100644
--- a/pkgs/tools/graphics/lepton/default.nix
+++ b/pkgs/tools/graphics/lepton/default.nix
@@ -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 ];
   };
 }