File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2021 Samuel Dionne-Riel
2
+ # SPDX-FileCopyrightText: 2021 Daniel Fullmer and robotnix contributors
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ #
6
+ # Usage
7
+ # =====
8
+ #
9
+ # ```
10
+ # $ nix-build --arg configuration ./sofiar-twrp.nix -A config.build.twrp
11
+ # ```
12
+ #
13
+
14
+ { config , pkgs , lib , ... } :
15
+
16
+ let
17
+ inherit ( pkgs )
18
+ fetchFromGitHub
19
+ ;
20
+ in
21
+ {
22
+ device = "sofiar" ;
23
+ androidVersion = 10 ;
24
+ flavor = "twrp" ;
25
+ source . dirs = {
26
+ "kernel/motorola/trinket" = {
27
+ src = fetchFromGitHub {
28
+ owner = "moto-sm6xxx" ;
29
+ repo = "android_kernel_motorola_trinket" ;
30
+ rev = "dc06278614038a6569650168dd1099f48fae1ebe" ;
31
+ sha256 = "0pmls0nxlmb2jbfxngpkdw2i20rrxjq7an8qar8cidhf10sk4mvj" ;
32
+ } ;
33
+ } ;
34
+ "device/motorola/sofiar" = {
35
+ src = fetchFromGitHub {
36
+ owner = "moto-sm6xxx" ;
37
+ repo = "android_device_motorola_sofiar" ;
38
+ rev = "ece39f82849b3e50b0a1ebbdc689265abeb7b6e0" ;
39
+ sha256 = "1x0g63h4ar7zf6dspz339qri7hkxsgzb45h26xk45g48c1sv5wzm" ;
40
+ } ;
41
+ } ;
42
+ } ;
43
+ }
You can’t perform that action at this time.
0 commit comments