treewide/development: add sourceType binaryNativeCode for many packages

excluding compilers and interpreters as some new tricks may be
needed to cover their various bootstrapping processes properly
This commit is contained in:
Robert Scott 2022-06-10 00:42:40 +01:00
parent 8d64fd7d58
commit 12eea1c636
41 changed files with 63 additions and 2 deletions

View file

@ -244,7 +244,10 @@ stdenv.mkDerivation rec {
description = "Open-source electronics prototyping platform";
homepage = "https://www.arduino.cc/";
license = if withTeensyduino then licenses.unfreeRedistributable else licenses.gpl2;
sourceProvenance = with sourceTypes; [ binaryBytecode ];
sourceProvenance = with sourceTypes; [
binaryBytecode
binaryNativeCode
];
platforms = platforms.linux;
maintainers = with maintainers; [ antono auntie robberer bjornfor bergey ];
};

View file

@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
description = "Embeddable HTML/CSS/JavaScript engine for modern UI development";
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ leixb ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
};
}

View file

@ -9,6 +9,7 @@
description = "PageSpeed Optimization Libraries";
homepage = "https://developers.google.com/speed/pagespeed/psol";
license = lib.licenses.asl20;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
# WARNING: This only works with Linux because the pre-built PSOL binary is only supplied for Linux.
# TODO: Build PSOL from source to support more platforms.
platforms = lib.platforms.linux;

View file

@ -189,6 +189,7 @@ in stdenvNoCC.mkDerivation ({
threading models.
'';
homepage = "https://software.intel.com/en-us/mkl";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.issl;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ bhipple ];

View file

@ -68,6 +68,7 @@ in stdenv.mkDerivation rec {
meta = {
description = "C API for TensorFlow";
homepage = "https://www.tensorflow.org/install/lang_c";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
};

View file

@ -51,6 +51,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A command line tool that compiles a TensorFlow Lite model into an Edge TPU compatible file.";
homepage = "https://coral.ai/docs/edgetpu/compiler";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
maintainers = with maintainers; [ cpcloud ];
platforms = [ "x86_64-linux" ];

View file

@ -173,6 +173,7 @@
broken = stdenv.isDarwin;
description = "ODBC Driver 17 for SQL Server";
homepage = "https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ spencerjanssen ];
@ -217,6 +218,7 @@
broken = stdenv.isDarwin;
description = "Amazon Redshift ODBC driver";
homepage = "https://docs.aws.amazon.com/redshift/latest/mgmt/configure-odbc-connection.html";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = platforms.linux;
maintainers = with maintainers; [ sir4ur0n ];

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Jailbreak for iPhone 5s though iPhone X, iOS 12.0 and up";
homepage = "https://checkra.in/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ onny ];
platforms = platforms.linux;

View file

@ -89,6 +89,7 @@ stdenv.mkDerivation rec {
suitable for application testing.
'';
homepage = "https://www.genymotion.com/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = ["x86_64-linux"];
maintainers = [ maintainers.puffnfresh ];

View file

@ -139,6 +139,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "XLA library for JAX";
homepage = "https://github.com/google/jax";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
maintainers = with maintainers; [ samuela ];
platforms = [ "x86_64-linux" ];

View file

@ -75,6 +75,7 @@ in buildPythonPackage {
# https://docs.nvidia.com/cuda/eula/index.html
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
license = licenses.bsd3;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = platforms.linux ++ platforms.darwin;
hydraPlatforms = []; # output size 3.2G on 1.11.0
maintainers = with maintainers; [ junjihashimoto ];

View file

@ -190,6 +190,7 @@ in buildPythonPackage {
broken = stdenv.isDarwin;
description = "Computation using data flow graphs for scalable machine learning";
homepage = "http://tensorflow.org";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
maintainers = with maintainers; [ jyp abbradar cdepillabout ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];

View file

@ -50,6 +50,7 @@ buildPythonPackage rec {
# https://docs.nvidia.com/cuda/eula/index.html
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
license = licenses.bsd3;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = platforms.linux;
maintainers = with maintainers; [ junjihashimoto ];
};

View file

@ -60,6 +60,7 @@ in buildPythonPackage {
# https://docs.nvidia.com/cuda/eula/index.html
# https://www.intel.com/content/www/us/en/developer/articles/license/onemkl-license-faq.html
license = licenses.bsd3;
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = platforms.linux;
maintainers = with maintainers; [ junjihashimoto ];
};

View file

@ -66,6 +66,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/Azure/azure-functions-core-tools";
description = "Command line tools for Azure Functions";
sourceProvenance = with sourceTypes; [
binaryBytecode
binaryNativeCode
];
license = licenses.mit;
maintainers = with maintainers; [ jshcmpbll ];
platforms = platforms.linux;

View file

@ -63,6 +63,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://scalacenter.github.io/bloop/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
description = "A Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way";
platforms = [ "x86_64-linux" "x86_64-darwin" ];

View file

@ -86,7 +86,10 @@ rec {
homepage = "https://www.gradle.org/";
changelog = "https://docs.gradle.org/${version}/release-notes.html";
downloadPage = "https://gradle.org/next-steps/?version=${version}";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
sourceProvenance = with sourceTypes; [
binaryBytecode
binaryNativeCode
];
license = licenses.asl20;
platforms = if (supportedPlatforms != null) then supportedPlatforms else platforms.unix;
maintainers = with maintainers; [ lorenzleutgeb liff ];

View file

@ -143,6 +143,10 @@ EOF
meta = with lib; {
description = "Mono version of Microsoft Build Engine, the build platform for .NET, and Visual Studio";
homepage = "https://github.com/mono/msbuild";
sourceProvenance = with sourceTypes; [
fromSource
binaryNativeCode # dependencies
];
license = licenses.mit;
maintainers = with maintainers; [ jdanek ];
platforms = platforms.unix;

View file

@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://www.scala-sbt.org/";
license = licenses.bsd3;
sourceProvenance = with sourceTypes; [
binaryBytecode
binaryNativeCode
];
description = "A build tool for Scala, Java and more";
maintainers = with maintainers; [ nequissimus ];
platforms = platforms.unix;

View file

@ -63,6 +63,7 @@ stdenv.mkDerivation {
meta = with lib; {
homepage = "https://scala-cli.virtuslab.org";
downloadPage = "https://github.com/VirtusLab/scala-cli/releases/v${version}";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
description = "Command-line tool to interact with the Scala language";
maintainers = [ maintainers.kubukoz ];

View file

@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Confluent Cloud CLI";
homepage = "https://docs.confluent.io/current/cloud/cli/index.html";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ kalbasit ];

View file

@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Confluent CLI";
homepage = "https://docs.confluent.io/confluent-cli/current/overview.html";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ rguevara84 ];

View file

@ -110,6 +110,7 @@ stdenv.mkDerivation rec {
run a report to automatically extract leak suspects.
'';
homepage = "https://www.eclipse.org/mat";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.epl20;
maintainers = [ maintainers.ktor ];
platforms = [ "x86_64-linux" ];

View file

@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
description = "Google App Engine SDK for Go";
version = version;
homepage = "https://cloud.google.com/appengine/docs/go/";
sourceProvenance = with sourceTypes; [
fromSource
binaryNativeCode # includes golang toolchain binaries
];
license = licenses.asl20;
platforms = ["x86_64-linux" "x86_64-darwin"];
maintainers = with maintainers; [ lufia ];

View file

@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Intel Architecture Code Analyzer";
homepage = "https://software.intel.com/en-us/articles/intel-architecture-code-analyzer/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ kazcw ];

View file

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Intel Architecture Code Analyzer";
homepage = "https://software.intel.com/en-us/articles/intel-architecture-code-analyzer/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ kazcw ];

View file

@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
analyses, editors, code-review applications, and moreto share
information with each other smoothly. '';
homepage = "https://kythe.io/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.mpickering ];

View file

@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Driver for mBlock web version";
homepage = "https://mblock.makeblock.com/en-us/download/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.mausch ];

View file

@ -98,6 +98,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Blackfire Profiler agent and client";
homepage = "https://blackfire.io/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ jtojnar shyim ];
platforms = [ "x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" ];

View file

@ -198,6 +198,7 @@ self = stdenv.mkDerivation rec {
meta = with lib; {
description = "Blackfire Profiler PHP module";
homepage = "https://blackfire.io/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ jtojnar shyim ];
platforms = [ "x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" ];

View file

@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A toolchain for cross-compiling to reMarkable tablets";
homepage = "https://remarkable.engineering/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nickhu siraben ];
platforms = [ "x86_64-linux" ];

View file

@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A toolchain for cross-compiling to reMarkable 2 tablets";
homepage = "https://remarkable.engineering/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.gpl2Plus;
maintainers = with maintainers; [ tadfisher ];
platforms = [ "x86_64-linux" ];

View file

@ -90,6 +90,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Software for Saleae logic analyzers";
homepage = "https://www.saleae.com/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];

View file

@ -77,6 +77,7 @@ stdenv.mkDerivation rec {
not guaranteed to be.
'';
homepage = "https://www.segger.com/products/development-tools/ozone-j-link-debugger";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = [ maintainers.bmilanov ];
platforms = [ "x86_64-linux" ];

View file

@ -87,6 +87,7 @@ in stdenv.mkDerivation rec {
homepage = "https://www.neotys.com/product/overview-neoload.html";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
# https://www.neotys.com/documents/legal/eula/neoload/eula_en.html
license = lib.licenses.unfree;

View file

@ -109,6 +109,10 @@ in stdenv.mkDerivation rec {
description = "OmniSharp based on roslyn workspaces";
homepage = "https://github.com/OmniSharp/omnisharp-roslyn";
platforms = platforms.unix;
sourceProvenance = with sourceTypes; [
fromSource
binaryNativeCode # dependencies
];
license = licenses.mit;
maintainers = with maintainers; [ tesq0 ericdallo corngood ];
mainProgram = "omnisharp";

View file

@ -75,6 +75,7 @@ in stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/jhen0409/react-native-debugger";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.mit;
description = "The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools";
maintainers = with maintainers; [ ];

View file

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Daemon for managing SSL/TLS certificates on a server";
homepage = "https://sslmate.com/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ wolfangaukang ];
};

View file

@ -39,6 +39,7 @@ in stdenv.mkDerivation rec {
meta = with lib; {
description = "Chromium-based cross-platform / cross-language application framework";
homepage = "https://github.com/breach/thrust";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.mit;
maintainers = [ maintainers.osener ];
platforms = [ "x86_64-linux" ];

View file

@ -70,6 +70,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Fast, easy and reliable testing for anything that runs in a browser";
homepage = "https://www.cypress.io";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ tweber mmahut ];

View file

@ -6,6 +6,7 @@ let
meta = with lib; {
homepage = "https://www.getpostman.com";
description = "API Development Environment";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.postman;
platforms = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
maintainers = with maintainers; [ johnrichardrinehart evanjs tricktron ];