mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
40 lines
902 B
Nix
40 lines
902 B
Nix
{
|
|
lib,
|
|
fetchFromGitLab,
|
|
callPackage,
|
|
}:
|
|
|
|
let
|
|
version = "3.0.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "coolercontrol";
|
|
repo = "coolercontrol";
|
|
rev = version;
|
|
hash = "sha256-puWnnNc3T/R+vPp3oyxP2aTHo1rZ5RWyW6KF6wywF1I=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Monitor and control your cooling devices";
|
|
homepage = "https://gitlab.com/coolercontrol/coolercontrol";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
codifryed
|
|
OPNA2608
|
|
];
|
|
};
|
|
|
|
applySharedDetails = drv: drv { inherit version src meta; };
|
|
in
|
|
{
|
|
coolercontrol-ui-data = applySharedDetails (callPackage ./coolercontrol-ui-data.nix { });
|
|
|
|
coolercontrold = applySharedDetails (callPackage ./coolercontrold.nix { });
|
|
|
|
coolercontrol-gui = applySharedDetails (callPackage ./coolercontrol-gui.nix { });
|
|
}
|