mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
refactor: rfc formatting
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
{ lib, appimageTools, fetchurl }:
|
||||
{
|
||||
lib,
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
}:
|
||||
appimageTools.wrapType2 rec {
|
||||
name = "cura";
|
||||
version = "5.6.0";
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://github.com/Ultimaker/Cura/releases/download/${version}/UltiMaker-Cura-${version}-linux-X64.AppImage";
|
||||
url = "https://github.com/Ultimaker/Cura/releases/download/${version}/UltiMaker-Cura-${version}-linux-X64.AppImage";
|
||||
hash = "sha256-EHiWoNpLKHPzv6rZrtNgEr7y//iVcRYeV/TaCn8QpEA=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
{ lib, scdoc, buildGoModule, fetchFromGitLab, hidapi, udev, }:
|
||||
{
|
||||
lib,
|
||||
scdoc,
|
||||
buildGoModule,
|
||||
fetchFromGitLab,
|
||||
hidapi,
|
||||
udev,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "darkman";
|
||||
version = "1.5.4";
|
||||
@@ -36,8 +43,7 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Framework for dark-mode and light-mode transitions on Linux desktop";
|
||||
description = "Framework for dark-mode and light-mode transitions on Linux desktop";
|
||||
homepage = "https://gitlab.com/WhyNotHugo/darkman";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.ajgrf ];
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
{ lib, pkgs, buildGoModule, fetchFromGitHub, hidapi, udev, }:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
hidapi,
|
||||
udev,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "gbmonctl";
|
||||
version = "1d01a090";
|
||||
@@ -9,15 +16,17 @@ buildGoModule rec {
|
||||
hash = "sha256-KeBdGtQWz9TBmk1HdXlkIs2r2aZ+EO8WhNaGbsFBBR8=";
|
||||
};
|
||||
vendorHash = "sha256-cEqpEaX4eJ/6um9qbw/kzg9/vesOWmdiHzZ7IodVV9c=";
|
||||
buildInputs = [ hidapi udev ];
|
||||
buildInputs = [
|
||||
hidapi
|
||||
udev
|
||||
];
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin $out/lib/udev/rules.d
|
||||
echo 'KERNEL=="hidraw*", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="1100", MODE="0666", TAG+="uaccess"' \
|
||||
> $out/lib/udev/rules.d/99-gigabyte-monitor.rules
|
||||
'';
|
||||
meta = with lib; {
|
||||
description =
|
||||
"A CLI tool to change monitor settings over USB to the Gigabyte M32U";
|
||||
description = "A CLI tool to change monitor settings over USB to the Gigabyte M32U";
|
||||
homepage = "https://github.com/kelvie/gbmonctl";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ stdenv, fetchFromGitHub, glibc, lib, }:
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
glibc,
|
||||
lib,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
name = "lpc21isp";
|
||||
src = fetchFromGitHub {
|
||||
@@ -13,8 +18,7 @@ stdenv.mkDerivation {
|
||||
cp lpc21isp $out/bin
|
||||
'';
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Portable command line ISP for NXP LPC family and Analog Devices ADUC70xx";
|
||||
description = "Portable command line ISP for NXP LPC family and Analog Devices ADUC70xx";
|
||||
homepage = "https://github.com/capiman/lpc21isp";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.theaninova ];
|
||||
|
||||
Reference in New Issue
Block a user