diff options
author | K900 <me@0upti.me> | 2024-03-22 08:46:57 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-03-22 08:46:57 +0300 |
commit | 8502a2a6b5dfc364ade9350b9c6b135932037c26 (patch) | |
tree | ffe5a07c65f715e7213ad408216689537c699e39 /pkgs/by-name | |
parent | 0ebdaea977ea7874b04b8b735963002eb29d71b0 (diff) |
rkbin: make passthru attributes use full paths, fix license, fix BL31_RK3568 path
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/rk/rkbin/package.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/by-name/rk/rkbin/package.nix b/pkgs/by-name/rk/rkbin/package.nix index f0d320dfef954..9ccff94a4e4b1 100644 --- a/pkgs/by-name/rk/rkbin/package.nix +++ b/pkgs/by-name/rk/rkbin/package.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, rkbin }: stdenv.mkDerivation { @@ -19,15 +20,16 @@ stdenv.mkDerivation { mv bin doc $out/ ''; - BL31_RK3568 = "bin/rk35/rk3568_ddr_1056MHz_v1.21.bin"; - ROCKCHIP_TPL_RK3568 = "bin/rk35/rk3568_ddr_1056MHz_v1.21.bin"; - - ROCKCHIP_TPL_RK3588 = "bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin"; + passthru = { + BL31_RK3568 = "${rkbin}/bin/rk35/rk3568_bl31_v1.44.elf"; + TPL_RK3568 = "${rkbin}/bin/rk35/rk3568_ddr_1056MHz_v1.21.bin"; + TPL_RK3588 = "${rkbin}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin"; + }; meta = with lib; { description = "Rockchip proprietary bootloader blobs"; homepage = "https://github.com/rockchip-linux/rkbin"; - license = licenses.unfree; + license = licenses.unfreeRedistributable; maintainers = with maintainers; [ thefossguy ]; platforms = [ "aarch64-linux" ]; }; |