coolercontrol.*: nixfmt, drop meta-wide "with lib"
This commit is contained in:
parent
3650335dcb
commit
029b8c50ea
@ -1,20 +1,22 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, dbus
|
||||
, freetype
|
||||
, gtk3
|
||||
, libsoup_3
|
||||
, openssl
|
||||
, pkg-config
|
||||
, webkitgtk_4_1
|
||||
, libappindicator
|
||||
, makeWrapper
|
||||
, coolercontrol
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
dbus,
|
||||
freetype,
|
||||
gtk3,
|
||||
libsoup_3,
|
||||
openssl,
|
||||
pkg-config,
|
||||
webkitgtk_4_1,
|
||||
libappindicator,
|
||||
makeWrapper,
|
||||
coolercontrol,
|
||||
}:
|
||||
|
||||
{ version
|
||||
, src
|
||||
, meta
|
||||
{
|
||||
version,
|
||||
src,
|
||||
meta,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
|
@ -1,9 +1,9 @@
|
||||
{ python3
|
||||
}:
|
||||
{ python3 }:
|
||||
|
||||
{ version
|
||||
, src
|
||||
, meta
|
||||
{
|
||||
version,
|
||||
src,
|
||||
meta,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication {
|
||||
@ -12,9 +12,7 @@ python3.pkgs.buildPythonApplication {
|
||||
sourceRoot = "${src.name}/coolercontrol-liqctld";
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
nativeBuildInputs = with python3.pkgs; [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
liquidctl
|
||||
|
@ -1,10 +1,9 @@
|
||||
{ buildNpmPackage
|
||||
, autoPatchelfHook
|
||||
}:
|
||||
{ buildNpmPackage, autoPatchelfHook }:
|
||||
|
||||
{ version
|
||||
, src
|
||||
, meta
|
||||
{
|
||||
version,
|
||||
src,
|
||||
meta,
|
||||
}:
|
||||
|
||||
buildNpmPackage {
|
||||
@ -18,9 +17,7 @@ buildNpmPackage {
|
||||
autoPatchelf node_modules/sass-embedded-linux-x64/dart-sass/src/dart
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
dontAutoPatchelf = true;
|
||||
|
||||
|
@ -1,13 +1,15 @@
|
||||
{ rustPlatform
|
||||
, testers
|
||||
, libdrm
|
||||
, coolercontrol
|
||||
, runtimeShell
|
||||
{
|
||||
rustPlatform,
|
||||
testers,
|
||||
libdrm,
|
||||
coolercontrol,
|
||||
runtimeShell,
|
||||
}:
|
||||
|
||||
{ version
|
||||
, src
|
||||
, meta
|
||||
{
|
||||
version,
|
||||
src,
|
||||
meta,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
@ -18,9 +20,7 @@ rustPlatform.buildRustPackage {
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-ZAjaegUgNkKygXqskyeUkWpcqi1Jt7pE8GtqWlaP6/I=";
|
||||
|
||||
buildInputs = [
|
||||
libdrm
|
||||
];
|
||||
buildInputs = [ libdrm ];
|
||||
|
||||
postPatch = ''
|
||||
# copy the frontend static resources to a directory for embedding
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, callPackage
|
||||
{
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
callPackage,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -13,12 +14,15 @@ let
|
||||
hash = "sha256-9l10X4uDv3KJz582QQMhqh38bwDtQVHm9HdAVNC6Kfg=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Monitor and control your cooling devices";
|
||||
homepage = "https://gitlab.com/coolercontrol/coolercontrol";
|
||||
license = licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ codifryed OPNA2608 ];
|
||||
maintainers = with lib.maintainers; [
|
||||
codifryed
|
||||
OPNA2608
|
||||
];
|
||||
};
|
||||
|
||||
applySharedDetails = drv: drv { inherit version src meta; };
|
||||
|
Loading…
Reference in New Issue
Block a user