about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorrewine <luhongxu@deepin.org>2023-11-29 13:55:18 +0800
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-11-30 01:11:48 +0100
commit27e8db2bcfd32a9bcc24a68347cd493a4b3f4e7d (patch)
tree3dc6c9942fadd13bc3438710c8f366d5468b71ca /pkgs/applications/video
parent6620eab212514dc29312c673d94eb48f68b12e31 (diff)
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
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/bilibili/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/video/bilibili/default.nix b/pkgs/applications/video/bilibili/default.nix
index 7a103bc045b54..f7a9bd8367452 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";
   };
 }