Merge master into staging-next
This commit is contained in:
@@ -6722,6 +6722,7 @@
|
||||
drakon64 = {
|
||||
name = "Adam Chance";
|
||||
email = "nixpkgs@drakon.cloud";
|
||||
github = "drakon64";
|
||||
githubId = 6444703;
|
||||
};
|
||||
dramaturg = {
|
||||
@@ -23224,6 +23225,7 @@
|
||||
name = "Zhifan";
|
||||
email = "nonno.felice69uwu@gmail.com";
|
||||
matrix = "@c3n21:matrix.org";
|
||||
github = "c3n21";
|
||||
githubId = 37077738;
|
||||
};
|
||||
sinjin2300 = {
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
||||
- The Perl implementation of the `switch-to-configuration` program is removed. All switchable systems now use the Rust rewrite. Any prior usage of `system.switch.enableNg` must now be removed. If you have any outstanding issues with the new implementation, please open an issue on GitHub.
|
||||
|
||||
- The `services.polipo` module has been removed as `polipo` is unmaintained and archived upstream.
|
||||
|
||||
- The Pocket ID module ([`services.pocket-id`][#opt-services.pocket-id.enable]) and package (`pocket-id`) has been updated to 1.0.0. Some environment variables have been changed or removed, see the [migration guide](https://pocket-id.org/docs/setup/migrate-to-v1/).
|
||||
|
||||
@@ -63,7 +63,7 @@ in
|
||||
# find mistaken definitions
|
||||
builtins.seq cfg.config builtins.seq cfg.overlays builtins.seq cfg.hostPlatform builtins.seq
|
||||
cfg.buildPlatform
|
||||
cfg.pkgs;
|
||||
cfg.pkgs.__splicedPackages;
|
||||
nixpkgs.config = cfg.pkgs.config;
|
||||
nixpkgs.overlays = cfg.pkgs.overlays;
|
||||
nixpkgs.hostPlatform = cfg.pkgs.stdenv.hostPlatform;
|
||||
|
||||
@@ -29,6 +29,7 @@ in
|
||||
"nvidia"
|
||||
"nvidiafb"
|
||||
"nvidia-drm"
|
||||
"nvidia-uvm"
|
||||
"nvidia-modeset"
|
||||
];
|
||||
boot.kernelModules = [ "bbswitch" ];
|
||||
|
||||
@@ -256,7 +256,7 @@ in
|
||||
description = ''
|
||||
A program that writes a bootloader installation script to the path passed in the first command line argument.
|
||||
|
||||
See `nixos/modules/system/activation/switch-to-configuration.pl`.
|
||||
See `pkgs/by-name/sw/switch-to-configuration-ng/src/src/main.rs`.
|
||||
'';
|
||||
type = types.unique {
|
||||
message = ''
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,101 +5,49 @@
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
perlWrapped = pkgs.perl.withPackages (
|
||||
p: with p; [
|
||||
ConfigIniFiles
|
||||
FileSlurp
|
||||
]
|
||||
);
|
||||
in
|
||||
{
|
||||
options.system.switch = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to include the capability to switch configurations.
|
||||
|
||||
Disabling this makes the system unable to be reconfigured via `nixos-rebuild`.
|
||||
|
||||
This is good for image based appliances where updates are handled
|
||||
outside the image. Reducing features makes the image lighter and
|
||||
slightly more secure.
|
||||
'';
|
||||
};
|
||||
|
||||
enableNg = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = config.system.switch.enable;
|
||||
defaultText = lib.literalExpression "config.system.switch.enable";
|
||||
description = ''
|
||||
Whether to use `switch-to-configuration-ng`, the Rust-based
|
||||
re-implementation of the original Perl `switch-to-configuration`.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf (config.system.switch.enable && !config.system.switch.enableNg) {
|
||||
warnings = [
|
||||
''
|
||||
The Perl implementation of switch-to-configuration will be deprecated
|
||||
and removed in the 25.05 release of NixOS. Please migrate to the
|
||||
newer implementation by removing `system.switch.enableNg = false`
|
||||
from your configuration. If you are unable to migrate due to any
|
||||
issues with the new implementation, please create an issue and tag
|
||||
the maintainers of `switch-to-configuration-ng`.
|
||||
''
|
||||
];
|
||||
|
||||
system.activatableSystemBuilderCommands = ''
|
||||
mkdir $out/bin
|
||||
substitute ${./switch-to-configuration.pl} $out/bin/switch-to-configuration \
|
||||
--subst-var out \
|
||||
--subst-var-by toplevel ''${!toplevelVar} \
|
||||
--subst-var-by coreutils "${pkgs.coreutils}" \
|
||||
--subst-var-by distroId ${lib.escapeShellArg config.system.nixos.distroId} \
|
||||
--subst-var-by installBootLoader ${lib.escapeShellArg config.system.build.installBootLoader} \
|
||||
--subst-var-by preSwitchCheck ${lib.escapeShellArg config.system.preSwitchChecksScript} \
|
||||
--subst-var-by localeArchive "${config.i18n.glibcLocales}/lib/locale/locale-archive" \
|
||||
--subst-var-by perl "${perlWrapped}" \
|
||||
--subst-var-by shell "${pkgs.bash}/bin/sh" \
|
||||
--subst-var-by su "${pkgs.shadow.su}/bin/su" \
|
||||
--subst-var-by systemd "${config.systemd.package}" \
|
||||
--subst-var-by utillinux "${pkgs.util-linux}" \
|
||||
;
|
||||
|
||||
chmod +x $out/bin/switch-to-configuration
|
||||
${lib.optionalString (pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) ''
|
||||
if ! output=$(${perlWrapped}/bin/perl -c $out/bin/switch-to-configuration 2>&1); then
|
||||
echo "switch-to-configuration syntax is not valid:"
|
||||
echo "$output"
|
||||
exit 1
|
||||
fi
|
||||
''}
|
||||
'';
|
||||
})
|
||||
(lib.mkIf config.system.switch.enableNg {
|
||||
# Use a subshell so we can source makeWrapper's setup hook without
|
||||
# affecting the rest of activatableSystemBuilderCommands.
|
||||
system.activatableSystemBuilderCommands = ''
|
||||
(
|
||||
source ${pkgs.buildPackages.makeWrapper}/nix-support/setup-hook
|
||||
|
||||
mkdir $out/bin
|
||||
ln -sf ${lib.getExe pkgs.switch-to-configuration-ng} $out/bin/switch-to-configuration
|
||||
wrapProgram $out/bin/switch-to-configuration \
|
||||
--set OUT $out \
|
||||
--set TOPLEVEL ''${!toplevelVar} \
|
||||
--set DISTRO_ID ${lib.escapeShellArg config.system.nixos.distroId} \
|
||||
--set INSTALL_BOOTLOADER ${lib.escapeShellArg config.system.build.installBootLoader} \
|
||||
--set PRE_SWITCH_CHECK ${lib.escapeShellArg config.system.preSwitchChecksScript} \
|
||||
--set LOCALE_ARCHIVE ${config.i18n.glibcLocales}/lib/locale/locale-archive \
|
||||
--set SYSTEMD ${config.systemd.package}
|
||||
)
|
||||
'';
|
||||
})
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [ "system" "switch" "enableNg" ] ''
|
||||
This option controlled the usage of the new switch-to-configuration-ng,
|
||||
which is now the only switch-to-configuration implementation. This option
|
||||
can be removed from configuration. If there are outstanding issues
|
||||
preventing you from using the new implementation, please open an issue on
|
||||
GitHub.
|
||||
'')
|
||||
];
|
||||
|
||||
options.system.switch.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to include the capability to switch configurations.
|
||||
|
||||
Disabling this makes the system unable to be reconfigured via `nixos-rebuild`.
|
||||
|
||||
This is good for image based appliances where updates are handled
|
||||
outside the image. Reducing features makes the image lighter and
|
||||
slightly more secure.
|
||||
'';
|
||||
};
|
||||
|
||||
config = lib.mkIf config.system.switch.enable {
|
||||
# Use a subshell so we can source makeWrapper's setup hook without
|
||||
# affecting the rest of activatableSystemBuilderCommands.
|
||||
system.activatableSystemBuilderCommands = ''
|
||||
(
|
||||
source ${pkgs.buildPackages.makeWrapper}/nix-support/setup-hook
|
||||
|
||||
mkdir $out/bin
|
||||
ln -sf ${lib.getExe pkgs.switch-to-configuration-ng} $out/bin/switch-to-configuration
|
||||
wrapProgram $out/bin/switch-to-configuration \
|
||||
--set OUT $out \
|
||||
--set TOPLEVEL ''${!toplevelVar} \
|
||||
--set DISTRO_ID ${lib.escapeShellArg config.system.nixos.distroId} \
|
||||
--set INSTALL_BOOTLOADER ${lib.escapeShellArg config.system.build.installBootLoader} \
|
||||
--set PRE_SWITCH_CHECK ${lib.escapeShellArg config.system.preSwitchChecksScript} \
|
||||
--set LOCALE_ARCHIVE ${config.i18n.glibcLocales}/lib/locale/locale-archive \
|
||||
--set SYSTEMD ${config.systemd.package}
|
||||
)
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1283,14 +1283,7 @@ in
|
||||
swapspace = handleTestOn [ "aarch64-linux" "x86_64-linux" ] ./swapspace.nix { };
|
||||
sway = runTest ./sway.nix;
|
||||
swayfx = runTest ./swayfx.nix;
|
||||
switchTest = runTest {
|
||||
imports = [ ./switch-test.nix ];
|
||||
defaults.system.switch.enableNg = false;
|
||||
};
|
||||
switchTestNg = runTest {
|
||||
imports = [ ./switch-test.nix ];
|
||||
defaults.system.switch.enableNg = true;
|
||||
};
|
||||
switchTest = runTest ./switch-test.nix;
|
||||
sx = runTest ./sx.nix;
|
||||
sympa = runTest ./sympa.nix;
|
||||
syncthing = runTest ./syncthing.nix;
|
||||
|
||||
@@ -663,7 +663,7 @@ in
|
||||
'';
|
||||
|
||||
# Returns a comma separated representation of the given list in sorted
|
||||
# order, that matches the output format of switch-to-configuration.pl
|
||||
# order, that matches the output format of switch-to-configuration
|
||||
sortedUnits = xs: lib.concatStringsSep ", " (builtins.sort builtins.lessThan xs);
|
||||
|
||||
dbusService =
|
||||
|
||||
@@ -227,12 +227,9 @@ let
|
||||
) vimPlugins.nvim-treesitter.grammarPlugins;
|
||||
isNvimGrammar = x: builtins.elem x nvimGrammars;
|
||||
|
||||
toNvimTreesitterGrammar = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "to-nvim-treesitter-grammar";
|
||||
} ./to-nvim-treesitter-grammar.sh
|
||||
) { };
|
||||
toNvimTreesitterGrammar = makeSetupHook {
|
||||
name = "to-nvim-treesitter-grammar";
|
||||
} ./to-nvim-treesitter-grammar.sh;
|
||||
in
|
||||
|
||||
(toVimPlugin (
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
}:
|
||||
mkLibretroCore {
|
||||
core = "handy";
|
||||
version = "0-unstable-2024-10-21";
|
||||
version = "0-unstable-2025-06-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libretro";
|
||||
repo = "libretro-handy";
|
||||
rev = "4e9e072796e5552a9d57f6ab83b3f85f27b17fb6";
|
||||
hash = "sha256-ThzFEqLCX2JC06n6GZgkGzX5sFY5CxFDjkeekXRmbXY=";
|
||||
rev = "fca239207e9c111da3e85d2faf0b1b9d7524e498";
|
||||
hash = "sha256-8RpRhGgW5JWY6TZa9CEaXF66WpbjcjprorVqu+FGYu0=";
|
||||
};
|
||||
|
||||
makefile = "Makefile";
|
||||
|
||||
@@ -64,3 +64,37 @@ Tip: If you run into connectivity issues between nodes for specific applications
|
||||
K3s has a config setting `prefer-bundled-bin` (and CLI flag `--prefer-bundled-bin`) that makes k3s use binaries from the `/var/lib/rancher/k3s/data/current/bin/aux/` directory, as unpacked by the k3s binary, before the system `$PATH`.
|
||||
This works with the official distribution of k3s but not with the package from nixpkgs, as it does not bundle the upstream binaries from [`k3s-root`](https://github.com/k3s-io/k3s-root) into the k3s binary.
|
||||
Thus the `prefer-bundled-bin` setting **cannot** be used to work around issues (like [this `mount` regression](https://github.com/util-linux/util-linux/issues/3474)) with binaries used/called by the kubelet.
|
||||
|
||||
### Building from a different source
|
||||
|
||||
Because the package is split into multiple derivations and the build process is generally more complex, it is not very obvious how to build k3s from a different source (fork or arbitrary commit).
|
||||
|
||||
To build k3s from a different source, you must use `.override` together with `overrideBundleAttrs` (for the k3sBundle derivation) and another `.overrideAttrs` (for the final derivation):
|
||||
|
||||
```nix
|
||||
{ fetchgit, k3s }:
|
||||
let
|
||||
k3sRepo = fetchgit {
|
||||
url = "https://github.com/k3s-io/k3s";
|
||||
rev = "99d91538b1327da933356c318dc8040335fbb66c";
|
||||
hash = "sha256-vVqZzVp0Tea27s8HDVq4SgqlbHBdZcFzNKmPFi0Yktk=";
|
||||
};
|
||||
vendorHash = "sha256-jrPVY+FVZV9wlbik/I35W8ChcLrHlYbLAwUYU16mJLM=";
|
||||
in
|
||||
(k3s.override {
|
||||
overrideBundleAttrs = {
|
||||
src = k3sRepo;
|
||||
inherit vendorHash;
|
||||
};
|
||||
}).overrideAttrs
|
||||
{
|
||||
src = k3sRepo;
|
||||
inherit vendorHash;
|
||||
}
|
||||
```
|
||||
|
||||
- Additionally to `overrideBundleAttrs` there are also: `overrideCniPluginsAttrs` and `overrideContainerdAttrs`.
|
||||
- `k3s --version` still prints the commit SHA (`k3sCommit` passed into `builder.nix`) from the "base" package instead of the actually used `rev`.
|
||||
- Depending on the changes made in the fork / commit, the `k3s.override` (without the `overrideAttrs` of the final derivation) might already be enough.
|
||||
- If the commit is for a different version of k3s, make sure to use the correct "base" package, e.g., `k3s_1_31.override`. Otherwise the build fails with `Tagged version 'v1.33.1+k3s1' does not match expected version 'v1.31.9[+-]*'`
|
||||
- When adding an entirely new k3s version by calling `builder.nix`, keep in mind that the `k3sCommit` parameter is not used as the `k3sRepo` `rev` (it uses `v${k3sVersion}`). Therefore, you additionally must override the package, as shown above.
|
||||
|
||||
@@ -68,7 +68,7 @@ let
|
||||
nativeCheckInputs = with pypkgs; [
|
||||
pytestCheckHook
|
||||
pytest-twisted
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
mock
|
||||
mccabe
|
||||
pylint
|
||||
|
||||
@@ -1,39 +1,28 @@
|
||||
From 9a0102fe1da038ebe08107ead991964df11b0271 Mon Sep 17 00:00:00 2001
|
||||
From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>
|
||||
Date: Mon, 19 Feb 2024 03:31:20 +0000
|
||||
Subject: [PATCH] no qtgui darwin bundle
|
||||
|
||||
---
|
||||
qtgui/recoll.pro.in | 11 +++++++++--
|
||||
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/qtgui/recoll.pro.in b/qtgui/recoll.pro.in
|
||||
index a0ef314..6dbc3b5 100644
|
||||
--- a/qtgui/recoll.pro.in
|
||||
+++ b/qtgui/recoll.pro.in
|
||||
@@ -180,7 +180,7 @@ windows {
|
||||
}
|
||||
@@ -192,7 +192,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
-macx: {
|
||||
-macx:macxbundlebuild() {
|
||||
+if (false) {
|
||||
QCBUILDLOC=Qt_6_4_2_for_macOS
|
||||
|
||||
# QT += webkit webkitwidgets
|
||||
@@ -375,7 +375,7 @@ macx: {
|
||||
QCBUILDLOC=Qt_6_7_3_for_macOS
|
||||
RECOLLDEPS = $$PWD/../../..
|
||||
QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
|
||||
@@ -402,7 +402,7 @@
|
||||
QMAKE_BUNDLE_DATA = APP_EXAMPLES APP_EXAMPLES_MAC APP_FILTERS APP_IMAGES APP_DOC
|
||||
}
|
||||
|
||||
-unix:!macx {
|
||||
-unix:!macxbundlebuild() {
|
||||
+unix {
|
||||
|
||||
VPATH = @srcdir@
|
||||
|
||||
@@ -400,6 +400,13 @@ VPATH = @srcdir@
|
||||
# For SingleApplication
|
||||
@@ -425,6 +425,13 @@
|
||||
SOURCES += crontool.cpp \
|
||||
rtitool.cpp
|
||||
|
||||
+ macx {
|
||||
+ macxbundlebuild() {
|
||||
+ SOURCES += ../utils/closefrom.cpp \
|
||||
+ ../utils/execmd.cpp \
|
||||
+ ../utils/netcon.cpp \
|
||||
@@ -43,6 +32,3 @@ index a0ef314..6dbc3b5 100644
|
||||
FORMS += crontool.ui \
|
||||
rtitool.ui
|
||||
|
||||
--
|
||||
2.43.0
|
||||
|
||||
|
||||
@@ -75,11 +75,11 @@ in
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "recoll";
|
||||
version = "1.39.1";
|
||||
version = "1.43.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.recoll.org/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-Eeadj/AnuztCb7VIYEy4hKbduH3CzK53tADvI9+PWmQ=";
|
||||
hash = "sha256-FbDXknumjktcikOfAe4FKtPmggJGGHasq8dpD+8mNzE=";
|
||||
};
|
||||
|
||||
mesonFlags =
|
||||
@@ -107,13 +107,10 @@ mkDerivation rec {
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
"-DNIXPKGS"
|
||||
"-fpermissive" # libxml2-2.12 changed const qualifiers
|
||||
];
|
||||
|
||||
patches = [
|
||||
# fix "No/bad main configuration file" error
|
||||
./fix-datadir.patch
|
||||
# use the same configure based build for darwin as linux
|
||||
./0001-no-qtgui-darwin-bundle.patch
|
||||
];
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/utils/rclutil.cpp b/utils/rclutil.cpp
|
||||
index 6bafc119..d997cd17 100644
|
||||
--- a/utils/rclutil.cpp
|
||||
+++ b/utils/rclutil.cpp
|
||||
@@ -279,7 +279,7 @@ const string& path_pkgdatadir()
|
||||
"a subfolder of the installation directory. \n"
|
||||
"Please set the RECOLL_DATADIR environment variable to point to it\n"
|
||||
"(e.g. setx RECOLL_DATADIR \"C:/Program Files (X86)/Recoll/Share)\"\n";
|
||||
-#elif defined(__APPLE__) && defined(RECOLL_AS_MAC_BUNDLE)
|
||||
+#elif defined(__APPLE__) && defined(RECOLL_AS_MAC_BUNDLE) && defined(NIXPKGS)
|
||||
// The package manager builds (Macports, Homebrew, Nixpkgs ...) all arrange to set a proper
|
||||
// compiled value for RECOLL_DATADIR. We can't do this when building a native bundle with
|
||||
// QCreator, in which case we use the executable location.
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
pkgs,
|
||||
python,
|
||||
python3,
|
||||
...
|
||||
}:
|
||||
# propagatedBuildInputs are for Python libraries and executables
|
||||
# buildInputs are for libraries
|
||||
let
|
||||
py = python.pkgs;
|
||||
py = python3.pkgs;
|
||||
in
|
||||
{
|
||||
amixer.propagatedBuildInputs = [ pkgs.alsa-utils ];
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
{
|
||||
buildPackages,
|
||||
callPackage,
|
||||
cargo,
|
||||
cargo-nextest,
|
||||
clang,
|
||||
diffutils,
|
||||
lib,
|
||||
makeSetupHook,
|
||||
maturin,
|
||||
rust,
|
||||
rustc,
|
||||
stdenv,
|
||||
pkgsHostTarget,
|
||||
pkgsTargetTarget,
|
||||
|
||||
# This confusingly-named parameter indicates the *subdirectory of
|
||||
@@ -21,138 +17,118 @@
|
||||
pkgsCross,
|
||||
}:
|
||||
{
|
||||
cargoBuildHook = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "cargo-build-hook.sh";
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
inherit (rust.envVars) setEnv;
|
||||
cargoBuildHook = makeSetupHook {
|
||||
name = "cargo-build-hook.sh";
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
inherit (rust.envVars) setEnv;
|
||||
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoBuildHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoBuildHook;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoBuildHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoBuildHook;
|
||||
};
|
||||
} ./cargo-build-hook.sh
|
||||
) { };
|
||||
} ./cargo-build-hook.sh;
|
||||
|
||||
cargoCheckHook = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "cargo-check-hook.sh";
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
inherit (rust.envVars) setEnv;
|
||||
cargoCheckHook = makeSetupHook {
|
||||
name = "cargo-check-hook.sh";
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
inherit (rust.envVars) setEnv;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoCheckHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoCheckHook;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoCheckHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoCheckHook;
|
||||
};
|
||||
} ./cargo-check-hook.sh
|
||||
) { };
|
||||
} ./cargo-check-hook.sh;
|
||||
|
||||
cargoInstallHook = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "cargo-install-hook.sh";
|
||||
substitutions = {
|
||||
targetSubdirectory = target;
|
||||
cargoInstallHook = makeSetupHook {
|
||||
name = "cargo-install-hook.sh";
|
||||
substitutions = {
|
||||
targetSubdirectory = target;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoInstallHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoInstallHook;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoInstallHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoInstallHook;
|
||||
};
|
||||
} ./cargo-install-hook.sh
|
||||
) { };
|
||||
} ./cargo-install-hook.sh;
|
||||
|
||||
cargoNextestHook = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "cargo-nextest-hook.sh";
|
||||
propagatedBuildInputs = [ cargo-nextest ];
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
cargoNextestHook = makeSetupHook {
|
||||
name = "cargo-nextest-hook.sh";
|
||||
propagatedBuildInputs = [ cargo-nextest ];
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoNextestHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoNextestHook;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoNextestHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoNextestHook;
|
||||
};
|
||||
} ./cargo-nextest-hook.sh
|
||||
) { };
|
||||
} ./cargo-nextest-hook.sh;
|
||||
|
||||
cargoSetupHook = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "cargo-setup-hook.sh";
|
||||
propagatedBuildInputs = [ ];
|
||||
substitutions = {
|
||||
defaultConfig = ../fetchcargo-default-config.toml;
|
||||
cargoSetupHook = makeSetupHook {
|
||||
name = "cargo-setup-hook.sh";
|
||||
propagatedBuildInputs = [ ];
|
||||
substitutions = {
|
||||
defaultConfig = ../fetchcargo-default-config.toml;
|
||||
|
||||
# Specify the stdenv's `diff` by abspath to ensure that the user's build
|
||||
# inputs do not cause us to find the wrong `diff`.
|
||||
diff = "${lib.getBin diffutils}/bin/diff";
|
||||
# Specify the stdenv's `diff` by abspath to ensure that the user's build
|
||||
# inputs do not cause us to find the wrong `diff`.
|
||||
diff = "${lib.getBin diffutils}/bin/diff";
|
||||
|
||||
cargoConfig =
|
||||
lib.optionalString (stdenv.hostPlatform.config != stdenv.targetPlatform.config) ''
|
||||
[target."${stdenv.targetPlatform.rust.rustcTarget}"]
|
||||
"linker" = "${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}cc"
|
||||
"rustflags" = [ "-C", "target-feature=${
|
||||
if pkgsTargetTarget.stdenv.targetPlatform.isStatic then "+" else "-"
|
||||
}crt-static" ]
|
||||
''
|
||||
+ ''
|
||||
[target."${stdenv.hostPlatform.rust.rustcTarget}"]
|
||||
"linker" = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
cargoConfig =
|
||||
lib.optionalString (stdenv.hostPlatform.config != stdenv.targetPlatform.config) ''
|
||||
[target."${stdenv.targetPlatform.rust.rustcTarget}"]
|
||||
"linker" = "${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}cc"
|
||||
"rustflags" = [ "-C", "target-feature=${
|
||||
if pkgsTargetTarget.stdenv.targetPlatform.isStatic then "+" else "-"
|
||||
}crt-static" ]
|
||||
''
|
||||
+ ''
|
||||
[target."${stdenv.hostPlatform.rust.rustcTarget}"]
|
||||
"linker" = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
};
|
||||
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoSetupHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoSetupHook;
|
||||
};
|
||||
passthru.tests =
|
||||
{
|
||||
test = tests.rust-hooks.cargoSetupHook;
|
||||
}
|
||||
// lib.optionalAttrs (stdenv.isLinux) {
|
||||
testCross = pkgsCross.riscv64.tests.rust-hooks.cargoSetupHook;
|
||||
};
|
||||
} ./cargo-setup-hook.sh
|
||||
) { };
|
||||
} ./cargo-setup-hook.sh;
|
||||
|
||||
maturinBuildHook = callPackage (
|
||||
{ pkgsHostTarget }:
|
||||
makeSetupHook {
|
||||
name = "maturin-build-hook.sh";
|
||||
propagatedBuildInputs = [
|
||||
pkgsHostTarget.maturin
|
||||
pkgsHostTarget.cargo
|
||||
pkgsHostTarget.rustc
|
||||
];
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
inherit (rust.envVars) setEnv;
|
||||
maturinBuildHook = makeSetupHook {
|
||||
name = "maturin-build-hook.sh";
|
||||
propagatedBuildInputs = [
|
||||
pkgsHostTarget.maturin
|
||||
pkgsHostTarget.cargo
|
||||
pkgsHostTarget.rustc
|
||||
];
|
||||
substitutions = {
|
||||
inherit (stdenv.targetPlatform.rust) rustcTarget;
|
||||
inherit (rust.envVars) setEnv;
|
||||
|
||||
};
|
||||
} ./maturin-build-hook.sh
|
||||
) { };
|
||||
};
|
||||
} ./maturin-build-hook.sh;
|
||||
|
||||
bindgenHook = callPackage (
|
||||
{ }:
|
||||
makeSetupHook {
|
||||
name = "rust-bindgen-hook";
|
||||
substitutions = {
|
||||
libclang = (lib.getLib clang.cc);
|
||||
inherit clang;
|
||||
};
|
||||
} ./rust-bindgen-hook.sh
|
||||
) { };
|
||||
bindgenHook = makeSetupHook {
|
||||
name = "rust-bindgen-hook";
|
||||
substitutions = {
|
||||
libclang = (lib.getLib clang.cc);
|
||||
inherit clang;
|
||||
};
|
||||
} ./rust-bindgen-hook.sh;
|
||||
}
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
pnpm_8,
|
||||
pnpm_10,
|
||||
nodejs,
|
||||
makeBinaryWrapper,
|
||||
shellcheck,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "bash-language-server";
|
||||
version = "5.4.0";
|
||||
version = "5.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bash-lsp";
|
||||
repo = "bash-language-server";
|
||||
rev = "server-${finalAttrs.version}";
|
||||
hash = "sha256-yJ81oGd9aNsWQMLvDSgMVVH1//Mw/SVFYFIPsJTQYzE=";
|
||||
tag = "server-${finalAttrs.version}";
|
||||
hash = "sha256-Pe32lQSlyWcyUbqwhfoulwNwhrnWdRcKFIl3Jj0Skac=";
|
||||
};
|
||||
|
||||
pnpmWorkspaces = [ "bash-language-server" ];
|
||||
pnpmDeps = pnpm_8.fetchDeps {
|
||||
pnpmDeps = pnpm_10.fetchDeps {
|
||||
inherit (finalAttrs)
|
||||
pname
|
||||
version
|
||||
src
|
||||
pnpmWorkspaces
|
||||
;
|
||||
hash = "sha256-W25xehcxncBs9QgQBt17F5YHK0b+GDEmt27XzTkyYWg=";
|
||||
hash = "sha256-NvyqPv5OKgZi3hW98Da8LhsYatmrzrPX8kLOfLr+BrI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpm_8.configHook
|
||||
pnpm_10.configHook
|
||||
makeBinaryWrapper
|
||||
versionCheckHook
|
||||
];
|
||||
@@ -45,31 +45,46 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
# remove unnecessary files
|
||||
rm node_modules/.modules.yaml
|
||||
pnpm --ignore-scripts --prod prune
|
||||
rm -r node_modules/.pnpm/@mixmark-io*/node_modules/@mixmark-io/domino/{test,.yarn}
|
||||
find -type f \( -name "*.ts" -o -name "*.map" \) -exec rm -rf {} +
|
||||
# https://github.com/pnpm/pnpm/issues/3645
|
||||
find node_modules server/node_modules -xtype l -delete
|
||||
|
||||
# remove non-deterministic files
|
||||
rm node_modules/{.modules.yaml,.pnpm-workspace-state.json}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
pnpm --offline \
|
||||
--frozen-lockfile --ignore-script \
|
||||
--filter=bash-language-server \
|
||||
deploy --prod $out/lib/bash-language-server
|
||||
mkdir -p $out/{bin,lib/bash-language-server}
|
||||
cp -r {node_modules,server} $out/lib/bash-language-server/
|
||||
|
||||
# Create the executable, based upon what happens in npmHooks.npmInstallHook
|
||||
makeWrapper ${lib.getExe nodejs} $out/bin/bash-language-server \
|
||||
--suffix PATH : ${lib.makeBinPath [ shellcheck ]} \
|
||||
--inherit-argv0 \
|
||||
--add-flags $out/lib/bash-language-server/out/cli.js
|
||||
--add-flags $out/lib/bash-language-server/server/out/cli.js
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Language server for Bash";
|
||||
homepage = "https://github.com/bash-lsp/bash-language-server";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
changelog = "https://github.com/bash-lsp/bash-language-server/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
doronbehar
|
||||
gepbird
|
||||
];
|
||||
mainProgram = "bash-language-server";
|
||||
platforms = platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -57,7 +57,7 @@ bepastyPython.pkgs.buildPythonPackage rec {
|
||||
build
|
||||
flake8
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
selenium
|
||||
tox
|
||||
twine
|
||||
|
||||
@@ -40,14 +40,14 @@ buildPythonApplication rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest
|
||||
pytestCheckHook
|
||||
pytest-recording
|
||||
pyyaml
|
||||
mypy-extensions
|
||||
click
|
||||
pylint
|
||||
flake8
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
pyyaml
|
||||
];
|
||||
|
||||
|
||||
@@ -9,20 +9,20 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2025.6";
|
||||
version = "2025.6.1";
|
||||
|
||||
product =
|
||||
if proEdition then
|
||||
{
|
||||
productName = "pro";
|
||||
productDesktop = "Burp Suite Professional Edition";
|
||||
hash = "sha256-UtxyhXaXpVp9Ynm6vnHYxr+TEnRau1ZHU563xcUmu/0=";
|
||||
hash = "sha256-At3+tScMbNrZI2qF+kwt41khou8aP5Qn33v6IT7n9HI=";
|
||||
}
|
||||
else
|
||||
{
|
||||
productName = "community";
|
||||
productDesktop = "Burp Suite Community Edition";
|
||||
hash = "sha256-5kpmLkdnGxnt6bSUgAIJaXdFSmmvOffdQaAOlm9sNlo=";
|
||||
hash = "sha256-1reZGan6hmXTg7RUjaian6Q5VAsR5iuye4kGWkpREM4=";
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
@@ -58,7 +58,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
coverage
|
||||
flask-webtest
|
||||
pyquery
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
pytest-httpserver
|
||||
pytest-lazy-fixtures
|
||||
pytest-smtpd
|
||||
|
||||
@@ -52,7 +52,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# pull in fixtures needed for the test suite
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = pname;
|
||||
repo = "cargo-llvm-cov";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-iJrnNDSMich5OzEbPgnQWLVz6Zj/MUIzEsaBzqVdoDg=";
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rust-osdev";
|
||||
repo = pname;
|
||||
repo = "cargo-xbuild";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-29rCjmzxxIjR5nBN2J3xxP+r8NnPIJV90FkSQQEBbo4=";
|
||||
};
|
||||
|
||||
@@ -11,18 +11,18 @@
|
||||
pkg-config,
|
||||
brotli,
|
||||
zlib,
|
||||
unstableGitUpdater,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "chawan";
|
||||
version = "0-unstable-2025-06-14";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~bptato";
|
||||
repo = "chawan";
|
||||
rev = "288896b6f3da9bb6e4e24190d4163e031f8a2751";
|
||||
hash = "sha256-/8pp1E4YAXXh8ORRHseIe48BIG14u8gNkmotA+CXPYY=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-DiA7SEXPJTScdoFeGzH45wZP6gZRU8t/fvJLOufuNmU=";
|
||||
};
|
||||
|
||||
patches = [ ./mancha-augment-path.diff ];
|
||||
@@ -73,7 +73,7 @@ stdenv.mkDerivation {
|
||||
wrapProgram $out/bin/mancha ${makeWrapperArgs}
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
meta = {
|
||||
description = "Lightweight and featureful terminal web browser";
|
||||
@@ -83,4 +83,4 @@ stdenv.mkDerivation {
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
mainProgram = "cha";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -51,7 +51,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
|
||||
@@ -31,7 +31,7 @@ buildDotnetModule rec {
|
||||
(fetchFromGitHub {
|
||||
name = pname;
|
||||
inherit owner;
|
||||
repo = pname;
|
||||
repo = "CLPS2C-Compiler";
|
||||
rev = "CLPS2C-Compiler-${version}";
|
||||
sha256 = "sha256-4gLdrIxyw9BFSxF+EXZqTgUf9Kik6oK7eO9HBUzk4QM=";
|
||||
})
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Philip Taron <philip.taron@gmail.com>
|
||||
Date: Thu, 19 Jun 2025 09:24:32 -0700
|
||||
Subject: [PATCH] Use libdwarf-2 as the base include path
|
||||
|
||||
Signed-off-by: Philip Taron <philip.taron@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 6 +++---
|
||||
src/symbols/dwarf/dwarf.hpp | 4 ++--
|
||||
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 1c607bd44e528a41ccd637f5293b4f56049f5770..53e1aedf463c5eb95dcfd77fa40de66f51381b47 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -419,7 +419,7 @@ if(CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF)
|
||||
target_link_libraries(${target_name} PRIVATE ${LIBDWARF_LIBRARIES})
|
||||
endif()
|
||||
# There seems to be no consistency at all about where libdwarf decides to place its headers........ Figure out if
|
||||
- # it's libdwarf/libdwarf.h and libdwarf/dwarf.h or just libdwarf.h and dwarf.h
|
||||
+ # it's libdwarf-2/libdwarf.h and libdwarf-2/dwarf.h or just libdwarf.h and dwarf.h
|
||||
include(CheckIncludeFileCXX)
|
||||
# libdwarf's cmake doesn't properly set variables to indicate where its libraries live
|
||||
if(NOT CPPTRACE_FIND_LIBDWARF_WITH_PKGCONFIG)
|
||||
@@ -428,9 +428,9 @@ if(CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF)
|
||||
target_include_directories(${target_name} PRIVATE ${LIBDWARF_INCLUDE_DIRS})
|
||||
endif()
|
||||
set(CMAKE_REQUIRED_INCLUDES ${LIBDWARF_INCLUDE_DIRS})
|
||||
- CHECK_INCLUDE_FILE_CXX("libdwarf/libdwarf.h" LIBDWARF_IS_NESTED)
|
||||
+ CHECK_INCLUDE_FILE_CXX("libdwarf-2/libdwarf.h" LIBDWARF_IS_NESTED)
|
||||
CHECK_INCLUDE_FILE_CXX("libdwarf.h" LIBDWARF_IS_NOT_NESTED)
|
||||
- # check_include_file("libdwarf/libdwarf.h" LIBDWARF_IS_NESTED)
|
||||
+ # check_include_file("libdwarf-2/libdwarf.h" LIBDWARF_IS_NESTED)
|
||||
# check_support(LIBDWARF_IS_NESTED nested_libdwarf_include.cpp "" "" "")
|
||||
if(${LIBDWARF_IS_NESTED})
|
||||
target_compile_definitions(${target_name} PRIVATE CPPTRACE_USE_NESTED_LIBDWARF_HEADER_PATH)
|
||||
diff --git a/src/symbols/dwarf/dwarf.hpp b/src/symbols/dwarf/dwarf.hpp
|
||||
index 50b2696148584b7a16da602017793797ba98cb58..53fe275492f4fd7e8e905064696e86f837a55f72 100644
|
||||
--- a/src/symbols/dwarf/dwarf.hpp
|
||||
+++ b/src/symbols/dwarf/dwarf.hpp
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <type_traits>
|
||||
|
||||
#ifdef CPPTRACE_USE_NESTED_LIBDWARF_HEADER_PATH
|
||||
- #include <libdwarf/libdwarf.h>
|
||||
- #include <libdwarf/dwarf.h>
|
||||
+ #include <libdwarf-2/libdwarf.h>
|
||||
+ #include <libdwarf-2/dwarf.h>
|
||||
#else
|
||||
#include <libdwarf.h>
|
||||
#include <dwarf.h>
|
||||
@@ -14,21 +14,26 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cpptrace";
|
||||
version = "0.8.3";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jeremy-rifkin";
|
||||
repo = "cpptrace";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-oFwRFFDLl4/3szVj/ge8cSrpuuHEzf4VsCPGTE0dxRc=";
|
||||
hash = "sha256-HUUyH9N+e98Gp6TPeT6TCGpdzd09knHVDaQ3KeDp8LY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-Use-libdwarf-2-as-the-base-include-path.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ libdwarf ];
|
||||
buildInputs = [ (lib.getDev libdwarf) ];
|
||||
|
||||
propagatedBuildInputs = [ zstd ] ++ (lib.optionals static [ libdwarf ]);
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -40,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
checkInputs = [ gtest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kerma";
|
||||
repo = pname;
|
||||
repo = "defaultbrowser";
|
||||
rev = "d2860c00dd7fbb5d615232cc819d7d492a6a6ddb";
|
||||
sha256 = "sha256-SelUQXoKtShcDjq8uKg3wM0kG2opREa2DGQCDd6IsOQ=";
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ buildGoModule {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gabotechs";
|
||||
repo = pname;
|
||||
repo = "dep-tree";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-m+afcnwVvPrD+S7c/kfE8mqlD7kO+VPI6sSXCCjXWZM=";
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
version = "1.5.5pre";
|
||||
src = fetchFromGitHub {
|
||||
owner = "moretension";
|
||||
repo = pname;
|
||||
repo = "duti";
|
||||
rev = "fe3d3dc411bcea6af7a8cbe53c0e08ed5ecacdb2";
|
||||
sha256 = "1pg4i6ghpib2gy1sqpml7dbnhr1vbr43fs2pqkd09i4w3nmgpic9";
|
||||
};
|
||||
|
||||
@@ -29,8 +29,6 @@ let
|
||||
"LOONGARCH64"
|
||||
else
|
||||
throw "Unsupported architecture";
|
||||
|
||||
buildType = if stdenv.hostPlatform.isDarwin then "CLANGPDB" else "GCC5";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -172,6 +170,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
finalAttrsInner:
|
||||
let
|
||||
attrs = lib.toFunction attrsOrFun finalAttrsInner;
|
||||
buildType = attrs.buildType or (if stdenv.hostPlatform.isDarwin then "CLANGPDB" else "GCC5");
|
||||
in
|
||||
{
|
||||
inherit (finalAttrs) src;
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
gjs,
|
||||
gnome-autoar,
|
||||
libsoup_3,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "embellish";
|
||||
@@ -47,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libsoup_3
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "User-friendly application designed for managing Nerd Fonts on your system";
|
||||
longDescription = ''
|
||||
|
||||
@@ -32,7 +32,7 @@ python3Packages.buildPythonPackage rec {
|
||||
dontUseCmakeConfigure = true; # cmake is used for testing
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "virtuslab";
|
||||
repo = pname;
|
||||
repo = "git-machete";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iSuOiQC+dKqcDCS4nTPMrNFpo3ipPUQhfoofM11UInI=";
|
||||
};
|
||||
|
||||
@@ -36,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytest-cov-stub
|
||||
pytest
|
||||
pytestCheckHook
|
||||
git
|
||||
];
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@ python3Packages.buildPythonApplication rec {
|
||||
'';
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
mock
|
||||
];
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
@@ -38,8 +38,7 @@ python3Packages.buildPythonApplication rec {
|
||||
six
|
||||
];
|
||||
|
||||
checkPhase = "py.test";
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "gitfs" ];
|
||||
|
||||
meta = {
|
||||
description = "FUSE filesystem that fully integrates with git";
|
||||
@@ -53,5 +52,8 @@ python3Packages.buildPythonApplication rec {
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.robbinch ];
|
||||
mainProgram = "gitfs";
|
||||
# requires <=python39, otherwise you get this at runtime:
|
||||
# AttributeError: module 'collections' has no attribute 'MutableMapping'
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
desktopName = "Gitify";
|
||||
exec = "gitify %U";
|
||||
icon = "gitify";
|
||||
comment = "GitHub Notifications on your menu bar.";
|
||||
comment = "GitHub notifications on your menu bar";
|
||||
categories = [ "Development" ];
|
||||
startupWMClass = "Gitify";
|
||||
})
|
||||
@@ -104,9 +104,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gitify.io/";
|
||||
homepage = "https://gitify.io/";
|
||||
changelog = "https://github.com/gitify-app/gitify/releases/tag/v${finalAttrs.version}";
|
||||
description = "GitHub Notifications on your menu bar";
|
||||
description = "GitHub notifications on your menu bar";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ pineapplehunter ];
|
||||
platforms = lib.platforms.all;
|
||||
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = pname;
|
||||
repo = "gnome-session-ctl";
|
||||
rev = version;
|
||||
hash = "sha256-RY0+iIwwjd7268m3EYrZ1yUBLHXmaWddtSxqgUUH6qQ=";
|
||||
};
|
||||
|
||||
@@ -66,7 +66,7 @@ lib.checkListOfEnum "${pname}: theme variants"
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
repo = "graphite-gtk-theme";
|
||||
rev = version;
|
||||
hash = "sha256-k93l/7DF0HSKPfiIxzBLz0mBflgbdYJyGLEmWZx3q7o=";
|
||||
};
|
||||
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
repo = "gtk-mac-integration";
|
||||
rev = "gtk-mac-integration-${version}";
|
||||
sha256 = "0sc0m3p8r5xfh5i4d7dg72kfixx9yi4f800y43bszyr88y52jkga";
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -17,6 +18,8 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-y2eSuMCDZTGdCs70zYdA8NKbuPPN5xmnRfMNK+AE/q8=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/tobias-kuendig/hacompanion/releases/tag/v${version}";
|
||||
description = "Daemon that sends local hardware information to Home Assistant";
|
||||
|
||||
@@ -13,7 +13,7 @@ buildGoModule rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holocm";
|
||||
repo = pname;
|
||||
repo = "holo-build";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lypbgf96bcc4m3968xa4il1zwprsdyc0pw6pl9mqq7djxabikd0";
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ let
|
||||
version = "26.1.9";
|
||||
|
||||
itch-setup = fetchzip {
|
||||
url = "https://broth.itch.ovh/itch-setup/linux-amd64/1.26.0/itch-setup.zip";
|
||||
url = "https://broth.itch.zone/itch-setup/linux-amd64/1.26.0/itch-setup.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-5MP6X33Jfu97o5R1n6Og64Bv4ZMxVM0A8lXeQug+bNA=";
|
||||
};
|
||||
@@ -36,7 +36,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit version;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://broth.itch.ovh/itch/linux-amd64/${finalAttrs.version}/archive/default#.zip";
|
||||
url = "https://broth.itch.zone/itch/linux-amd64/${finalAttrs.version}/archive/default#.zip";
|
||||
stripRoot = false;
|
||||
hash = "sha256-4k6afBgOKGs7rzXAtIBpmuQeeT/Va8/0bZgNYjuJhgI=";
|
||||
};
|
||||
|
||||
@@ -43,8 +43,8 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoDepsName = "kanidm";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "kanidm";
|
||||
repo = "kanidm";
|
||||
rev = "refs/tags/v${version}";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KDAB";
|
||||
repo = pname;
|
||||
repo = "KDDockWidgets";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-4xaTfNwfAIQox2YcusEZJt5f9/Kld+zveFEiIVw5dRc=";
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ let
|
||||
|
||||
free_src = fetchFromGitHub {
|
||||
owner = "miki151";
|
||||
repo = pname;
|
||||
repo = "keeperrl";
|
||||
rev = version;
|
||||
sha256 = "sha256-0sww+ppctXvxMouclG3OdXpcNgrrOZJw9z8s2GhJ+IE=";
|
||||
};
|
||||
|
||||
@@ -10,7 +10,7 @@ maven.buildMavenPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aerogear";
|
||||
repo = pname;
|
||||
repo = "keycloak-metrics-spi";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-MMonBRau8FpfCqija6NEdvp4zJfEub2Kwk4MA7FYWHI=";
|
||||
};
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lib" + pname + "-" + version;
|
||||
name = "lib" + "crossguid" + "-" + version;
|
||||
pname = "crossguid";
|
||||
version = "2016-02-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "graeme-hill";
|
||||
repo = pname;
|
||||
repo = "crossguid";
|
||||
rev = "8f399e8bd4252be9952f3dfa8199924cc8487ca4";
|
||||
sha256 = "1i29y207qqddvaxbn39pk2fbh3gx8zvdprfp35wasj9rw2wjk3s9";
|
||||
};
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
buildInputs,
|
||||
hash,
|
||||
version,
|
||||
url,
|
||||
knownVulnerabilities,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libdwarf";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
inherit url hash;
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--enable-shared"
|
||||
"--disable-nonshared"
|
||||
];
|
||||
|
||||
inherit buildInputs;
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
"lib"
|
||||
"dev"
|
||||
"out"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/davea42/libdwarf-code";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.atry ];
|
||||
inherit knownVulnerabilities;
|
||||
};
|
||||
}
|
||||
@@ -1,16 +1,48 @@
|
||||
{
|
||||
callPackage,
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
meson,
|
||||
ninja,
|
||||
zlib,
|
||||
zstd,
|
||||
}:
|
||||
|
||||
callPackage ./common.nix rec {
|
||||
version = "0.11.1";
|
||||
url = "https://www.prevanders.net/libdwarf-${version}.tar.xz";
|
||||
hash = "sha512:d927b1d0e8dd1540c2f5da2a9d39b2914bb48225b2b9bdca94e7b36349358e1f537044eadc345f11d75de717fdda07ad99a8a7a5eb45e64fe4c79c37e165012f";
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libdwarf";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davea42";
|
||||
repo = "libdwarf-code";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-SsFg+7zGBEGxDSzfiIP5bxdttlBkhEiEQWaU12hINas=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
zstd
|
||||
];
|
||||
knownVulnerabilities = [ ];
|
||||
}
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
"lib"
|
||||
"dev"
|
||||
"out"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Library for reading DWARF2 and later DWARF";
|
||||
mainProgram = "dwarfdump";
|
||||
homepage = "https://github.com/davea42/libdwarf-code";
|
||||
changelog = "https://github.com/davea42/libdwarf-code/releases/tag/v${finalAttrs.version}/CHANGELOG.md";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.atry ];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "librespeed-cli";
|
||||
version = "1.0.10";
|
||||
version = "1.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "librespeed";
|
||||
repo = "speedtest-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-LFGlKYWUaHi/byoRPD6zsdr0U5r0zWxxRa2NJNB2yb8=";
|
||||
hash = "sha256-njaQ/Be5rDCqkZJkij0nRi8aIO5uZYo8t3BjIcdKoCM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-psZyyySpY06J+ji+9uHUtX7Ks1hzZC3zINszYP75NfQ=";
|
||||
vendorHash = "sha256-dmaq9+0FjqYh2ZLg8bu8cPJZ9QClcvwid1nmsftmrf0=";
|
||||
|
||||
# Tests have additional requirements
|
||||
doCheck = false;
|
||||
|
||||
@@ -5,46 +5,53 @@
|
||||
lua5_4,
|
||||
meson,
|
||||
ninja,
|
||||
cmake,
|
||||
pcre2,
|
||||
pkg-config,
|
||||
SDL2,
|
||||
sdl3,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
pname = "lite-xl";
|
||||
version = "2.1.7";
|
||||
version = "2.1.8";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lite-xl";
|
||||
repo = "lite-xl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Ig0XDxnll/zruAwWHwuXiqumBXgAPxuK0E1ELupvcXo=";
|
||||
hash = "sha256-9JpD7f5vOGhLW8dBjjYUI5PSaz/XWW5sIOZCAbKhxtE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
freetype
|
||||
lua5_4
|
||||
pcre2
|
||||
SDL2
|
||||
sdl3
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Duse_system_lua=true"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Lightweight text editor written in Lua";
|
||||
homepage = "https://github.com/lite-xl/lite-xl";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sefidel ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
luftmensch-luftmensch
|
||||
sefidel
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "lite-xl";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,14 +13,14 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lxqt-panel-profiles";
|
||||
version = "1.1";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "MrReplikant";
|
||||
repo = "lxqt-panel-profiles";
|
||||
rev = version;
|
||||
hash = "sha256-YGjgTLodVTtDzP/SOEg+Ehf1LYggTnG1H1rN5m1jaNM=";
|
||||
hash = "sha256-V76R3mWF/PgweMaDYTr6eJ3IDBsSJ8BSP5MYpKAWxM8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
--replace-fail "python3" "${pythonWithPyqt6}/bin/python"
|
||||
|
||||
substituteInPlace usr/share/lxqt-panel-profiles/lxqt-panel-profiles.py \
|
||||
--replace-fail "qdbus" "${qt6.qttools}/bin/qdbus"
|
||||
--replace-fail "qdbus6" "${qt6.qttools}/bin/qdbus"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rgcr";
|
||||
repo = pname;
|
||||
repo = "m-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KzlE1DdVMLnGmcOS1a2HK4pASofD1EHpdqbzVVIxeb4=";
|
||||
};
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "marge-bot";
|
||||
version = "0.15.3";
|
||||
version = "0.16.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "marge-org";
|
||||
repo = "marge-bot";
|
||||
rev = version;
|
||||
hash = "sha256-i/hnfoBxgP1mo4RV4F10+QOOkPP/fkcwqaLKBlOuP0I=";
|
||||
hash = "sha256-UgdbeJegeTFP6YF6oMxAeQDI9AO2k6yk4WAFZ/Xspu8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -28,7 +28,7 @@ lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] col
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
repo = "matcha-gtk-theme";
|
||||
rev = version;
|
||||
sha256 = "sha256-vPAGEa3anWAynEg2AYme4qpHJdLDKk2CmL5iQ1mBYgM=";
|
||||
};
|
||||
@@ -60,8 +60,8 @@ lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] col
|
||||
${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \
|
||||
--dest $out/share/themes
|
||||
|
||||
mkdir -p $out/share/doc/${pname}
|
||||
cp -a src/extra/firefox $out/share/doc/${pname}
|
||||
mkdir -p $out/share/doc/matcha-gtk-theme
|
||||
cp -a src/extra/firefox $out/share/doc/matcha-gtk-theme
|
||||
|
||||
jdupes --quiet --link-soft --recurse $out/share
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "mcp-grafana";
|
||||
version = "0.4.2";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grafana";
|
||||
repo = "mcp-grafana";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3w6xnDAcuDMZPr6lGGh0FpcyG2fRpkeVcJlZMdszu/g=";
|
||||
hash = "sha256-oFtih2X3ZXKeo0xP8PBafu9HXgzcLUkLCeHm47qZhNA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-61nn/p6Un+uHuPK4hipJ3A2DhAEqpWTGefM8ENAOP1E=";
|
||||
vendorHash = "sha256-AVU1HE3RlEjkL0xO6j/Mii0B9BtUSdALUvSphCTwjrc=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mediawriter";
|
||||
version = "5.2.5";
|
||||
version = "5.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FedoraQt";
|
||||
repo = "MediaWriter";
|
||||
tag = version;
|
||||
hash = "sha256-acKLKnAXTp1w8+pPVXO2gCi3GELEi3skYCYN13QjWyY=";
|
||||
hash = "sha256-3O+b55H2/qbr8RrHNGz8dPQTt+ecVHtUWSDa24l2Dwc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -44,7 +44,7 @@ python3Packages.buildPythonApplication rec {
|
||||
with python3Packages;
|
||||
[
|
||||
ipython
|
||||
pytest-cov # fix Unknown pytest.mark.no_cover
|
||||
pytest-cov-stub # fix Unknown pytest.mark.no_cover
|
||||
pytest-textual-snapshot
|
||||
pytestCheckHook
|
||||
]
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -23,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/rofl0r/microsocks/releases/tag/v${version}";
|
||||
description = "Tiny, portable SOCKS5 server with very moderate resource usage";
|
||||
|
||||
@@ -6,18 +6,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mitra";
|
||||
version = "4.4.0";
|
||||
version = "4.5.0";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "silverpill";
|
||||
repo = "mitra";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ZonEMbafZWfURW7WKUAVmDq7bvi7oXBpKVudbrTF6eE=";
|
||||
hash = "sha256-y77wLGmSJbGmqUXURjqp6Gz9+xpMvnUEcB9OZ4uF3M8=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-n96B51fVkJcBDwcbYHNP6ZWWdU8fu0a0Y72IVbNAAMQ=";
|
||||
cargoHash = "sha256-sfPnhB1GWIG8tA6Jqr1+03qxwS1DBbRAv4ZY+wKB/jY=";
|
||||
|
||||
# require running database
|
||||
doCheck = false;
|
||||
|
||||
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mellanox";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
repo = "mlxbf-bootctl";
|
||||
rev = "mlxbf-bootctl-${version}";
|
||||
hash = "sha256-F49ZZtty+NARXA/doAFLhsQn4XkPW6GWLXGy4waIaM0=";
|
||||
};
|
||||
|
||||
|
||||
@@ -27,14 +27,14 @@ let
|
||||
|
||||
main_src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
repo = "mojave-gtk-theme";
|
||||
rev = version;
|
||||
hash = "sha256-uL4lO6aWiDfOQkhpTnr/iVx1fI7n/fx7WYr5jDWPfYM=";
|
||||
};
|
||||
|
||||
wallpapers_src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
repo = "mojave-gtk-theme";
|
||||
rev = "1dc23c2b45d7e073e080cfb02f43aab0e59b6b2c";
|
||||
hash = "sha256-nkw8gXYx8fN1yn0A5M2fWwOvfUQ6izynxRw5JA61InM=";
|
||||
name = "wallpapers";
|
||||
|
||||
@@ -1,19 +1,21 @@
|
||||
{
|
||||
blas,
|
||||
fetchzip,
|
||||
gfortran,
|
||||
lapack,
|
||||
lib,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
mpi,
|
||||
gfortran,
|
||||
fixDarwinDylibNames,
|
||||
blas,
|
||||
lapack,
|
||||
scalapack,
|
||||
scotch,
|
||||
metis,
|
||||
parmetis,
|
||||
withParmetis ? false, # default to false due to unfree license
|
||||
scotch,
|
||||
withPtScotch ? mpiSupport,
|
||||
stdenv,
|
||||
fixDarwinDylibNames,
|
||||
mpiSupport ? false,
|
||||
mpiCheckPhaseHook,
|
||||
scalapack,
|
||||
static ? stdenv.hostPlatform.isStatic,
|
||||
mpiSupport ? false,
|
||||
withParmetis ? false, # default to false due to unfree license
|
||||
withPtScotch ? mpiSupport,
|
||||
}:
|
||||
assert withParmetis -> mpiSupport;
|
||||
assert withPtScotch -> mpiSupport;
|
||||
@@ -46,14 +48,16 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
name = "mumps";
|
||||
version = "5.7.3";
|
||||
version = "5.8.0";
|
||||
# makeFlags contain space and one should use makeFlagsArray+
|
||||
# Setting this magic var is an optional solution
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://mumps-solver.org/MUMPS_${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-ZnIfAuvOBJDYqCtKGlWs0r39nG6X2lAVRuUmeIJenZw=";
|
||||
hash = "sha256-opJW7+Z/YhyUFwYTTTuWZuykz8Z4do6/XTBThHyTVCs=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
@@ -74,7 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"LIBEXT_SHARED=.dylib"
|
||||
]
|
||||
++ [
|
||||
"ISCOTCH=-I${scotch.dev}/include"
|
||||
"ISCOTCH=-I${lib.getDev scotch}/include"
|
||||
"LMETIS=${LMETIS}"
|
||||
"LSCOTCH=${LSCOTCH}"
|
||||
"ORDERINGSF=${ORDERINGSF}"
|
||||
@@ -82,7 +86,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"OPTC=-O3"
|
||||
"OPTL=-O3"
|
||||
"SCALAP=-lscalapack"
|
||||
"allshared"
|
||||
"${if static then "all" else "allshared"}"
|
||||
];
|
||||
|
||||
installPhase =
|
||||
@@ -98,9 +102,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
ln -s $out/include/mumps_seq/mpi.h $out/include/mumps_mpi.h
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
gfortran
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
nativeBuildInputs =
|
||||
[
|
||||
gfortran
|
||||
]
|
||||
++ lib.optional mpiSupport mpi
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
|
||||
# Parmetis should be placed before scotch to avoid conflict of header file "parmetis.h"
|
||||
buildInputs =
|
||||
@@ -114,9 +121,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
nativeInstallCheckInputs = lib.optional mpiSupport mpiCheckPhaseHook;
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
${lib.optionalString stdenv.hostPlatform.isDarwin "export DYLD_LIBRARY_PATH=$out/lib\n"}
|
||||
${lib.optionalString mpiSupport "export MPIRUN='mpirun -n 2'\n"}
|
||||
cd examples
|
||||
@@ -131,6 +141,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
$MPIRUN ./csimpletest_save_restore <input_simpletest_cmplx
|
||||
$MPIRUN ./zsimpletest_save_restore <input_simpletest_cmplx
|
||||
$MPIRUN ./c_example_save_restore
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
@@ -140,7 +151,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "MUltifrontal Massively Parallel sparse direct Solver";
|
||||
homepage = "http://mumps-solver.org/";
|
||||
homepage = "https://mumps-solver.org/";
|
||||
changelog = "https://mumps-solver.org/index.php?page=dwnld#cl";
|
||||
license = lib.licenses.cecill-c;
|
||||
maintainers = with lib.maintainers; [
|
||||
nim65s
|
||||
|
||||
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
name = "${pname}-${version}-src";
|
||||
owner = "jonringer";
|
||||
repo = pname;
|
||||
repo = "nix-template";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-42u5FmTIKHpfQ2zZQXIrFkAN2/XvU0wWnCRrQkQzcNI=";
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NVIDIA";
|
||||
repo = pname;
|
||||
repo = "nvidia-docker";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kHzwFnN/DbpOe1sYDJkrRMxXE1bMiyuCPsbPGq07M9g=";
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@ let
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ClusterLabs";
|
||||
repo = pname;
|
||||
repo = "resource-agents";
|
||||
rev = "v${version}";
|
||||
sha256 = "0haryi3yrszdfpqnkfnppxj1yiy6ipah6m80snvayc7v0ss0wnir";
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitLab {
|
||||
domain = "salsa.debian.org";
|
||||
owner = "installer-team";
|
||||
repo = pname;
|
||||
repo = "os-prober";
|
||||
rev = version;
|
||||
sha256 = "sha256-cTufM82YE1L7d3kIOtncICInBPEw4o4NzQXB4uDrMKI=";
|
||||
};
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
name = "osx-cpu-temp-source";
|
||||
owner = "lavoiesl";
|
||||
repo = pname;
|
||||
repo = "osx-cpu-temp";
|
||||
rev = "6ec951be449badcb7fb84676bbc2c521e600e844";
|
||||
sha256 = "1nlibgr55bpln6jbdf8vqcp0fj9zv9343vflb7s9w0yh33fsbg9d";
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabianishere";
|
||||
repo = pname;
|
||||
repo = "pam_reattach";
|
||||
rev = "v${version}";
|
||||
sha256 = "1k77kxqszdwgrb50w7algj22pb4fy5b9649cjb08zq9fqrzxcbz7";
|
||||
};
|
||||
|
||||
@@ -44,7 +44,7 @@ python3Packages.buildPythonApplication rec {
|
||||
flake8
|
||||
mock
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
requests
|
||||
versionCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
|
||||
@@ -21,8 +21,8 @@ let
|
||||
pname = "photoprism";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "photoprism";
|
||||
repo = "photoprism";
|
||||
rev = version;
|
||||
hash = "sha256-tJA1Q8kcX4UYDCV+rmHyd5gfEU8WkoaqNfx1/0Iy3l8=";
|
||||
};
|
||||
@@ -54,7 +54,7 @@ let
|
||||
hash = "sha256-zy/HcmgaHOY7FfJUY6I/yjjsMPHR2Ote9ppwqemBlfg=";
|
||||
};
|
||||
|
||||
assets_path = "$out/share/${pname}";
|
||||
assets_path = "$out/share/photoprism";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname version;
|
||||
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-poetry";
|
||||
repo = pname;
|
||||
repo = "poetry-plugin-export";
|
||||
tag = version;
|
||||
hash = "sha256-AP3/njzbLEi2s4pOUSLLLzqNprvxwLe9LSY7qh08EWc=";
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MousaZeidBaker";
|
||||
repo = pname;
|
||||
repo = "poetry-plugin-up";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-gVhx8Vhk+yT/QjcEme8w0F+6BBpnEZOqzCkUJgM9eck=";
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "graysky2";
|
||||
repo = pname;
|
||||
repo = "pulseaudio-ctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ZB1jrr31PF7+vNB+Xo5CATJmYbuDAPwewpDxCVnAowY=";
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neutrinolabs";
|
||||
repo = pname;
|
||||
repo = "pulseaudio-module-xrdp";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-R1ZPifEjlueTJma6a0UiGdiNwTSa5+HnW4w9qGrauxE=";
|
||||
};
|
||||
|
||||
@@ -36,7 +36,7 @@ lib.checkListOfEnum "${pname}: theme variants" [ "default" "manjaro" "ubuntu" "a
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
repo = "qogir-theme";
|
||||
rev = version;
|
||||
sha256 = "Q9DWBzaLZjwXsYRa/oDIrccypO3TCbSRXTkbXWRmm70=";
|
||||
};
|
||||
@@ -72,8 +72,8 @@ lib.checkListOfEnum "${pname}: theme variants" [ "default" "manjaro" "ubuntu" "a
|
||||
${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \
|
||||
--dest $out/share/themes
|
||||
|
||||
mkdir -p $out/share/doc/${pname}
|
||||
cp -a src/firefox $out/share/doc/${pname}
|
||||
mkdir -p $out/share/doc/qogir-theme
|
||||
cp -a src/firefox $out/share/doc/qogir-theme
|
||||
|
||||
rm $out/share/themes/*/{AUTHORS,COPYING}
|
||||
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
gtk2,
|
||||
synergy,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quicksynergy";
|
||||
version = "0.9.0";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/quicksynergy/Linux/${version}/quicksynergy-${version}.tar.gz";
|
||||
sha256 = "1pi8503bg8q1psw50y6d780i33nnvfjqiy9vnr3v52pdcfip8pix";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
gtk2
|
||||
synergy
|
||||
];
|
||||
preBuild = "
|
||||
sed -i 's@/usr/bin@${synergy.out}/bin@' src/synergy_config.c
|
||||
";
|
||||
meta = {
|
||||
description = "GUI application to share mouse and keyboard between computers";
|
||||
longDescription = "
|
||||
QuickSynergy is a graphical interface (GUI) for easily configuring
|
||||
Synergy2, an application that allows the user to share his mouse and
|
||||
keyboard between two or more computers.
|
||||
|
||||
Without the need for any external hardware, Synergy2 uses the TCP-IP
|
||||
protocol to share the resources, even between machines with different
|
||||
operating systems, such as Mac OS, Linux and Windows.
|
||||
|
||||
Remember to open port 24800 (used by synergys program) if you want to
|
||||
host mouse and keyboard.";
|
||||
homepage = "https://sourceforge.net/projects/quicksynergy/";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.spinus ];
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "quicksynergy";
|
||||
};
|
||||
}
|
||||
@@ -24,7 +24,7 @@ let
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quickwit-oss";
|
||||
repo = pname;
|
||||
repo = "quickwit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OrCO0mCFmhYBdpr4Gps56KJJ37uuJpV6ZJHWspOScyw=";
|
||||
};
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "repomix";
|
||||
version = "0.3.8";
|
||||
version = "0.3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yamadashy";
|
||||
repo = "repomix";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-yvzZQXBJFroSSb4j+ifzM3Qe/iIFVFDCqyfaJTH/65Q=";
|
||||
hash = "sha256-sM8xXBeXo3wv3Cm7jAC7t1JgUoi5JRzg8EaHnwrecjo=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-VWW9JkLlk3OoMQ7yneTsUdyepe4bDezoM1t2RxF4zVY=";
|
||||
npmDepsHash = "sha256-ZD7AD7U+3CNx3/sQrid8xK6+t5A92xgJJgf7mnR8PRg=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
@@ -37,7 +37,7 @@ lib.checkListOfEnum "${pname}: color variants"
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yeyushengfan258";
|
||||
repo = pname;
|
||||
repo = "reversal-icon-theme";
|
||||
rev = "bdae2ea365731b25a869fc2c8c6a1fb849eaf5b2";
|
||||
hash = "sha256-Cd+1ggyS+Y2Sk8w5zifc4IFOwbFrbjL6S6awES/W0EE=";
|
||||
};
|
||||
|
||||
@@ -27,9 +27,9 @@ python3Packages.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -21,7 +21,7 @@ let
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JonathanGiles";
|
||||
repo = pname;
|
||||
repo = "scenic-view";
|
||||
rev = version;
|
||||
sha256 = "1idfh9hxqs4fchr6gvhblhvjqk4mpl4rnpi84vn1l3yb700z7dwy";
|
||||
};
|
||||
@@ -29,9 +29,9 @@ let
|
||||
gradle = gradle_7;
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = pname;
|
||||
desktopName = pname;
|
||||
exec = pname;
|
||||
name = "scenic-view";
|
||||
desktopName = "scenic-view";
|
||||
exec = "scenic-view";
|
||||
comment = "JavaFx application to visualize and modify the scenegraph of running JavaFx applications.";
|
||||
mimeTypes = [
|
||||
"application/java"
|
||||
@@ -61,9 +61,9 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/${pname}
|
||||
cp build/libs/scenicview.jar $out/share/${pname}/${pname}.jar
|
||||
makeWrapper ${jdk}/bin/java $out/bin/${pname} --add-flags "-jar $out/share/${pname}/${pname}.jar"
|
||||
mkdir -p $out/bin $out/share/scenic-view
|
||||
cp build/libs/scenicview.jar $out/share/scenic-view/scenic-view.jar
|
||||
makeWrapper ${jdk}/bin/java $out/bin/scenic-view --add-flags "-jar $out/share/scenic-view/scenic-view.jar"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "SDL_image";
|
||||
version = "1.2.12-unstable-2025-04-27";
|
||||
version = "1.2.12-unstable-2025-06-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libsdl-org";
|
||||
repo = "SDL_image";
|
||||
rev = "a5eac02dacd8a8940ffccd1b8d0783c0b5f8ec7d";
|
||||
hash = "sha256-vrV12fYGSh/vtCktsUVNvcRCn5lZ2tyBYwqhLPgNdhw=";
|
||||
rev = "bb266d29e19493fa48bda9bbc56c26363099372f";
|
||||
hash = "sha256-I8TqZX3249/bcZtfwrJd545E5h9d9HmRy8GGDH9S+kU=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -104,7 +104,7 @@ in
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
inherit (old.meta) license;
|
||||
inherit (old.meta) license pkgConfigModules;
|
||||
mainProgram = "ffprobe";
|
||||
description = "${old.meta.description} (Servarr fork)";
|
||||
homepage = "https://github.com/Servarr/FFmpeg";
|
||||
|
||||
@@ -37,7 +37,7 @@ lib.checkListOfEnum "${pname}: button variants" [ "standard" "alt" ] buttonVaria
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinceliuice";
|
||||
repo = pname;
|
||||
repo = "sierra-gtk-theme";
|
||||
rev = "05899001c4fc2fec87c4d222cb3997c414e0affd";
|
||||
sha256 = "174l5mryc34ma1r42pk6572c6i9hmzr9vj1a6w06nqz5qcfm1hds";
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ let
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SagerNet";
|
||||
repo = pname;
|
||||
repo = "sing-geoip";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-nIrbiECK25GyuPEFqMvPdZUShC2JC1NI60Y10SsoWyY=";
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ python3Packages.buildPythonApplication rec {
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pytest-cov
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
# the -cli symlink is just to maintain compabilility with older versions where
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
ocamlPackages.buildDunePackage rec {
|
||||
pname = "soupault";
|
||||
version = "5.0.0";
|
||||
version = "5.1.0";
|
||||
|
||||
minimalOCamlVersion = "4.13";
|
||||
|
||||
@@ -21,7 +21,7 @@ ocamlPackages.buildDunePackage rec {
|
||||
"https://github.com/PataphysicalSociety/soupault/archive/${version}.tar.gz"
|
||||
"https://codeberg.org/PataphysicalSociety/soupault/archive/${version}.tar.gz"
|
||||
];
|
||||
hash = "sha256-patZn5z+ZT3dONdUojSvFgaVOmG1IpVGdehCUh2uRT8=";
|
||||
hash = "sha256-yAkJgNwF763b2DFGA+4Ve+jafFxZbFDm3QxisDD6gYo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
|
||||
@@ -30,7 +30,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://adobe-fonts.github.io/source-sans/";
|
||||
description = "Sans serif font family for user interface environments";
|
||||
description = "Sans serif font family for user interface environments (version of Source Sans before being renamed)";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cmacrae";
|
||||
repo = pname;
|
||||
repo = "spacebar";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-4LiG43kPZtsm7SQ/28RaGMpYsDshCaGvc1mouPG3jFM=";
|
||||
};
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# switch-to-configuration-ng
|
||||
|
||||
This program is a reimplementation of [switch-to-configuration](/nixos/modules/system/activation/switch-to-configuration.pl) in Rust. The goal is to be compatible in as many ways as possible to the original implementation, at least as long as the original is still in nixpkgs. Any behavioral modifications to this program should also be implemented in the original, and vice versa.
|
||||
This program implements the switching/updating of NixOS systems. It starts with the exising running configuration at `/run/current-system` and handles the migration to a new configuration, built from a NixOS configuration's `config.system.build.toplevel` derivation.
|
||||
|
||||
For more information on what happens during a switch, see [what-happens-during-a-system-switch](../../../../nixos/doc/manual/development/what-happens-during-a-system-switch.chapter.md).
|
||||
|
||||
## Build in a devshell
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ buildGoModule rec {
|
||||
# src = /home/tim/repos/tracee;
|
||||
src = fetchFromGitHub {
|
||||
owner = "aquasecurity";
|
||||
repo = pname;
|
||||
repo = "tracee";
|
||||
# project has branches and tags of the same name
|
||||
tag = "v${version}";
|
||||
hash = "sha256-9uP0yoW+xRYv7wHuCfUMU8B2oTQjiSW5p/Ty76ni2wo=";
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitea,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
vala,
|
||||
wrapGAppsHook4,
|
||||
desktop-file-utils,
|
||||
libadwaita,
|
||||
libsoup_3,
|
||||
json-glib,
|
||||
libsecret,
|
||||
glib-networking,
|
||||
|
||||
# Per the upstream request. Key owned by Aleksana
|
||||
lastfmKey ? "b5027c5178ca2abfcc31bd04397c3c0e",
|
||||
lastfmSecret ? "8d375bdee925a2a35f241c04272bc862",
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "turntable";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "GeopJr";
|
||||
repo = "Turntable";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fBduW49eNOEzRVBb72zcB5arTjTiRUy8jE3sSMjPITE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
vala
|
||||
wrapGAppsHook4
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
libsoup_3
|
||||
json-glib
|
||||
libsecret
|
||||
glib-networking
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
(lib.mesonOption "lastfm_key" lastfmKey)
|
||||
(lib.mesonOption "lastfm_secret" lastfmSecret)
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
description = "Scrobbles your music to multiple services with playback controls for MPRIS players";
|
||||
longDescription = ''
|
||||
Keep track of your listening habits by scrobbling them
|
||||
to last.fm, ListenBrainz, Libre.fm and Maloja at the
|
||||
same time using your favorite music app's, favorite
|
||||
music app! Turntable comes with a highly customizable
|
||||
and sleek design that displays information about the
|
||||
currently playing song and allows you to control your
|
||||
music player, allowlist it for scrobbling and manage
|
||||
your scrobbling accounts. All MPRIS-enabled apps are
|
||||
supported.
|
||||
'';
|
||||
homepage = "https://turntable.geopjr.dev";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ aleksana ];
|
||||
mainProgram = "dev.geopjr.Turntable";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -116,7 +116,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
with python3.pkgs;
|
||||
[
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-cov # cannot use stub
|
||||
versionCheckHook
|
||||
]
|
||||
++ runtimeDeps;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
with python3Packages;
|
||||
@@ -10,17 +10,19 @@ buildPythonApplication rec {
|
||||
pname = "vim-vint";
|
||||
version = "0.3.21";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15qdh8fby9xgfjxidcfv1xmrqqrxxapky7zmyn46qx1abhp9piax";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vimjas";
|
||||
repo = "vint";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-A0yXDkB/b9kEEXSoLeqVdmdm4p2PYL2QHqbF4FgAn30=";
|
||||
};
|
||||
|
||||
# For python 3.5 > version > 2.7 , a nested dependency (pythonPackages.hypothesis) fails.
|
||||
disabled = !pythonAtLeast "3.5";
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
ansicolor
|
||||
@@ -29,10 +31,13 @@ buildPythonApplication rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
# Unpin test dependency versions. This is fixed in master but not yet released.
|
||||
preCheck = ''
|
||||
sed -i 's/==.*//g' test-requirements.txt
|
||||
sed -i 's/mock == 1.0.1/mock/g' setup.py
|
||||
substituteInPlace \
|
||||
test/acceptance/test_cli.py \
|
||||
test/acceptance/test_cli_vital.py \
|
||||
--replace-fail \
|
||||
"cmd = ['bin/vint'" \
|
||||
"cmd = ['$out/bin/vint'"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -28,8 +28,8 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
freezegun
|
||||
pytest
|
||||
pytest-cov
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
propagatedBuildInputs =
|
||||
@@ -48,7 +48,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
postBuild = "make -C doc";
|
||||
|
||||
checkPhase = "py.test src/vulnix";
|
||||
pytestFlagsArray = [ "src/vulnix" ];
|
||||
|
||||
postInstall = ''
|
||||
install -D -t $doc/share/doc/vulnix README.rst CHANGES.rst
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user