nixpkgs/pkgs/applications/system/coolercontrol/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
948 B
Nix
Raw Normal View History

2024-02-11 20:17:19 +00:00
{ lib
, fetchFromGitLab
, callPackage
}:
let
2024-07-27 18:33:42 +01:00
version = "1.4.0";
2024-02-11 20:17:19 +00:00
src = fetchFromGitLab {
owner = "coolercontrol";
repo = "coolercontrol";
rev = version;
2024-07-27 18:33:42 +01:00
hash = "sha256-jsgso9MHt5Szzp9YkuXz8qysdN0li/zD2R/vSZ2Lw5M=";
2024-02-11 20:17:19 +00:00
};
meta = with lib; {
description = "Monitor and control your cooling devices";
homepage = "https://gitlab.com/coolercontrol/coolercontrol";
license = licenses.gpl3Plus;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ codifryed OPNA2608 ];
};
applySharedDetails = drv: drv { inherit version src meta; };
in
rec {
coolercontrol-ui-data = applySharedDetails (callPackage ./coolercontrol-ui-data.nix { });
coolercontrold = applySharedDetails (callPackage ./coolercontrold.nix { });
coolercontrol-gui = applySharedDetails (callPackage ./coolercontrol-gui.nix { });
coolercontrol-liqctld = applySharedDetails (callPackage ./coolercontrol-liqctld.nix { });
}