blob: 14375495f34a99cfc71d1da0222ac6ba123beb52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib
, fetchFromGitLab
, callPackage
}:
let
version = "1.2.2";
src = fetchFromGitLab {
owner = "coolercontrol";
repo = "coolercontrol";
rev = version;
hash = "sha256-c+MM8MAM8WSKSKECSfy/Iw7KWiWHxG75YShtv9d2Sjc=";
};
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 { });
}
|