packages/psensor: bring back
This commit is contained in:
parent
7b3b9354de
commit
a669c4519b
3 changed files with 55 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
linux-lava = callPackage ./linux-lava { inherit inputs; };
|
linux-lava = callPackage ./linux-lava { inherit inputs; };
|
||||||
nvim-treesitter-nightly = callPackage ./nvim-treesitter-nightly { inherit inputs; };
|
nvim-treesitter-nightly = callPackage ./nvim-treesitter-nightly { inherit inputs; };
|
||||||
packwiz = callPackage ./packwiz { inherit inputs; };
|
packwiz = callPackage ./packwiz { inherit inputs; };
|
||||||
|
psensor = callPackage ./psensor { };
|
||||||
spotify-adblock = callPackage ./spotify-adblock { inherit inputs; };
|
spotify-adblock = callPackage ./spotify-adblock { inherit inputs; };
|
||||||
tetrio-desktop = callPackage ./tetrio/base.nix { };
|
tetrio-desktop = callPackage ./tetrio/base.nix { };
|
||||||
tetrio-desktop-plus = callPackage ./tetrio/plus.nix { inherit tetrio-desktop; };
|
tetrio-desktop-plus = callPackage ./tetrio/plus.nix { inherit tetrio-desktop; };
|
||||||
|
|
|
||||||
53
packages/psensor/default.nix
Normal file
53
packages/psensor/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, lm_sensors
|
||||||
|
, libgtop
|
||||||
|
, libatasmart
|
||||||
|
, gtk3
|
||||||
|
, libnotify
|
||||||
|
, udisks2
|
||||||
|
, wrapGAppsHook3
|
||||||
|
, libappindicator
|
||||||
|
, linuxPackages
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl;
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "psensor";
|
||||||
|
|
||||||
|
version = "1.2.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://wpitchoune.net/psensor/files/psensor-${version}.tar.gz";
|
||||||
|
sha256 = "1ark901va79gfq5p8h8dqypjgm3f8crmj37520q3slwz2rfphkq8";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
lm_sensors
|
||||||
|
libgtop
|
||||||
|
libatasmart
|
||||||
|
gtk3
|
||||||
|
libnotify
|
||||||
|
udisks2
|
||||||
|
libappindicator
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXNVCtrl}/include -Wno-error"
|
||||||
|
NIX_LDFLAGS="$NIX_LDFLAGS -L${libXNVCtrl}/lib"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Graphical hardware monitoring application for Linux";
|
||||||
|
homepage = "https://wpitchoune.net/psensor/";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ ];
|
||||||
|
mainProgram = "psensor";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -39,11 +39,11 @@
|
||||||
maim
|
maim
|
||||||
mangohud
|
mangohud
|
||||||
#me.tetrio-desktop-plus
|
#me.tetrio-desktop-plus
|
||||||
|
me.psensor
|
||||||
inputs.nix-gaming.packages.x86_64-linux.osu-lazer-bin
|
inputs.nix-gaming.packages.x86_64-linux.osu-lazer-bin
|
||||||
#inputs.nix-gaming.packages.x86_64-linux.wine-osu
|
#inputs.nix-gaming.packages.x86_64-linux.wine-osu
|
||||||
pavucontrol
|
pavucontrol
|
||||||
prismlauncher
|
prismlauncher
|
||||||
psensor
|
|
||||||
qbittorrent
|
qbittorrent
|
||||||
rivalcfg
|
rivalcfg
|
||||||
screenkey
|
screenkey
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue