miscellanious stuff

This commit is contained in:
2026-05-09 19:22:21 +02:00
parent 0c2e877c11
commit 5ae4d237e2
5 changed files with 166 additions and 4 deletions
+1 -1
View File
@@ -271,7 +271,7 @@
#vivify # for NoteWrapper #vivify # for NoteWrapper
# this is more up to date # this is more up to date
(callPackage ../../modules/packages/vivify.nix {}) (callPackage ../../modules/packages/vivify.nix {})
#(callPackage ../../modules/packages/sbb-tui.nix {}) (callPackage ../../modules/packages/sbb-tui.nix {})
pkgs-unstable.nixpkgs-review pkgs-unstable.nixpkgs-review
pkgs-unstable.nixfmt-tree pkgs-unstable.nixfmt-tree
pkgs-unstable.treefmt pkgs-unstable.treefmt
+1 -1
View File
@@ -3,7 +3,7 @@
... ...
}: { }: {
home.packages = [ home.packages = [
pkgs-unstable.sbb-tui #pkgs-unstable.sbb-tui
]; ];
home.file.".config/sbb-tui/config.yaml" = { home.file.".config/sbb-tui/config.yaml" = {
enable = true; enable = true;
+128
View File
@@ -0,0 +1,128 @@
{
lib,
stdenv,
fetchpatch,
fetchurl,
cmake,
extra-cmake-modules,
shared-mime-info,
wrapQtAppsHook,
qtbase,
karchive,
kcompletion,
kconfig,
kcoreaddons,
kcrash,
kdoctools,
ki18n,
kiconthemes,
kio,
knewstuff,
kparts,
ktextwidgets,
kxmlgui,
syntax-highlighting,
gsl,
poppler,
fftw,
hdf5,
netcdf,
cfitsio,
libcerf,
# cantor,
zlib,
lz4,
readstat,
matio,
qtserialport,
discount,
}:
stdenv.mkDerivation rec {
pname = "labplot";
version = "2.10.1";
src = fetchurl {
url = "mirror://kde/stable/labplot/labplot-${version}.tar.xz";
sha256 = "sha256-K24YFRfPtuDf/3uJXz6yDHzjWeZzLThUXgdXya6i2u8=";
};
cmakeFlags = [
# Disable Vector BLF since it depends on DBC parser which fails to be detected
"-DENABLE_VECTOR_BLF=OFF"
];
patches = [
(fetchpatch {
name = "matio-fix-compilation-for-latest-version-1.5.27.patch";
url = "https://github.com/KDE/labplot/commit/d6142308ffa492d9f7cea00fad3b4cd1babfd00c.patch";
hash = "sha256-qD5jj6GxBKbQezKJb1Z8HnwFO84WJBGQDawS/6o/wHE=";
})
];
nativeBuildInputs = [
cmake
extra-cmake-modules
shared-mime-info
wrapQtAppsHook
];
buildInputs = [
qtbase
karchive
kcompletion
kconfig
kcoreaddons
kcrash
kdoctools
ki18n
kiconthemes
kio
knewstuff
kparts
ktextwidgets
kxmlgui
syntax-highlighting
gsl
poppler
fftw
hdf5
netcdf
cfitsio
libcerf
# cantor
zlib
lz4
readstat
matio
qtserialport
discount
];
meta = {
description = "Free, open source and cross-platform data visualization and analysis software accessible to everyone";
homepage = "https://labplot.kde.org";
license = with lib.licenses; [
asl20
bsd3
cc-by-30
cc0
gpl2Only
gpl2Plus
gpl3Only
gpl3Plus
lgpl3Plus
mit
];
maintainers = [ "tomasriveral" ];
mainProgram = "labplot2";
platforms = lib.platforms.unix;
};
}
+4 -2
View File
@@ -8,13 +8,13 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "sbb-tui"; pname = "sbb-tui";
version = "1.13.4"; version = "1.14.1";
__structuredAttrs = true; __structuredAttrs = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Necrom4"; owner = "Necrom4";
repo = "sbb-tui"; repo = "sbb-tui";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-JLjAhs5UbqgNYqpA3cDucrAS6ell+0JiDJNf7G33Nhs="; hash = "sha256-nXkzy5PDR3MRrA0Hsh6/icjAbYyBR2q7oBn74ir1O3E=";
}; };
vendorHash = "sha256-K4DOu3rfSlKAa5JNKCzWWpnWZlXXxtN5Po7p1Spqe1w="; vendorHash = "sha256-K4DOu3rfSlKAa5JNKCzWWpnWZlXXxtN5Po7p1Spqe1w=";
@@ -25,6 +25,8 @@ buildGoModule (finalAttrs: {
"-X main.version=${finalAttrs.version}" "-X main.version=${finalAttrs.version}"
]; ];
allowGoReference = true;
doCheck = true; doCheck = true;
nativeCheckInputs = [ versionCheckHook ]; nativeCheckInputs = [ versionCheckHook ];
+32
View File
@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "z13ctl";
version = "1.1.6";
src = fetchFromGitHub {
owner = "dahui";
repo = "z13ctl";
rev = "v1.1.6";
hash = "sha256-21mdAzbw8JISDLG7iSEI4VCephDTtbioN0/RRxvCLR8=";
};
vendorHash = "sha256-ftkcianIR36PNAoMOVuk4lUr7goWUcHhjyNseUraJU0=";
subPackages = [ "." ];
__structuredAttrs = true;
meta = with lib; {
description = "Utility for ASUS ROG Flow Z13 (2025)";
homepage = "https://github.com/dahui/z13ctl";
license = licenses.asl20;
platforms = platforms.linux;
mainProgram = "z13ctl";
maintainers = with maintainers; [ badheuristic ];
};
}