diffoscope: no more unfree dep

This commit is contained in:
linsui 2023-07-23 20:46:01 +08:00
parent ef8e1c480e
commit 0c626b147d

View file

@ -18,7 +18,6 @@
, dtc , dtc
, e2fsprogs , e2fsprogs
, enableBloat ? true , enableBloat ? true
, enableUnfree ? false
, enjarify , enjarify
, fetchurl , fetchurl
, file , file
@ -174,6 +173,7 @@ python3.pkgs.buildPythonApplication rec {
abootimg abootimg
apksigcopier apksigcopier
apksigner apksigner
apktool
cbfstool cbfstool
colord colord
enjarify enjarify
@ -214,8 +214,6 @@ python3.pkgs.buildPythonApplication rec {
++ lib.optionals stdenv.isLinux [ oggvideotools ] ++ lib.optionals stdenv.isLinux [ oggvideotools ]
# This doesn't work on aarch64-darwin # This doesn't work on aarch64-darwin
++ lib.optionals (stdenv.hostPlatform != "aarch64-darwin") [ gnumeric ] ++ lib.optionals (stdenv.hostPlatform != "aarch64-darwin") [ gnumeric ]
# apktool depend on build-tools which requires Android SDK acceptance, therefore, the whole thing is unfree
++ lib.optionals enableUnfree [ apktool ]
)); ));
nativeCheckInputs = with python3.pkgs; [ nativeCheckInputs = with python3.pkgs; [