Merge remote-tracking branch 'origin/master' into staging-next

This commit is contained in:
K900 2024-10-25 07:59:17 +03:00
commit 764384fc64
11 changed files with 132 additions and 61 deletions

View File

@ -23179,6 +23179,17 @@
githubId = 36118348;
keys = [ { fingerprint = "69C9 876B 5797 1B2E 11C5 7C39 80A1 F76F C9F9 54AE"; } ];
};
wizardlink = {
name = "wizardlink";
email = "contact@thewizard.link";
github = "wizardlink";
githubId = 26727907;
keys = [
{
fingerprint = "A1D3 A2B4 E14B D7C0 445B B749 A576 7B54 367C FBDF";
}
];
};
wizeman = {
email = "rcorreia@wizy.org";
github = "wizeman";

View File

@ -26,7 +26,7 @@
}:
let
version = "1.18.1";
version = "1.19.0";
# build stimuli file for PGO build and the script to generate it
# independently of the foot's build, so we can cache the result
@ -98,7 +98,7 @@ stdenv.mkDerivation {
owner = "dnkl";
repo = "foot";
rev = version;
hash = "sha256:15s7fbkibvq53flf5yy9ad37y53pl83rcnjwlnfh96a4s5mj6v5d";
hash = "sha256-EY6VNrAxqA20RHLqfusbdxJPfEE7Fchi1W0noHfbxws=";
};
separateDebugInfo = true;

View File

@ -189,6 +189,7 @@ in buildNpmPackage rec {
comment = description;
desktopName = "Bitwarden";
categories = [ "Utility" ];
mimeTypes = [ "x-scheme-handler/bitwarden" ];
})
];

View File

@ -1,13 +1,21 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{
lib,
buildGoModule,
fetchFromGitHub,
installShellFiles,
}:
buildGoModule rec {
let
pname = "pack";
version = "0.35.1";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "buildpacks";
repo = pname;
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-iQkYtnobhAt73JMRrejk0DkOH1ZW2bqfZx05ZrDG5bA=";
};
@ -17,7 +25,11 @@ buildGoModule rec {
subPackages = [ "cmd/pack" ];
ldflags = [ "-s" "-w" "-X github.com/buildpacks/pack.Version=${version}" ];
ldflags = [
"-s"
"-w"
"-X github.com/buildpacks/pack.Version=${version}"
];
postInstall = ''
installShellCompletion --cmd pack \
@ -26,12 +38,12 @@ buildGoModule rec {
--fish $(PACK_HOME=$PWD $out/bin/pack completion --shell fish)
'';
meta = with lib; {
meta = {
homepage = "https://buildpacks.io/";
changelog = "https://github.com/buildpacks/pack/releases/tag/v${version}";
description = "CLI for building apps using Cloud Native Buildpacks";
mainProgram = "pack";
license = licenses.asl20;
maintainers = [ ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ momeemt ];
};
}

View File

@ -1,23 +1,26 @@
{ lib
, fetchFromGitHub
, python3
{
lib,
fetchFromGitHub,
python3Packages,
}:
python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "hyfetch";
version = "1.4.11";
format = "setuptools";
version = "1.99.0";
pyproject = true;
src = fetchFromGitHub {
owner = "hykilpikonna";
repo = "hyfetch";
rev = "refs/tags/${version}";
hash = "sha256-xzN/tbS5BUvpKeozesE99gNp3NRDjvf4Qx7BHLc4svo=";
hash = "sha256-GL1/V+LgSXJ4b28PfinScDrJhU9VDa4pVi24zWEzbAk=";
};
propagatedBuildInputs = with python3.pkgs; [
typing-extensions
setuptools
build-system = [
python3Packages.setuptools
];
dependencies = [
python3Packages.typing-extensions
];
# No test available
@ -27,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
"hyfetch"
];
meta = with lib; {
meta = {
description = "neofetch with pride flags <3";
longDescription = ''
HyFetch is a command-line system information tool fork of neofetch.
@ -39,8 +42,11 @@ python3.pkgs.buildPythonApplication rec {
icon set you are using, etc.
'';
homepage = "https://github.com/hykilpikonna/HyFetch";
license = licenses.mit;
license = lib.licenses.mit;
mainProgram = "hyfetch";
maintainers = with maintainers; [ yisuidenghua ];
maintainers = with lib.maintainers; [
yisuidenghua
isabelroses
];
};
}

View File

@ -9,13 +9,13 @@
buildGoModule rec {
pname = "syncyomi";
version = "1.1.1";
version = "1.1.2";
src = fetchFromGitHub {
owner = "SyncYomi";
repo = "SyncYomi";
rev = "refs/tags/v${version}";
hash = "sha256-90MA62Zm9ouaf+CnYsbOm/njrUui21vW/VrwKYfsCZs=";
hash = "sha256-PPE6UXHo2ZlN0A0VkUH+8pkdfm6WEvpofusk6c3RBHk=";
};
vendorHash = "sha256-/rpT6SatIZ+GVzmVg6b8Zy32pGybprObotyvEgvdL2w=";

View File

@ -1,21 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
, runCommand
, makeWrapper
, tflint
, tflint-plugins
, symlinkJoin
{
lib,
buildGoModule,
fetchFromGitHub,
runCommand,
makeWrapper,
tflint,
tflint-plugins,
symlinkJoin,
}:
buildGoModule rec {
let
pname = "tflint";
version = "0.52.0";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "terraform-linters";
repo = pname;
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-H27krznCX00F0EZ4ahdsMVh+wcAAUC/ErQac9Y4QaJs=";
};
@ -25,9 +29,13 @@ buildGoModule rec {
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
ldflags = [
"-s"
"-w"
];
passthru.withPlugins = plugins:
passthru.withPlugins =
plugins:
let
actualPlugins = plugins tflint-plugins;
pluginDir = symlinkJoin {
@ -38,17 +46,18 @@ buildGoModule rec {
runCommand "tflint-with-plugins"
{
nativeBuildInputs = [ makeWrapper ];
} ''
makeWrapper ${tflint}/bin/tflint $out/bin/tflint \
--set TFLINT_PLUGIN_DIR "${pluginDir}"
'';
}
''
makeWrapper ${tflint}/bin/tflint $out/bin/tflint \
--set TFLINT_PLUGIN_DIR "${pluginDir}"
'';
meta = with lib; {
meta = {
description = "Terraform linter focused on possible errors, best practices, and so on";
mainProgram = "tflint";
homepage = "https://github.com/terraform-linters/tflint";
changelog = "https://github.com/terraform-linters/tflint/blob/v${version}/CHANGELOG.md";
license = licenses.mpl20;
maintainers = [ ];
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ momeemt ];
};
}

View File

@ -17,25 +17,16 @@ in
stdenv.mkDerivation rec {
pname = "fcft";
version = "3.1.8";
version = "3.1.9";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "fcft";
rev = version;
hash = "sha256-Wgm2QdW4rg573soF/8HhDmlyN4S2cA0VWOejow464gU=";
hash = "sha256-D4W62IHuM7ofEeU/3sp038tv2a1+xQd0mdSKXaY7Ikg=";
};
patches = [
(fetchpatch {
name = "system-nanosvg.patch";
url = "https://codeberg.org/dnkl/fcft/commit/5cee776e1d7f1bdb0df383c3dd798831a6fe4fa0.patch";
excludes = [ "CHANGELOG.md" ];
hash = "sha256-yRBtKCKT/Oih66/OQqt4GPg3GfHmhiLM8mlLEWYYRC0=";
})
];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
buildInputs = [ freetype fontconfig nanosvg pixman tllist ]

View File

@ -0,0 +1,45 @@
{
lib,
stdenv,
fetchFromGitHub,
kernel,
kmod,
}:
let
kernelDirectory = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
in
stdenv.mkDerivation {
pname = "zenergy";
version = "0-unstable-2024-10-10";
src = fetchFromGitHub {
owner = "BoukeHaarsma23";
repo = "zenergy";
rev = "7c4e83d5e2f887f4c31edaf92e5f94e9448e9764";
hash = "sha256-5fYelEr4IYnuXrly15IcyicFrF0tYjs7OBqIhUYQXZ0=";
};
nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies;
hardeningDisable = [
"format"
"pic"
];
makeFlags = kernel.makeFlags ++ [ "KDIR=${kernelDirectory}" ];
installTargets = [ "modules_install" ];
preBuild = ''
substituteInPlace Makefile --replace-fail "PWD modules_install" "PWD INSTALL_MOD_PATH=$out modules_install"
'';
meta = with lib; {
description = "Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely.";
homepage = "https://github.com/BoukeHaarsma23/zenergy";
license = licenses.gpl2Only;
maintainers = with maintainers; [ wizardlink ];
platforms = platforms.linux;
};
}

View File

@ -4166,8 +4166,6 @@ with pkgs;
btrbk = callPackage ../tools/backup/btrbk { };
buildpack = callPackage ../development/tools/buildpack { };
bonk = callPackage ../tools/misc/bonk { };
bottom-rs = callPackage ../tools/misc/bottom-rs { };
@ -18552,8 +18550,6 @@ with pkgs;
time-ghc-modules = callPackage ../development/tools/time-ghc-modules { };
tflint = callPackage ../development/tools/analysis/tflint { };
tflint-plugins = recurseIntoAttrs (
callPackage ../development/tools/analysis/tflint-plugins { }
);
@ -37145,8 +37141,6 @@ with pkgs;
hplipWithPlugin = hplip.override { withPlugin = true; };
hyfetch = callPackage ../tools/misc/hyfetch { };
hyperfine = callPackage ../tools/misc/hyperfine {
inherit (darwin.apple_sdk.frameworks) Security;
};

View File

@ -407,6 +407,8 @@ in {
new-lg4ff = callPackage ../os-specific/linux/new-lg4ff { };
zenergy = callPackage ../os-specific/linux/zenergy { };
nvidiabl = callPackage ../os-specific/linux/nvidiabl { };
nvidiaPackages = dontRecurseIntoAttrs (lib.makeExtensible (_: callPackage ../os-specific/linux/nvidia-x11 { }));