File tree 3 files changed +48
-0
lines changed
os-specific/linux/amdgpu-i2c
3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 23350
23350
githubId = 7060816;
23351
23351
name = "Thao-Tran Le-Phuong";
23352
23352
};
23353
+ thardin = {
23354
+ email = "th020394@gmail.com";
23355
+ github = "Tyler-Hardin";
23356
+ githubId = 5404976;
23357
+ name = "Tyler Hardin";
23358
+ };
23353
23359
thblt = {
23354
23360
name = "Thibault Polge";
23355
23361
email = "thibault@thb.lt";
Original file line number Diff line number Diff line change
1
+ {
2
+ stdenv ,
3
+ lib ,
4
+ fetchFromGitHub ,
5
+ kernel ,
6
+ } :
7
+
8
+ let
9
+ KDIR = "${ kernel . dev } /lib/modules/${ kernel . modDirVersion } /build" ;
10
+ in
11
+ stdenv . mkDerivation {
12
+ pname = "amdgpu-i2c" ;
13
+ version = "0-unstable-2024-12-16" ;
14
+
15
+ src = fetchFromGitHub {
16
+ owner = "twifty" ;
17
+ repo = "amd-gpu-i2c" ;
18
+ rev = "06ca41fd12fb90f970d3ebd4785cc26cc0a3f3b0" ;
19
+ sha256 = "sha256-GVyrwnwNSBW4OCNDqQMU6e31C4bG14arC0MPkRWfiJQ=" ;
20
+ } ;
21
+
22
+ hardeningDisable = [ "pic" ] ;
23
+
24
+ nativeBuildInputs = kernel . moduleBuildDependencies ;
25
+
26
+ buildPhase = "make -C ${ KDIR } M=/build/source modules" ;
27
+ installPhase = ''
28
+ make -C ${ KDIR } M=/build/source INSTALL_MOD_PATH="$out" modules_install
29
+ '' ;
30
+
31
+ meta = with lib ; {
32
+ homepage = "https://github.com/twifty/amd-gpu-i2c" ;
33
+ downloadPage = "https://github.com/twifty/amd-gpu-i2c" ;
34
+ description = "Exposes i2c interface to set colors on AMD GPUs" ;
35
+ broken = kernel . kernelOlder "6.1.0" || kernel . isLibre ;
36
+ license = licenses . gpl2Plus ;
37
+ platforms = platforms . linux ;
38
+ maintainers = with maintainers ; [ thardin ] ;
39
+ } ;
40
+ }
Original file line number Diff line number Diff line change 338
338
339
339
akvcam = callPackage ../os-specific/linux/akvcam { } ;
340
340
341
+ amdgpu-i2c = callPackage ../os-specific/linux/amdgpu-i2c { } ;
342
+
341
343
amneziawg = callPackage ../os-specific/linux/amneziawg { } ;
342
344
343
345
apfs = callPackage ../os-specific/linux/apfs { } ;
You can’t perform that action at this time.
0 commit comments