From 9fc90429c3bdc4c1d800777b0ba61c325dfb8e0f Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Fri, 10 Jun 2022 21:12:22 +0100 Subject: [PATCH] treewide/games,misc: add sourceType binaryNativeCode for many packages --- pkgs/games/factorio/default.nix | 1 + pkgs/games/minecraft/default.nix | 1 + pkgs/games/runelite/default.nix | 5 ++++- pkgs/games/runescape-launcher/default.nix | 1 + pkgs/games/unvanquished/default.nix | 4 ++++ pkgs/misc/drivers/epkowa/default.nix | 1 + pkgs/misc/drivers/gutenprint/bin.nix | 1 + pkgs/misc/drivers/utsushi/networkscan.nix | 1 + 8 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix index 4cf335a61378..4ca92961bafd 100644 --- a/pkgs/games/factorio/default.nix +++ b/pkgs/games/factorio/default.nix @@ -166,6 +166,7 @@ let version 1.0 in mid 2020. ''; homepage = "https://www.factorio.com/"; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ Baughn elitak erictapen priegger lukegb ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/games/minecraft/default.nix b/pkgs/games/minecraft/default.nix index dc4cd9087fc2..a8e883acae37 100644 --- a/pkgs/games/minecraft/default.nix +++ b/pkgs/games/minecraft/default.nix @@ -149,6 +149,7 @@ stdenv.mkDerivation rec { description = "Official launcher for Minecraft, a sandbox-building game"; homepage = "https://minecraft.net"; maintainers = with maintainers; [ cpages ryantm infinisil ]; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; platforms = [ "x86_64-linux" ]; }; diff --git a/pkgs/games/runelite/default.nix b/pkgs/games/runelite/default.nix index 0cb72f6d23c6..a3c686eee9fe 100644 --- a/pkgs/games/runelite/default.nix +++ b/pkgs/games/runelite/default.nix @@ -58,7 +58,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open source Old School RuneScape client"; homepage = "https://runelite.net/"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; + sourceProvenance = with sourceTypes; [ + binaryBytecode + binaryNativeCode + ]; license = licenses.bsd2; maintainers = with maintainers; [ kmeakin ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/games/runescape-launcher/default.nix b/pkgs/games/runescape-launcher/default.nix index 3208aa3b4612..e671e5589b82 100644 --- a/pkgs/games/runescape-launcher/default.nix +++ b/pkgs/games/runescape-launcher/default.nix @@ -77,6 +77,7 @@ let meta = with lib; { description = "Launcher for RuneScape 3, the current main RuneScape"; homepage = "https://www.runescape.com/"; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ grburst ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/games/unvanquished/default.nix b/pkgs/games/unvanquished/default.nix index 574c639ad125..ca6af48bbb31 100644 --- a/pkgs/games/unvanquished/default.nix +++ b/pkgs/games/unvanquished/default.nix @@ -225,6 +225,10 @@ in stdenv.mkDerivation rec { mit gpl3Plus lib.licenses.zlib bsd3 # engine cc-by-sa-25 cc-by-sa-30 cc-by-30 cc-by-sa-40 cc0 # assets ]; + sourceProvenance = with lib.sourceTypes; [ + fromSource + binaryNativeCode # unvanquished-binary-deps + ]; maintainers = with lib.maintainers; [ afontain ]; platforms = [ "x86_64-linux" ]; }; diff --git a/pkgs/misc/drivers/epkowa/default.nix b/pkgs/misc/drivers/epkowa/default.nix index 29ebfa173296..37e4d2baa35e 100644 --- a/pkgs/misc/drivers/epkowa/default.nix +++ b/pkgs/misc/drivers/epkowa/default.nix @@ -18,6 +18,7 @@ }: let common_meta = { homepage = "http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = with lib.licenses; epson; platforms = with lib.platforms; linux; }; diff --git a/pkgs/misc/drivers/gutenprint/bin.nix b/pkgs/misc/drivers/gutenprint/bin.nix index e1fcb838957c..4b74b191e7f0 100644 --- a/pkgs/misc/drivers/gutenprint/bin.nix +++ b/pkgs/misc/drivers/gutenprint/bin.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation { ''; meta = { + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; description = "Some additional CUPS drivers including Canon drivers"; platforms = [ "x86_64-linux" ]; }; diff --git a/pkgs/misc/drivers/utsushi/networkscan.nix b/pkgs/misc/drivers/utsushi/networkscan.nix index 09230b16cb44..c0416a11be3c 100644 --- a/pkgs/misc/drivers/utsushi/networkscan.nix +++ b/pkgs/misc/drivers/utsushi/networkscan.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://support.epson.net/linux/en/imagescanv3.php"; description = "Network scan plugin for ImageScan v3"; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ abbradar ]; platforms = [ "x86_64-linux" ];