File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
pkgs/by-name/po/powerstation Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitHub ,
5+ pkg-config ,
6+ udev ,
7+ pciutils ,
8+ cmake ,
9+ } :
10+
11+ rustPlatform . buildRustPackage rec {
12+ pname = "powerstation" ;
13+ version = "0.4.2" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "ShadowBlip" ;
17+ repo = "PowerStation" ;
18+ tag = "v${ version } " ;
19+ hash = "sha256-R6p3zuYWggnOy60iGZ6G23ig1gzezweswAxVrCB+zvU=" ;
20+ } ;
21+
22+ useFetchCargoVendor = true ;
23+ cargoHash = "sha256-3mOmDDDGW7AClG4tNuXti07lCNbK5bMnpWUnsxcxGPI=" ;
24+
25+ nativeBuildInputs = [
26+ cmake
27+ pkg-config
28+ rustPlatform . bindgenHook
29+ ] ;
30+
31+ buildInputs = [
32+ udev
33+ pciutils
34+ ] ;
35+
36+ postInstall = ''
37+ cp -r rootfs/usr/* $out/
38+ '' ;
39+
40+ meta = {
41+ description = "Open source TDP control and performance daemon with DBus interface" ;
42+ homepage = "https://github.com/ShadowBlip/PowerStation" ;
43+ license = lib . licenses . gpl3Plus ;
44+ changelog = "https://github.com/ShadowBlip/PowerStation/releases/tag/v${ version } " ;
45+ maintainers = with lib . maintainers ; [ shadowapex ] ;
46+ mainProgram = "powerstation" ;
47+ } ;
48+ }
You can’t perform that action at this time.
0 commit comments