From 27e8db2bcfd32a9bcc24a68347cd493a4b3f4e7d Mon Sep 17 00:00:00 2001 From: rewine Date: Wed, 29 Nov 2023 13:55:18 +0800 Subject: [PATCH] bilibili: update meta info 1. mark sourceProvenance as `binaryNativeCode` 2. only work on "x86_64-linux" platform, upstream supports arm but it still is not in nixpkgs 3. Add unfree license, this is a proprietary software belonging to `bilibili.com`, [upstream](https://github.com/msojocs/bilibili-linux) ported to linux via anti-obfuscation --- pkgs/applications/video/bilibili/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/bilibili/default.nix b/pkgs/applications/video/bilibili/default.nix index 7a103bc045b5..f7a9bd836745 100644 --- a/pkgs/applications/video/bilibili/default.nix +++ b/pkgs/applications/video/bilibili/default.nix @@ -41,9 +41,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Electron-based bilibili desktop client"; homepage = "https://github.com/msojocs/bilibili-linux"; - license = licenses.mit; + license = with licenses; [ unfree mit ]; maintainers = with maintainers; [ jedsek kashw2 ]; - platforms = platforms.unix; + platforms = [ "x86_64-linux" ]; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; mainProgram = "bilibili"; }; }