mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 18:30:46 +02:00
Merge pull request #5 from tomasriveral/laptop
Merge multiple commits to main branch
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -308,6 +308,12 @@
|
|||||||
keyword = "apertus";
|
keyword = "apertus";
|
||||||
url = "https://chat.publicai.co/";
|
url = "https://chat.publicai.co/";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "Signs of AI writing";
|
||||||
|
tags = [ "ai" "write"];
|
||||||
|
keyword = "AI writing";
|
||||||
|
url = "https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
search = {
|
search = {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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 ];
|
||||||
|
|||||||
@@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user