Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-04-02 18:01:21 +00:00 committed by GitHub
commit 1b49f0d322
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
74 changed files with 4985 additions and 1096 deletions

View File

@ -97,7 +97,7 @@ let
inherit (self.strings) concatStrings concatMapStrings concatImapStrings inherit (self.strings) concatStrings concatMapStrings concatImapStrings
intersperse concatStringsSep concatMapStringsSep intersperse concatStringsSep concatMapStringsSep
concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput
makeLibraryPath makeBinPath optionalString makeLibraryPath makeIncludePath makeBinPath optionalString
hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape
escapeShellArg escapeShellArgs escapeShellArg escapeShellArgs
isStorePath isStringLike isStorePath isStringLike

View File

@ -206,6 +206,18 @@ rec {
*/ */
makeLibraryPath = makeSearchPathOutput "lib" "lib"; makeLibraryPath = makeSearchPathOutput "lib" "lib";
/* Construct an include search path (such as C_INCLUDE_PATH) containing the
header files for a set of packages or paths.
Example:
makeIncludePath [ "/usr" "/usr/local" ]
=> "/usr/include:/usr/local/include"
pkgs = import <nixpkgs> { }
makeIncludePath [ pkgs.openssl pkgs.zlib ]
=> "/nix/store/9rz8gxhzf8sw4kf2j2f1grr49w8zx5vj-openssl-1.0.1r-dev/include:/nix/store/wwh7mhwh269sfjkm6k5665b5kgp7jrk2-zlib-1.2.8-dev/include"
*/
makeIncludePath = makeSearchPathOutput "dev" "include";
/* Construct a binary search path (such as $PATH) containing the /* Construct a binary search path (such as $PATH) containing the
binaries for a set of packages. binaries for a set of packages.

View File

@ -64,6 +64,7 @@ let
lists lists
listToAttrs listToAttrs
makeExtensible makeExtensible
makeIncludePath
makeOverridable makeOverridable
mapAttrs mapAttrs
matchAttrs matchAttrs
@ -296,6 +297,35 @@ runTests {
expected = "a\nb\nc\n"; expected = "a\nb\nc\n";
}; };
testMakeIncludePathWithPkgs = {
expr = (makeIncludePath [
# makeIncludePath preferably selects the "dev" output
{ dev.outPath = "/dev"; out.outPath = "/out"; outPath = "/default"; }
# "out" is used if "dev" is not found
{ out.outPath = "/out"; outPath = "/default"; }
# And it returns the derivation directly if there's no "out" either
{ outPath = "/default"; }
# Same if the output is specified explicitly, even if there's a "dev"
{ dev.outPath = "/dev"; outPath = "/default"; outputSpecified = true; }
]);
expected = "/dev/include:/out/include:/default/include:/default/include";
};
testMakeIncludePathWithEmptyList = {
expr = (makeIncludePath [ ]);
expected = "";
};
testMakeIncludePathWithOneString = {
expr = (makeIncludePath [ "/usr" ]);
expected = "/usr/include";
};
testMakeIncludePathWithManyString = {
expr = (makeIncludePath [ "/usr" "/usr/local" ]);
expected = "/usr/include:/usr/local/include";
};
testReplicateString = { testReplicateString = {
expr = strings.replicate 5 "hello"; expr = strings.replicate 5 "hello";
expected = "hellohellohellohellohello"; expected = "hellohellohellohellohello";

View File

@ -16418,6 +16418,12 @@
githubId = 25647735; githubId = 25647735;
name = "Victor Freire"; name = "Victor Freire";
}; };
ravenz46 = {
email = "goldraven0406@gmail.com";
github = "RAVENz46";
githubId = 86608952;
name = "RAVENz46";
};
rawkode = { rawkode = {
email = "david.andrew.mckay@gmail.com"; email = "david.andrew.mckay@gmail.com";
github = "rawkode"; github = "rawkode";

View File

@ -9,12 +9,20 @@
, prefix ? ../../.. , prefix ? ../../..
}: }:
with pkgs;
let let
inherit (lib) hasPrefix removePrefix; inherit (pkgs) buildPackages runCommand docbook_xsl_ns;
lib = pkgs.lib; inherit (pkgs.lib)
hasPrefix
removePrefix
flip
foldr
types
mkOption
escapeShellArg
concatMapStringsSep
sourceFilesBySuffices
;
common = import ./common.nix; common = import ./common.nix;
@ -27,7 +35,7 @@ let
# E.g. if some `options` came from modules in ${pkgs.customModules}/nix, # E.g. if some `options` came from modules in ${pkgs.customModules}/nix,
# you'd need to include `extraSources = [ pkgs.customModules ]` # you'd need to include `extraSources = [ pkgs.customModules ]`
prefixesToStrip = map (p: "${toString p}/") ([ prefix ] ++ extraSources); prefixesToStrip = map (p: "${toString p}/") ([ prefix ] ++ extraSources);
stripAnyPrefixes = lib.flip (lib.foldr lib.removePrefix) prefixesToStrip; stripAnyPrefixes = flip (foldr removePrefix) prefixesToStrip;
optionsDoc = buildPackages.nixosOptionsDoc { optionsDoc = buildPackages.nixosOptionsDoc {
inherit options revision baseOptionsJSON warningsAreErrors; inherit options revision baseOptionsJSON warningsAreErrors;
@ -42,8 +50,8 @@ let
testOptionsDoc = let testOptionsDoc = let
eval = nixos-lib.evalTest { eval = nixos-lib.evalTest {
# Avoid evaluating a NixOS config prototype. # Avoid evaluating a NixOS config prototype.
config.node.type = lib.types.deferredModule; config.node.type = types.deferredModule;
options._module.args = lib.mkOption { internal = true; }; options._module.args = mkOption { internal = true; };
}; };
in buildPackages.nixosOptionsDoc { in buildPackages.nixosOptionsDoc {
inherit (eval) options; inherit (eval) options;
@ -76,7 +84,7 @@ let
substituteInPlace ./configuration/configuration.md \ substituteInPlace ./configuration/configuration.md \
--replace \ --replace \
'@MODULE_CHAPTERS@' \ '@MODULE_CHAPTERS@' \
${lib.escapeShellArg (lib.concatMapStringsSep "\n" (p: "${p.value}") config.meta.doc)} ${escapeShellArg (concatMapStringsSep "\n" (p: "${p.value}") config.meta.doc)}
substituteInPlace ./nixos-options.md \ substituteInPlace ./nixos-options.md \
--replace \ --replace \
'@NIXOS_OPTIONS_JSON@' \ '@NIXOS_OPTIONS_JSON@' \
@ -95,7 +103,7 @@ in rec {
# Generate the NixOS manual. # Generate the NixOS manual.
manualHTML = runCommand "nixos-manual-html" manualHTML = runCommand "nixos-manual-html"
{ nativeBuildInputs = [ buildPackages.nixos-render-docs ]; { nativeBuildInputs = [ buildPackages.nixos-render-docs ];
inputs = lib.sourceFilesBySuffices ./. [ ".md" ]; inputs = sourceFilesBySuffices ./. [ ".md" ];
meta.description = "The NixOS manual in HTML format"; meta.description = "The NixOS manual in HTML format";
allowedReferences = ["out"]; allowedReferences = ["out"];
} }
@ -114,8 +122,8 @@ in rec {
nixos-render-docs -j $NIX_BUILD_CORES manual html \ nixos-render-docs -j $NIX_BUILD_CORES manual html \
--manpage-urls ${manpageUrls} \ --manpage-urls ${manpageUrls} \
--revision ${lib.escapeShellArg revision} \ --revision ${escapeShellArg revision} \
--generator "nixos-render-docs ${lib.version}" \ --generator "nixos-render-docs ${pkgs.lib.version}" \
--stylesheet style.css \ --stylesheet style.css \
--stylesheet highlightjs/mono-blue.css \ --stylesheet highlightjs/mono-blue.css \
--script ./highlightjs/highlight.pack.js \ --script ./highlightjs/highlight.pack.js \
@ -147,7 +155,7 @@ in rec {
xml:id="book-nixos-manual"> xml:id="book-nixos-manual">
<info> <info>
<title>NixOS Manual</title> <title>NixOS Manual</title>
<subtitle>Version ${lib.version}</subtitle> <subtitle>Version ${pkgs.lib.version}</subtitle>
</info> </info>
<chapter> <chapter>
<title>Temporarily unavailable</title> <title>Temporarily unavailable</title>
@ -199,7 +207,7 @@ in rec {
# Generate manpages. # Generate manpages.
mkdir -p $out/share/man/man5 mkdir -p $out/share/man/man5
nixos-render-docs -j $NIX_BUILD_CORES options manpage \ nixos-render-docs -j $NIX_BUILD_CORES options manpage \
--revision ${lib.escapeShellArg revision} \ --revision ${escapeShellArg revision} \
${optionsJSON}/${common.outputPath}/options.json \ ${optionsJSON}/${common.outputPath}/options.json \
$out/share/man/man5/configuration.nix.5 $out/share/man/man5/configuration.nix.5
''; '';

View File

@ -1,8 +1,32 @@
{ config, options, lib, pkgs, utils, modules, baseModules, extraModules, modulesPath, specialArgs, ... }: { config, options, lib, pkgs, utils, modules, baseModules, extraModules, modulesPath, specialArgs, ... }:
with lib;
let let
inherit (lib)
cleanSourceFilter
concatMapStringsSep
evalModules
filter
functionArgs
hasSuffix
isAttrs
isDerivation
isFunction
isPath
literalExpression
mapAttrs
mkIf
mkMerge
mkOption
mkRemovedOptionModule
mkRenamedOptionModule
optional
optionalAttrs
optionals
partition
removePrefix
types
warn
;
cfg = config.documentation; cfg = config.documentation;
allOpts = options; allOpts = options;
@ -13,7 +37,7 @@ let
instance = f (mapAttrs (n: _: abort "evaluating ${n} for `meta` failed") (functionArgs f)); instance = f (mapAttrs (n: _: abort "evaluating ${n} for `meta` failed") (functionArgs f));
in in
cfg.nixos.options.splitBuild cfg.nixos.options.splitBuild
&& builtins.isPath m && isPath m
&& isFunction f && isFunction f
&& instance ? options && instance ? options
&& instance.meta.buildDocsInSandbox or true; && instance.meta.buildDocsInSandbox or true;
@ -51,12 +75,12 @@ let
(name: value: (name: value:
let let
wholeName = "${namePrefix}.${name}"; wholeName = "${namePrefix}.${name}";
guard = lib.warn "Attempt to evaluate package ${wholeName} in option documentation; this is not supported and will eventually be an error. Use `mkPackageOption{,MD}` or `literalExpression` instead."; guard = warn "Attempt to evaluate package ${wholeName} in option documentation; this is not supported and will eventually be an error. Use `mkPackageOption{,MD}` or `literalExpression` instead.";
in if isAttrs value then in if isAttrs value then
scrubDerivations wholeName value scrubDerivations wholeName value
// optionalAttrs (isDerivation value) { // optionalAttrs (isDerivation value) {
outPath = guard "\${${wholeName}}"; outPath = guard "\${${wholeName}}";
drvPath = guard drvPath; drvPath = guard value.drvPath;
} }
else value else value
) )
@ -176,7 +200,7 @@ in
enable = mkOption { enable = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Whether to install documentation of packages from Whether to install documentation of packages from
{option}`environment.systemPackages` into the generated system path. {option}`environment.systemPackages` into the generated system path.
@ -188,7 +212,7 @@ in
man.enable = mkOption { man.enable = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Whether to install manual pages. Whether to install manual pages.
This also includes `man` outputs. This also includes `man` outputs.
''; '';
@ -197,7 +221,7 @@ in
man.generateCaches = mkOption { man.generateCaches = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = mdDoc '' description = ''
Whether to generate the manual page index caches. Whether to generate the manual page index caches.
This allows searching for a page or This allows searching for a page or
keyword using utilities like {manpage}`apropos(1)` keyword using utilities like {manpage}`apropos(1)`
@ -209,7 +233,7 @@ in
info.enable = mkOption { info.enable = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Whether to install info pages and the {command}`info` command. Whether to install info pages and the {command}`info` command.
This also includes "info" outputs. This also includes "info" outputs.
''; '';
@ -218,7 +242,7 @@ in
doc.enable = mkOption { doc.enable = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Whether to install documentation distributed in packages' `/share/doc`. Whether to install documentation distributed in packages' `/share/doc`.
Usually plain text and/or HTML. Usually plain text and/or HTML.
This also includes "doc" outputs. This also includes "doc" outputs.
@ -228,7 +252,7 @@ in
dev.enable = mkOption { dev.enable = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = mdDoc '' description = ''
Whether to install documentation targeted at developers. Whether to install documentation targeted at developers.
* This includes man pages targeted at developers if {option}`documentation.man.enable` is * This includes man pages targeted at developers if {option}`documentation.man.enable` is
set (this also includes "devman" outputs). set (this also includes "devman" outputs).
@ -242,7 +266,7 @@ in
nixos.enable = mkOption { nixos.enable = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Whether to install NixOS's own documentation. Whether to install NixOS's own documentation.
- This includes man pages like - This includes man pages like
@ -256,7 +280,7 @@ in
nixos.extraModules = mkOption { nixos.extraModules = mkOption {
type = types.listOf types.raw; type = types.listOf types.raw;
default = []; default = [];
description = lib.mdDoc '' description = ''
Modules for which to show options even when not imported. Modules for which to show options even when not imported.
''; '';
}; };
@ -264,7 +288,7 @@ in
nixos.options.splitBuild = mkOption { nixos.options.splitBuild = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Whether to split the option docs build into a cacheable and an uncacheable part. Whether to split the option docs build into a cacheable and an uncacheable part.
Splitting the build can substantially decrease the amount of time needed to build Splitting the build can substantially decrease the amount of time needed to build
the manual, but some user modules may be incompatible with this splitting. the manual, but some user modules may be incompatible with this splitting.
@ -274,7 +298,7 @@ in
nixos.options.warningsAreErrors = mkOption { nixos.options.warningsAreErrors = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = lib.mdDoc '' description = ''
Treat warning emitted during the option documentation build (eg for missing option Treat warning emitted during the option documentation build (eg for missing option
descriptions) as errors. descriptions) as errors.
''; '';
@ -283,7 +307,7 @@ in
nixos.includeAllModules = mkOption { nixos.includeAllModules = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
description = lib.mdDoc '' description = ''
Whether the generated NixOS's documentation should include documentation for all Whether the generated NixOS's documentation should include documentation for all
the options from all the NixOS modules included in the current the options from all the NixOS modules included in the current
`configuration.nix`. Disabling this will make the manual `configuration.nix`. Disabling this will make the manual
@ -294,7 +318,7 @@ in
nixos.extraModuleSources = mkOption { nixos.extraModuleSources = mkOption {
type = types.listOf (types.either types.path types.str); type = types.listOf (types.either types.path types.str);
default = [ ]; default = [ ];
description = lib.mdDoc '' description = ''
Which extra NixOS module paths the generated NixOS's documentation should strip Which extra NixOS module paths the generated NixOS's documentation should strip
from options. from options.
''; '';

View File

@ -742,11 +742,16 @@ in {
umask 077 umask 077
export PGPASSWORD="$(cat '${cfg.database.passwordFile}')" export PGPASSWORD="$(cat '${cfg.database.passwordFile}')"
'' + '' '' + ''
if [ `psql -c \ result="$(psql -t --csv -c \
"select count(*) from pg_class c \ "select count(*) from pg_class c \
join pg_namespace s on s.oid = c.relnamespace \ join pg_namespace s on s.oid = c.relnamespace \
where s.nspname not in ('pg_catalog', 'pg_toast', 'information_schema') \ where s.nspname not in ('pg_catalog', 'pg_toast', 'information_schema') \
and s.nspname not like 'pg_temp%';" | sed -n 3p` -eq 0 ]; then and s.nspname not like 'pg_temp%';")" || error_code=$?
if [ "''${error_code:-0}" -ne 0 ]; then
echo "Failure checking if database is seeded. psql gave exit code $error_code"
exit "$error_code"
fi
if [ "$result" -eq 0 ]; then
echo "Seeding database" echo "Seeding database"
SAFETY_ASSURED=1 rails db:schema:load SAFETY_ASSURED=1 rails db:schema:load
rails db:seed rails db:seed

View File

@ -48,7 +48,7 @@
"new": "sqlite-lua" "new": "sqlite-lua"
}, },
"vim-fsharp": { "vim-fsharp": {
"date": "2024-03-16", "date": "2024-04-02",
"new": "zarchive-vim-fsharp" "new": "zarchive-vim-fsharp"
}, },
"vim-jade": { "vim-jade": {

File diff suppressed because it is too large Load Diff

View File

@ -1017,7 +1017,7 @@
inherit (old) version src; inherit (old) version src;
sourceRoot = "${old.src.name}/spectre_oxi"; sourceRoot = "${old.src.name}/spectre_oxi";
cargoHash = "sha256-VDnrJ2EJ8LDykqxYKD1VR8BkDqzzifazJzL/0UsmSCk="; cargoHash = "sha256-tWJyVBYYQWr3ofYnbvfQZdzPQ9o//7XEbdjN5b2frPo=";
preCheck = '' preCheck = ''

View File

@ -9,43 +9,43 @@
let let
pname = "1password"; pname = "1password";
version = if channel == "stable" then "8.10.27" else "8.10.28-21.BETA"; version = if channel == "stable" then "8.10.28" else "8.10.30-11.BETA";
sources = { sources = {
stable = { stable = {
x86_64-linux = { x86_64-linux = {
url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz"; url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz";
hash = "sha256-xQQXPDC8mvQyC+z3y0n5KpRpLjrBeslwXPf28wfKVSM="; hash = "sha256-1EfP8z+vH0yRklkcxCOPYExu13iFcs6jOdvWBzl64BA=";
}; };
aarch64-linux = { aarch64-linux = {
url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz"; url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz";
hash = "sha256-c26G/Zp+1Y6ZzGYeybFBJOB2gDx3k+4/Uu7sMlXHYjM="; hash = "sha256-E4MfpHVIn5Vu/TcDgwkoHdSnKthaAMFJZArnmSH5cxA=";
}; };
x86_64-darwin = { x86_64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip";
hash = "sha256-9LrSJ9PLRXFbA7xkBbqFIZVtAuy7UrDBh7e6rlLqrM0="; hash = "sha256-+cXirJyDnxfE5FN8HEIrEyyoGvVrJ+0ykBHON9oHAek=";
}; };
aarch64-darwin = { aarch64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip";
hash = "sha256-4oqpsRZ10y2uh2gp4QyHfUdKER8v8n8mjNFVwKRYkpo="; hash = "sha256-zKAgAKYIgy5gZbe2IpskV8DG8AKtamYqq8cF/mTpRss=";
}; };
}; };
beta = { beta = {
x86_64-linux = { x86_64-linux = {
url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz";
hash = "sha256-Pz9tpGsKLmf37r0fnBxcE7qGjN3RZSF/iwQUnqev0Jk="; hash = "sha256-6zyDZRsk9FZXJuGqqt1kCATcL99PjYP/wQzqE/4e4kg=";
}; };
aarch64-linux = { aarch64-linux = {
url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz"; url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz";
hash = "sha256-ezzdwUUcSBqJUKlG1By5HXbgrTFDpaGIJipU+V1FUBc="; hash = "sha256-JwHk6Byqd5LxVWBT/blRVnYhgSeYfaVY3Ax4GkLcFxM=";
}; };
x86_64-darwin = { x86_64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip";
hash = "sha256-zFO8ypDqPGcJY/2eKke/ljQ4S3syI7jyZSexbYzBA+c="; hash = "sha256-h7vJguOEQBEvX9Z9MjdLj0hPnn8hJpeWRoduVowznLg=";
}; };
aarch64-darwin = { aarch64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip";
hash = "sha256-LAhGmXqfcgjiDbE0RLhzpi15rluM8/fZ3GZ52yHdMKg="; hash = "sha256-g6lorMdQ56B6gd4YN4WQSkztwHqIgO7QshM1zocpqTE=";
}; };
}; };
}; };

View File

@ -16,13 +16,13 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "nwg-panel"; pname = "nwg-panel";
version = "0.9.26"; version = "0.9.27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nwg-piotr"; owner = "nwg-piotr";
repo = "nwg-panel"; repo = "nwg-panel";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-FGSMXiVygkA3thHtWaA6s5Kz96PYZgMzQQwIjOr6a0c="; hash = "sha256-GCaqFqoZ7lfyE3VD3Dgz8jVt9TtUq3XVzVeI6g3SO5E=";
}; };
# No tests # No tests

View File

@ -0,0 +1,19 @@
diff --git a/src/libslic3r/MeshBoolean.cpp b/src/libslic3r/MeshBoolean.cpp
index 31fdc35..32acbf8 100644
--- a/src/libslic3r/MeshBoolean.cpp
+++ b/src/libslic3r/MeshBoolean.cpp
@@ -147,12 +147,12 @@ template<class _Mesh> TriangleMesh cgal_to_triangle_mesh(const _Mesh &cgalmesh)
const auto &vertices = cgalmesh.vertices();
int vsize = int(vertices.size());
- for (auto &vi : vertices) {
+ for (const auto &vi : vertices) {
auto &v = cgalmesh.point(vi); // Don't ask...
its.vertices.emplace_back(to_vec3f(v));
}
- for (auto &face : faces) {
+ for (const auto &face : faces) {
auto vtc = cgalmesh.vertices_around_face(cgalmesh.halfedge(face));
int i = 0;

View File

@ -16,6 +16,7 @@ let
]; ];
sha256 = "sha256-v0q2MhySayij7+qBTE5q01IOq/DyUcWnjpbzB/AV34c="; sha256 = "sha256-v0q2MhySayij7+qBTE5q01IOq/DyUcWnjpbzB/AV34c=";
}) })
./meshboolean-const.patch
]; ];
versions = { versions = {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "revanced-cli"; pname = "revanced-cli";
version = "4.5.0"; version = "4.6.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/revanced/revanced-cli/releases/download/v${version}/revanced-cli-${version}-all.jar"; url = "https://github.com/revanced/revanced-cli/releases/download/v${version}/revanced-cli-${version}-all.jar";
hash = "sha256-I25SmWUVJenFou1fKCd53PojoGt9FAQ7hDpEWweAICQ="; hash = "sha256-QQH7aEkfBULqAvJ0FsKFxrraFjg1m1JJnuDtyvLJXEk=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "circumflex"; pname = "circumflex";
version = "3.5"; version = "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bensadeh"; owner = "bensadeh";
repo = "circumflex"; repo = "circumflex";
rev = version; rev = version;
hash = "sha256-w5QdFvF+kIxt27rg/uXjd+G0Dls7oYhmFew+O2NoaVg="; hash = "sha256-FzJUmF2X4Iyf83cIEa8b8EFCcWUyYEZBVyvXuhiaaWM=";
}; };
vendorHash = "sha256-F9mzGP5b9dcmnT6TvjjbRq/isk1o8vM/5yxWUaZrnaw="; vendorHash = "sha256-x/NgcodS/hirXJHxBHeUP9MgOBHq1yQWHprMrlpqsas=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kubefirst"; pname = "kubefirst";
version = "2.4.2"; version = "2.4.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubefirst"; owner = "kubefirst";
repo = "kubefirst"; repo = "kubefirst";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-fw2DmgAiCsEw5lkeZOiU5ptAFb13BDTx09Js6IO28Ww="; hash = "sha256-wxIXXCB7+s3RfDjSxwlp0BBTZMb/9GFZ7cYm7L471U8=";
}; };
vendorHash = "sha256-ZcZl4knlyKAwTsiyZvlkN5e2ox30B5aNzutI/2UEE9U="; vendorHash = "sha256-ZcZl4knlyKAwTsiyZvlkN5e2ox30B5aNzutI/2UEE9U=";

View File

@ -20,13 +20,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "abaddon"; pname = "abaddon";
version = "0.1.14"; version = "0.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "uowuo"; owner = "uowuo";
repo = "abaddon"; repo = "abaddon";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Amp6PkQWd4PnwUL29fzGETLuQXVEaARr+jIRlfrxTKc="; hash = "sha256-Gl4BI+bkYuc5RtClfTth+WQ4EVYCWn0xnFOaQpS7yq0=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -11,11 +11,11 @@
}: }:
let let
pname = "beeper"; pname = "beeper";
version = "3.101.24"; version = "3.102.10";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.101.24-build-240322frr3t3orv-x86_64.AppImage"; url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.102.10-build-2403272qaonqz6e-x86_64.AppImage";
hash = "sha256-yfkWvPYQhI8cfXfmmyi2LoSro1jxJRWy9phycv5TUL8="; hash = "sha256-rI9gUfFX5nffSawTKPII/gXE+FkzGDE18/ByGiJu8CU=";
}; };
appimage = appimageTools.wrapType2 { appimage = appimageTools.wrapType2 {
inherit version pname src; inherit version pname src;

View File

@ -53,6 +53,13 @@ stdenv.mkDerivation rec {
# algorithm soon, disable this test for now. # algorithm soon, disable this test for now.
# https://github.com/sagemath/sage/issues/34575 # https://github.com/sagemath/sage/issues/34575
./patches/disable-slow-glpk-test.patch ./patches/disable-slow-glpk-test.patch
# https://github.com/sagemath/sage/pull/37489, landed in 10.4.beta1
(fetchpatch {
name = "quaternionalgebra-random-failure.patch";
url = "https://github.com/sagemath/sage/commit/1c3f991b9d3c5778e409e5414c6cfcd456113f19.diff";
hash = "sha256-uCXchYx26DdxTjR1k2748KCEHPnekKS2fAM7SpyhNvM=";
})
]; ];
# Patches needed because of package updates. We could just pin the versions of # Patches needed because of package updates. We could just pin the versions of

View File

@ -12,13 +12,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "media-downloader"; pname = "media-downloader";
version = "4.4.0"; version = "4.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mhogomchungu"; owner = "mhogomchungu";
repo = "media-downloader"; repo = "media-downloader";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-/W0SkKe9rcwf8HBIEcdJCPdZEnx9eh+twBu9wa6Sq30="; hash = "sha256-n+eQjjjdZhvXFSw5D/UQhyBMSZstfI/JixiEVhmQwXs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -30,7 +30,8 @@ wrapDotnetProgram() {
dotnetFixupHook() { dotnetFixupHook() {
echo "Executing dotnetFixupPhase" echo "Executing dotnetFixupPhase"
if [ "${executables-}" ]; then # check if executables is declared (including empty values, in which case we generate no executables)
if declare -p executables &>/dev/null; then
for executable in ${executables[@]}; do for executable in ${executables[@]}; do
path="${installPath-$out/lib/$pname}/$executable" path="${installPath-$out/lib/$pname}/$executable"

3544
pkgs/by-name/co/coppwr/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,77 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libxkbcommon
, pipewire
, stdenv
, libGL
, wayland
, xorg
}:
rustPlatform.buildRustPackage rec {
pname = "coppwr";
version = "1.5.1";
src = fetchFromGitHub {
owner = "dimtpap";
repo = "coppwr";
rev = version;
hash = "sha256-azho/SVGEdHXt/t6VSA0NVVfhxK9bxy4Ud68faFh5zo=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"egui_node_graph-0.4.0" = "sha256-VJvALtPP/vPZQ4KLWu8diFar9vuVkbeD65Em6rod8ww=";
"libspa-0.7.2" = "sha256-0TGhxHL1mkktE263ln3jnPZRkXS6+C3aPUBg86J25oM=";
};
};
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs = [
libxkbcommon
pipewire
libGL
wayland
xorg.libXcursor
xorg.libXi
xorg.libXrandr
xorg.libX11
];
preBuild = ''
mkdir -p $out/share/{applications,icons/hicolor/scalable/apps,metainfo}
install -m 444 \
-D $src/assets/io.github.dimtpap.coppwr.desktop \
-t $out/share/applications
install -m 444 \
-D $src/assets/io.github.dimtpap.coppwr.metainfo.xml \
-t $out/share/metainfo
cp $src/assets/icon/scalable.svg $out/share/icons/hicolor/scalable/apps/io.github.dimtpap.coppwr.svg
for size in 32 48 64 128 256 512; do
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
cp $src/assets/icon/"$size".png $out/share/icons/hicolor/"$size"x"$size"/apps/io.github.dimtpap.coppwr.png
done
'';
postFixup = ''
patchelf $out/bin/${pname} \
--add-rpath ${lib.makeLibraryPath [ libGL libxkbcommon wayland ]}
'';
meta = with lib; {
description = "Low level control GUI for the PipeWire multimedia server";
homepage = "https://github.com/dimtpap/coppwr";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ravenz46 ];
platforms = platforms.linux;
mainProgram = "coppwr";
};
}

View File

@ -6,18 +6,18 @@
buildGoModule rec { buildGoModule rec {
pname = "crawley"; pname = "crawley";
version = "1.7.3"; version = "1.7.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "s0rg"; owner = "s0rg";
repo = "crawley"; repo = "crawley";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-sLeQl0/FY0NBfyhIyjcFqvI5JA1GSAfe7s2XrOjLZEY="; hash = "sha256-WV9r+Oz6wMZtSl7YbeuHRaVLCtLGlJXHk/WVLIA85Mc=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
vendorHash = "sha256-fOy4jYF01MoWFS/SecXhlO2+BTYzR5eRm55rp+YNUuU="; vendorHash = "sha256-2XF/oqqArvppuppA8kdr3WnUAvaJs39ohHzHBR+Xz/4=";
ldflags = [ "-w" "-s" ]; ldflags = [ "-w" "-s" ];

View File

@ -2,9 +2,9 @@
buildDotnetGlobalTool { buildDotnetGlobalTool {
pname = "fantomas"; pname = "fantomas";
version = "6.3.0"; version = "6.3.1";
nugetSha256 = "sha256-PWiyzkiDL8LBE/fwClS0d6PrE0D5pKYYZiMDZmyk9Y0="; nugetSha256 = "sha256-mPuY2OwVK6dLtI+L8SIK5i7545VQ0ChhUPdQwBlvcE4=";
meta = with lib; { meta = with lib; {
description = "F# source code formatter"; description = "F# source code formatter";

View File

@ -0,0 +1,41 @@
{ lib
, fetchFromGitHub
, stdenvNoCC
, makeWrapper
, fzf
, coreutils
, bat
}:
stdenvNoCC.mkDerivation rec {
pname = "gh-f";
version = "1.1.5";
src = fetchFromGitHub {
owner = "gennaro-tedesco";
repo = "gh-f";
rev = "v${version}";
hash = "sha256-ITl8T8Oe21m047ygFlxWVjzUYPG4rlcTjfSpsropYJw=";
};
nativeBuildInputs = [
makeWrapper
];
installPhase = ''
install -D -m755 "gh-f" "$out/bin/gh-f"
'';
postFixup = ''
wrapProgram "$out/bin/gh-f" --prefix PATH : "${lib.makeBinPath [fzf bat coreutils]}"
'';
meta = with lib; {
homepage = "https://github.com/gennaro-tedesco/gh-f";
description = "GitHub CLI ultimate FZF extension";
maintainers = with maintainers; [ loicreynier ];
license = licenses.unlicense;
mainProgram = "gh-f";
platforms = platforms.all;
};
}

View File

@ -7,16 +7,16 @@
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "jnv"; pname = "jnv";
version = "0.1.3"; version = "0.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ynqa"; owner = "ynqa";
repo = "jnv"; repo = "jnv";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-szPMbcR6fg9mgJ0oE07aYTJZHJKbguK3IFKhuV0D/rI="; hash = "sha256-CdpEo8hnO61I2Aocfd3nka81FTDPRguwxxcemzH+zcc=";
}; };
cargoHash = "sha256-vEyWawtWT/8GntlEUyrtBRXPcjgMg9oYemGzHSg50Hg="; cargoHash = "sha256-KF15Y2VrFJ7p5ut5cR80agaJ7bM9U9Ikcz1Ux8Ah138=";
nativeBuildInputs = [ nativeBuildInputs = [
autoconf autoconf

View File

@ -2,7 +2,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pyprland"; pname = "pyprland";
version = "2.0.9"; version = "2.1.1";
format = "pyproject"; format = "pyproject";
disabled = python3Packages.pythonOlder "3.10"; disabled = python3Packages.pythonOlder "3.10";
@ -11,7 +11,7 @@ python3Packages.buildPythonApplication rec {
owner = "hyprland-community"; owner = "hyprland-community";
repo = "pyprland"; repo = "pyprland";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-dfE4KQguLp9DEWOuCtNDw8TA3sK9vEqU4VqAVlVaUvw="; hash = "sha256-S1kNA70kxLK4ZdhJDXp1RhKsGVTS0k9wLxAtndv/iCo=";
}; };
nativeBuildInputs = with python3Packages; [ poetry-core ]; nativeBuildInputs = with python3Packages; [ poetry-core ];

View File

@ -8,16 +8,16 @@
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wayland-pipewire-idle-inhibit"; pname = "wayland-pipewire-idle-inhibit";
version = "0.5.0"; version = "0.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rafaelrc7"; owner = "rafaelrc7";
repo = "wayland-pipewire-idle-inhibit"; repo = "wayland-pipewire-idle-inhibit";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-pHTIzcmvB66Jwbkl8LtoYVP8+mRiUwT3D29onLdx+gM="; sha256 = "sha256-2akYbnQnJ0wb51S3bwrm3/EiZydxbwkfuSfsiTvtNz8=";
}; };
cargoHash = "sha256-7RNYA0OqKV2p3pOTsehEQSvVHH/hoJA733S0u7x06Fc="; cargoHash = "sha256-C4cispJN2OQRBQiW+H36B8ETNn1oukgdELRVk7V7BQU=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View File

@ -5,11 +5,11 @@
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dbip-country-lite"; pname = "dbip-country-lite";
version = "2024-03"; version = "2024-04";
src = fetchurl { src = fetchurl {
url = "https://download.db-ip.com/free/dbip-country-lite-${finalAttrs.version}.mmdb.gz"; url = "https://download.db-ip.com/free/dbip-country-lite-${finalAttrs.version}.mmdb.gz";
hash = "sha256-pWlNmM7CCiIS1GRRX5GRWNOF5tOwPPTytgc7V2+l3LE="; hash = "sha256-tpiggDnhYPeLJ21mctXjbNSS2Gw4RI8gnpc1stDVmMc=";
}; };
dontUnpack = true; dontUnpack = true;

View File

@ -24,13 +24,13 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "openshadinglanguage"; pname = "openshadinglanguage";
version = "1.13.7.0"; version = "1.13.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AcademySoftwareFoundation"; owner = "AcademySoftwareFoundation";
repo = "OpenShadingLanguage"; repo = "OpenShadingLanguage";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-M8B5lnLEnWu0PQx4BKidFHXm4+Xs26EaD2caOA+bZ1k="; hash = "sha256-AixN3cj6r/PUGvAhVN4wGfpuLiBt5LglgJp68hFfJMo=";
}; };
cmakeFlags = [ cmakeFlags = [

View File

@ -111,15 +111,7 @@ in {
}; };
libressl_3_8 = generic { libressl_3_8 = generic {
version = "3.8.3"; version = "3.8.4";
hash = "sha256-pl9A4+9uPJRRyDGObyxFTDZ+Z/CcDN4YSXMaTW7McnI="; hash = "sha256-wM75z+F0rDZs5IL1Qv3bB3Ief6DK+s40tJqHIPo3/n0=";
patches = [
(fetchpatch {
name = "libtls-pkg-config-static.patch";
url = "https://github.com/libressl/portable/commit/f7a0f40d52b994d0bca0eacd88b39f71e447c5d9.patch";
hash = "sha256-2ly6lsIdoV/riVqDViFXDP7nkZ/RUatEdiaSudQKtz0=";
})
];
}; };
} }

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "msgpack-cxx"; pname = "msgpack-cxx";
version = "6.1.0"; version = "6.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "msgpack"; owner = "msgpack";
repo = "msgpack-c"; repo = "msgpack-c";
rev = "refs/tags/cpp-${finalAttrs.version}"; rev = "refs/tags/cpp-${finalAttrs.version}";
hash = "sha256-VqzFmm3MmMhWyooOsz1d9gwwbn/fnnxpkCFwqKR6los="; hash = "sha256-m0Ki+9/nZo2b4BUT+gUtdxok5I7xQtcfnMkbG+OHsKs=";
}; };
strictDeps = true; strictDeps = true;

View File

@ -12,13 +12,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wxsqlite3"; pname = "wxsqlite3";
version = "4.9.9"; version = "4.9.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "utelle"; owner = "utelle";
repo = "wxsqlite3"; repo = "wxsqlite3";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-YvQEAqiXwooCxUIZbIYhccbpVjYeFIp6d3dLeUP1RpE="; hash = "sha256-L7GpDAqx7hF/PBLy6h10pAydpjaJU3JFgTZ2bJhZtG0=";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];

View File

@ -14,14 +14,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "anywidget"; pname = "anywidget";
version = "0.9.3"; version = "0.9.4";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-Coae8oretZHhb1c9i5x0Sm1nVruN89kRZSEMyeLibbg="; hash = "sha256-97nCw1PohHKW2DtY6RARk1/RlMsc1s5wajuhbY3pQxo=";
}; };
# We do not need the jupyterlab build dependency, because we do not need to # We do not need the jupyterlab build dependency, because we do not need to

View File

@ -5,23 +5,30 @@
, pyct , pyct
, pytest-mpl , pytest-mpl
, pytestCheckHook , pytestCheckHook
, setuptools
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "colorcet"; pname = "colorcet";
version = "3.1.0"; version = "3.1.0";
format = "setuptools"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-KSGzzYGiKIqvLWPbwM48JtzYgujDicxQXWiGv3qppOs="; hash = "sha256-KSGzzYGiKIqvLWPbwM48JtzYgujDicxQXWiGv3qppOs=";
}; };
propagatedBuildInputs = [ dependencies = [
param param
pyct pyct
]; ];
build-system = [
setuptools-scm
setuptools
];
nativeCheckInputs = [ nativeCheckInputs = [
pytest-mpl pytest-mpl
pytestCheckHook pytestCheckHook

View File

@ -2,18 +2,14 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, django , django
, freezegun
, psycopg2
, pytest-django
, pytestCheckHook
, pythonOlder , pythonOlder
, setuptools-scm , setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-model-utils"; pname = "django-model-utils";
version = "4.4.0"; version = "4.5.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,29 +17,24 @@ buildPythonPackage rec {
owner = "jazzband"; owner = "jazzband";
repo = "django-model-utils"; repo = "django-model-utils";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-/9gLovZGUwdoz3o3LZBfQ7iWr95cpTWq2YqFKoQC9kY="; hash = "sha256-ZEnDk4kCXyhLvq3CZTK/zP3IK6BsNRqbkfqKAuU6Mfk=";
}; };
nativeBuildInputs = [ build-system = [
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
django django
]; ];
# requires postgres database # Test requires postgres database
doCheck = false; doCheck = false;
nativeCheckInputs = [ pythonImportsCheck = [
freezegun "model_utils"
psycopg2
pytest-django
pytestCheckHook
]; ];
pythonImportsCheck = [ "model_utils" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/jazzband/django-model-utils"; homepage = "https://github.com/jazzband/django-model-utils";
description = "Django model mixins and utilities"; description = "Django model mixins and utilities";

View File

@ -16,7 +16,7 @@ in
buildPythonPackage rec { buildPythonPackage rec {
pname = "dnf4"; pname = "dnf4";
version = "4.19.0"; version = "4.19.2";
format = "other"; format = "other";
outputs = [ "out" "man" "py" ]; outputs = [ "out" "man" "py" ];
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "rpm-software-management"; owner = "rpm-software-management";
repo = "dnf"; repo = "dnf";
rev = version; rev = version;
hash = "sha256-LY2D3A3la58/8V2zKqPZWbR5iAMkrsG36gP8EvwANaA="; hash = "sha256-2voBauWXPoHWBt58vZfgpO1oWBDDZ+DvWN6jb5qOzFg=";
}; };
patches = [ patches = [
@ -79,7 +79,8 @@ buildPythonPackage rec {
ln -s dnf-${pyMajor} $out/bin/yum ln -s dnf-${pyMajor} $out/bin/yum
mkdir -p $out/share/bash-completion/completions mkdir -p $out/share/bash-completion/completions
mv $out/etc/bash_completion.d/dnf $out/share/bash-completion/completions/dnf mv $out/etc/bash_completion.d/dnf-3 $out/share/bash-completion/completions/dnf4
ln -s $out/share/bash-completion/completions/dnf4 $out/share/bash-completion/completions/dnf
rm -r $out/etc/bash_completion.d rm -r $out/etc/bash_completion.d
''; '';

View File

@ -8,12 +8,12 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "gekko"; pname = "gekko";
version = "1.0.7"; version = "1.1.0";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-MXoxrejg+QJgajFv8DgZw44NeJuTHNBBK/lsWgmymJY="; hash = "sha256-dImIf5zR6SCztgrFbaRrz4nLl1ZzJIyPLDNGIVLoOdg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -23,22 +23,27 @@
, python-dateutil , python-dateutil
, pythonOlder , pythonOlder
, requests , requests
, setuptools
, tqdm , tqdm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigquery"; pname = "google-cloud-bigquery";
version = "3.19.0"; version = "3.20.1";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-jjEdrkl2jhUB/NxekWv/S34WlHHlcHkZ9Kb3igKztaY="; hash = "sha256-MYqjq6tfGQDuJPY7qL0Cuc2vqpQtc4tNwUpO8swtkl8=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
grpcio grpcio
google-api-core google-api-core
google-cloud-core google-cloud-core

View File

@ -7,21 +7,26 @@
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-org-policy"; pname = "google-cloud-org-policy";
version = "1.10.0"; version = "1.11.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-PnJ01fMsTaUupgaI1W5mIn39hA3NAVGGdLywVDcTDRY="; hash = "sha256-3BJDTwbIDhscHDR8rcjLQP/JYZrktcW+tcK9WFyV2X8=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
google-api-core google-api-core
proto-plus proto-plus
protobuf protobuf

View File

@ -5,23 +5,28 @@
, bottle , bottle
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "m3u8"; pname = "m3u8";
version = "4.0.0"; version = "4.1.0";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "globocom"; owner = "globocom";
repo = pname; repo = "m3u8";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-sxLT3a9f38RZqzEzqyZos3G38vzHPzhMexfBN2qzbxQ="; hash = "sha256-vH5y/fk9dW8w54U3o+70enbTOubV4V0/NVbSSqOY9rQ=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
iso8601 iso8601
]; ];
@ -45,7 +50,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python m3u8 parser"; description = "Python m3u8 parser";
homepage = "https://github.com/globocom/m3u8"; homepage = "https://github.com/globocom/m3u8";
changelog = "https://github.com/globocom/m3u8/releases/tag//${version}"; changelog = "https://github.com/globocom/m3u8/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ Scriptkiddi ]; maintainers = with maintainers; [ Scriptkiddi ];
}; };

View File

@ -5,20 +5,22 @@
, argcomplete , argcomplete
, colorama , colorama
, halo , halo
, spinners
, types-colorama
, nose2 , nose2
, semver , semver
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "milc"; pname = "milc";
version = "1.4.2"; version = "1.8.0";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "clueboard"; owner = "clueboard";
repo = "milc"; repo = "milc";
rev = version; rev = version;
hash = "sha256-aX6cTpIN9+9xuEGYHVlM5SjTPLcudJFEuOI4CiN3byE="; hash = "sha256-DUA79R/pf/arG4diJKaJTSLNdB4E0XnS4NULlqP4h/M=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -26,6 +28,8 @@ buildPythonPackage rec {
argcomplete argcomplete
colorama colorama
halo halo
spinners
types-colorama
]; ];
nativeCheckInputs = [ nativeCheckInputs = [

View File

@ -25,7 +25,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-socketio"; pname = "python-socketio";
version = "5.11.1"; version = "5.11.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "miguelgrinberg"; owner = "miguelgrinberg";
repo = "python-socketio"; repo = "python-socketio";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-miIl/+3JtjtoQaS6Jy0M9lPQJQp3VlpvrO5Hqlrq5JM="; hash = "sha256-t5QbuXjipLaf9GV+N5FLq45xJPK2/FUaM/0s8RNPTzo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tencentcloud-sdk-python"; pname = "tencentcloud-sdk-python";
version = "3.0.1119"; version = "3.0.1121";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "TencentCloud"; owner = "TencentCloud";
repo = "tencentcloud-sdk-python"; repo = "tencentcloud-sdk-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-F/aghPj/4xh06z+PTHSd/J7ImwouDd59/Cry2Zq13Jg="; hash = "sha256-McSF0s6ACEDSrfOBCBVT2yEoUmKKeYiPoQpLoc5hHDU=";
}; };
build-system = [ build-system = [

View File

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tplink-omada-client"; pname = "tplink-omada-client";
version = "1.3.13"; version = "1.4.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "tplink_omada_client"; pname = "tplink_omada_client";
inherit version; inherit version;
hash = "sha256-hienEkaqy16HmeF1z8MslGb4es7OAvhh1XRTen/Q08c="; hash = "sha256-P7kb8gzPjRwl6KpKbh/k7QqjGU6m+HVBbMCuoabG+5M=";
}; };
build-system = [ build-system = [

View File

@ -1,21 +1,21 @@
{ {
"version": "1.2.0", "version": "1.2.1",
"assets": { "assets": {
"aarch64-darwin": { "aarch64-darwin": {
"asset": "scala-cli-aarch64-apple-darwin.gz", "asset": "scala-cli-aarch64-apple-darwin.gz",
"sha256": "1d9r45k9j7hniik5f6x9ym4lhkk6f1hs5rlxngsjb9v19jaik1nw" "sha256": "1cbsl8s57c2f5bg75gyzh4i4mbalf2clzyw529fgzv4q1zdm5wix"
}, },
"aarch64-linux": { "aarch64-linux": {
"asset": "scala-cli-aarch64-pc-linux.gz", "asset": "scala-cli-aarch64-pc-linux.gz",
"sha256": "0rvw4ahcq546nxcrkm16b9bra4398d3glgj3911bpp1zbyhzihz0" "sha256": "00128rslq81wlz4ykarlzzbdw4w2cshhsx3qpir3g34cnmqp68h1"
}, },
"x86_64-darwin": { "x86_64-darwin": {
"asset": "scala-cli-x86_64-apple-darwin.gz", "asset": "scala-cli-x86_64-apple-darwin.gz",
"sha256": "1z3rgsny3fk3jqzqkyggvjx4ha1xj3v0f2ascd8a2qkxhzr6gl77" "sha256": "1yk6fqvzh84ikxdm4rkcgpzyn2giq3qxrh3bgp96vip5jklb0d8k"
}, },
"x86_64-linux": { "x86_64-linux": {
"asset": "scala-cli-x86_64-pc-linux.gz", "asset": "scala-cli-x86_64-pc-linux.gz",
"sha256": "00vgp421967iyz13rhfhfbq6xqc2g17grm4vabh9dzb5rmrpga8g" "sha256": "0k06vmkirrxbn7rlf03bxadx0gmx9jgx8rj2kdngma30mi9lpdjz"
} }
} }
} }

View File

@ -17,13 +17,13 @@
buildGoModule rec { buildGoModule rec {
pname = "buildah"; pname = "buildah";
version = "1.35.1"; version = "1.35.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = "buildah"; repo = "buildah";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Jow4A0deh6Y54KID9uLsIjBSgH5NWmR82IH7m56Y990="; hash = "sha256-FqgYpCvEEqgnhCHdHN1/inxMJoOjoHLc/xMfhXsA1nc=";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];

View File

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "doctl"; pname = "doctl";
version = "1.104.0"; version = "1.105.0";
vendorHash = null; vendorHash = null;
@ -31,7 +31,7 @@ buildGoModule rec {
owner = "digitalocean"; owner = "digitalocean";
repo = "doctl"; repo = "doctl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Ww2tQi6ldRP142AIhLpwWNH4l9DCvUrMSZXCzPrxkxg="; sha256 = "sha256-b7pks3a2ApR32tc06HZ9hG2MoZKVoWwCBATtcV1+WBo=";
}; };
meta = with lib; { meta = with lib; {

View File

@ -1,17 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec { buildGoModule rec {
pname = "fx"; pname = "fx";
version = "32.0.0"; version = "34.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "antonmedv"; owner = "antonmedv";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-AbMm/vXt/s/evTxB2oE/6qGbfNtNXVSiYj4n4261iNk="; hash = "sha256-gVeeCJOqrEua5quID1n1928oHtP9gfIDe4erVn1y2Eo=";
}; };
vendorHash = "sha256-fnWjeQo5370ofFRQRmUnqvj2vutcZcnKar+/sTS2mJw="; nativeBuildInputs = [ installShellFiles ];
vendorHash = "sha256-otORAeD9+J6/10TDusEnFfRRxTb/52Zk7Ttaw46xnsU=/sTS1mJw=";
postInstall = ''
installShellCompletion --cmd fx \
--bash <($out/bin/fx --comp bash) \
--fish <($out/bin/fx --comp fish) \
--zsh <($out/bin/fx --comp zsh)
'';
meta = with lib; { meta = with lib; {
description = "Terminal JSON viewer"; description = "Terminal JSON viewer";

View File

@ -5,16 +5,16 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "gci"; pname = "gci";
version = "0.13.1"; version = "0.13.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "daixiang0"; owner = "daixiang0";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-02dJ8qiQqUojAlpAQOI/or37nrwgE7phJCMDWr+LI8s="; sha256 = "sha256-Wh6vkyfubgEHKjGjaICktRZiCYy8Cn1zMQMrQWEqQ/k=";
}; };
vendorHash = "sha256-7SXTMzc59f9JEyud0UuSkMdqBig5xb4FM5qSamBPMJQ="; vendorHash = "sha256-/8fggERlHySyimrGOHkDERbCPZJWqojycaifNPF6MjE=";
meta = with lib; { meta = with lib; {
description = "Controls golang package import order and makes it always deterministic"; description = "Controls golang package import order and makes it always deterministic";

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "google-java-format"; pname = "google-java-format";
version = "1.21.0"; version = "1.22.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/google/google-java-format/releases/download/v${version}/google-java-format-${version}-all-deps.jar"; url = "https://github.com/google/google-java-format/releases/download/v${version}/google-java-format-${version}-all-deps.jar";
sha256 = "sha256-Hmn4tjw5pRJKjvt7rSE+uawDlEM565WAriELDGBWXZs="; sha256 = "sha256-FrKh7pOGhsix2Iq/GeuD39DWI87p3m/G0JmAIU+BbT8=";
}; };
dontUnpack = true; dontUnpack = true;

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "jql"; pname = "jql";
version = "7.1.6"; version = "7.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "yamafaktory"; owner = "yamafaktory";
repo = pname; repo = pname;
rev = "jql-v${version}"; rev = "jql-v${version}";
hash = "sha256-xYPJG5wuBv1APMDG0mqO1ZvNctp1HA7Z26dVXfAKfco="; hash = "sha256-Yl3eWwk5Nc52I3bUjdT6QdwC65cKY0EVKNaDfJenwx0=";
}; };
cargoHash = "sha256-kNDHT2DgeesnDmiXaXHN+DBXc/Pg5ZKRNJxHL6NA6GM="; cargoHash = "sha256-u0DqjHJv1GyoCIovCUR+gjkb9h48CbJd6saxeQFaL2A=";
meta = with lib; { meta = with lib; {
description = "A JSON Query Language CLI tool built with Rust"; description = "A JSON Query Language CLI tool built with Rust";

View File

@ -9,16 +9,16 @@
buildGoModule rec { buildGoModule rec {
pname = "supabase-cli"; pname = "supabase-cli";
version = "1.151.1"; version = "1.153.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "supabase"; owner = "supabase";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-5dEjBjZvq0YfCGm+kb3Nyt2vcMTNlyReda8KQ8ghIuE="; hash = "sha256-fUSq8vbKLcWkh3y3jD6wXYjxLVorbGnw9dYLazzlJTE=";
}; };
vendorHash = "sha256-DSbnPR++62ha4WCiJPTo27Rxu9nZu901IMFE7yiRShs="; vendorHash = "sha256-9GlbpbWBYGNYnWqKXqjf6mYpgMOOYXRvCKwd7VpCsyM=";
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -298,6 +298,14 @@ in {
''; '';
}; };
ubootNanoPCT6 = buildUBoot {
defconfig = "nanopc-t6-rk3588_defconfig";
extraMeta.platforms = ["aarch64-linux"];
BL31 = "${armTrustedFirmwareRK3588}/bl31.elf";
ROCKCHIP_TPL = rkbin.TPL_RK3588;
filesToInstall = [ "u-boot.itb" "idbloader.img" "u-boot-rockchip.bin" ];
};
ubootNovena = buildUBoot { ubootNovena = buildUBoot {
defconfig = "novena_defconfig"; defconfig = "novena_defconfig";
extraMeta.platforms = ["armv7l-linux"]; extraMeta.platforms = ["armv7l-linux"];
@ -531,6 +539,13 @@ in {
filesToInstall = ["u-boot.bin"]; filesToInstall = ["u-boot.bin"];
}; };
ubootRock4CPlus = buildUBoot {
defconfig = "rock-4c-plus-rk3399_defconfig";
extraMeta.platforms = [ "aarch64-linux" ];
BL31 = "${armTrustedFirmwareRK3399}/bl31.elf";
filesToInstall = [ "u-boot.itb" "idbloader.img" ];
};
ubootRock5ModelB = buildUBoot { ubootRock5ModelB = buildUBoot {
defconfig = "rock5b-rk3588_defconfig"; defconfig = "rock5b-rk3588_defconfig";
extraMeta.platforms = ["aarch64-linux"]; extraMeta.platforms = ["aarch64-linux"];

View File

@ -559,11 +559,16 @@ if [ "$action" = repl ]; then
blue="$(echo -e '\033[34;1m')" blue="$(echo -e '\033[34;1m')"
attention="$(echo -e '\033[35;1m')" attention="$(echo -e '\033[35;1m')"
reset="$(echo -e '\033[0m')" reset="$(echo -e '\033[0m')"
if [[ -e $flake ]]; then
flakePath=$(realpath "$flake")
else
flakePath=$flake
fi
# This nix repl invocation is impure, because usually the flakeref is. # This nix repl invocation is impure, because usually the flakeref is.
# For a solution that preserves the motd and custom scope, we need # For a solution that preserves the motd and custom scope, we need
# something like https://github.com/NixOS/nix/issues/8679. # something like https://github.com/NixOS/nix/issues/8679.
exec nix repl --impure --expr " exec nix repl --impure --expr "
let flake = builtins.getFlake ''$flake''; let flake = builtins.getFlake ''$flakePath'';
configuration = flake.$flakeAttr; configuration = flake.$flakeAttr;
motd = '' motd = ''
$d{$q\n$q} $d{$q\n$q}

View File

@ -113,7 +113,7 @@ runCommand "test-nixos-rebuild-repl" {
# cat -n ~/flake.nix # cat -n ~/flake.nix
expect ${writeText "test-nixos-rebuild-repl-expect" '' expect ${writeText "test-nixos-rebuild-repl-absolute-path-expect" ''
${expectSetup} ${expectSetup}
spawn sh -c "nixos-rebuild repl --fast --flake path:\$HOME#testconf" spawn sh -c "nixos-rebuild repl --fast --flake path:\$HOME#testconf"
@ -138,6 +138,19 @@ runCommand "test-nixos-rebuild-repl" {
send "lib?nixos\n" send "lib?nixos\n"
expect_simple "true" expect_simple "true"
''} ''}
pushd "$HOME"
expect ${writeText "test-nixos-rebuild-repl-relative-path-expect" ''
${expectSetup}
spawn sh -c "nixos-rebuild repl --fast --flake .#testconf"
expect_simple "nix-repl>"
send "config.networking.hostName\n"
expect_simple "itsme"
''}
popd
echo echo
######### #########

View File

@ -3,11 +3,10 @@
set -x -eu -o pipefail set -x -eu -o pipefail
ETCD_VERSION_MAJOR_MINOR=`basename "$PWD"` ETCD_PATH="$(dirname "$0")"
ETCD_VERSION_MAJOR_MINOR="$(basename $ETCD_PATH)"
ETCD_PKG_NAME=etcd_$(echo $ETCD_VERSION_MAJOR_MINOR | sed 's/[.]/_/g') ETCD_PKG_NAME=etcd_$(echo $ETCD_VERSION_MAJOR_MINOR | sed 's/[.]/_/g')
NIXPKGS_PATH="$(git rev-parse --show-toplevel)" NIXPKGS_PATH="$(git rev-parse --show-toplevel)"
ETCD_PATH="$(dirname "$0")"
OLD_VERSION="$(nix-instantiate --eval -E "with import $NIXPKGS_PATH {}; \ OLD_VERSION="$(nix-instantiate --eval -E "with import $NIXPKGS_PATH {}; \
$ETCD_PKG_NAME.version or (builtins.parseDrvName $ETCD_PKG_NAME.name).version" | tr -d '"')" $ETCD_PKG_NAME.version or (builtins.parseDrvName $ETCD_PKG_NAME.name).version" | tr -d '"')"

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "klipper"; pname = "klipper";
version = "unstable-2024-03-19"; version = "unstable-2024-03-25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "KevinOConnor"; owner = "KevinOConnor";
repo = "klipper"; repo = "klipper";
rev = "235b75be3c287a9fdcde54b347734bf6a8de2ade"; rev = "e37b007f67e5bdc330af45b78643f7789c789907";
sha256 = "sha256-PTdLhoKTlvrTljAvrK8q/JF9w50kKJHkWrzdPPaSfCc="; sha256 = "sha256-3IkSU8RXyM8WcrEty2+rGn+K386Pi234n2LCdVi8OkI=";
}; };
sourceRoot = "${src.name}/klippy"; sourceRoot = "${src.name}/klippy";

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "pocketbase"; pname = "pocketbase";
version = "0.22.6"; version = "0.22.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pocketbase"; owner = "pocketbase";
repo = "pocketbase"; repo = "pocketbase";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-TbbfTPLV5R/XfKBxvjico2119iXJTh/9Grc9QfzeTDo="; hash = "sha256-E3xfVyZsUElgv6O8UorGJcWQtg2Xpx0ZUTjzc7LJqjM=";
}; };
vendorHash = "sha256-RSeYA8cmwj5OzgXBgU2zuOTwmEofmm3YRDSc/bKGBGk="; vendorHash = "sha256-6M+FZiVGtBCxtj8Y/OIpNaU/TKMZtpOsI4OS6W+cRfM=";
# This is the released subpackage from upstream repo # This is the released subpackage from upstream repo
subPackages = [ "examples/base" ]; subPackages = [ "examples/base" ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jitsi-meet"; pname = "jitsi-meet";
version = "1.0.7790"; version = "1.0.7874";
src = fetchurl { src = fetchurl {
url = "https://download.jitsi.org/jitsi-meet/src/jitsi-meet-${version}.tar.bz2"; url = "https://download.jitsi.org/jitsi-meet/src/jitsi-meet-${version}.tar.bz2";
sha256 = "qW3Zcrq+a1I5LABUc4uhr58E7Ig8SmrJVNdjLs0l0io="; sha256 = "LP37K5xuvWvSiJrRmgRuRA60N7ll2m7mYUge8jZZt/c=";
}; };
dontBuild = true; dontBuild = true;

View File

@ -7,12 +7,12 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "gigalixir"; pname = "gigalixir";
version = "1.10.0"; version = "1.11.1";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-yIf8a54vA/1q5qhaWsrrROB1IB7X5f/KMoryPew4tAI="; hash = "sha256-fWS13qyYwJUz42nDxWJCzYmZI2jLsD7gwxyIdKhpDbM=";
}; };
postPatch = '' postPatch = ''

View File

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "mapcidr"; pname = "mapcidr";
version = "1.1.16"; version = "1.1.34";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "projectdiscovery"; owner = "projectdiscovery";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-O0HVlrLOz4+hxhf/BTSZs0qDCbYokbzmg5KbzUD1UHg="; hash = "sha256-/bZ6LimkdbR7nG7XcetNshk0KXw1FGbuaTXP+DH7hQg=";
}; };
vendorHash = "sha256-j/3Z2KxbybJoE6/PXkwMLivzmTnZSi7tgO8IQKCoaEQ="; vendorHash = "sha256-tbMCXNBND9jc0C1bA9Rmz1stYKtJPmMzTlbGc3vcmE4=";
modRoot = "."; modRoot = ".";
subPackages = [ subPackages = [

View File

@ -13,12 +13,12 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "qmk"; pname = "qmk";
version = "1.1.2"; version = "1.1.5";
format = "pyproject"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-+HH4jxoMoxujGgCdcWQX5GvFOKT4347eaoAckHbCKZg="; hash = "sha256-Lv48dSIwxrokuHGcO26FpWRL+PfQ3SN3V+2pt7fmCxE=";
}; };
nativeBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3.pkgs; [

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "tailspin"; pname = "tailspin";
version = "3.0.0"; version = "3.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bensadeh"; owner = "bensadeh";
repo = "tailspin"; repo = "tailspin";
rev = version; rev = version;
hash = "sha256-cZG4Yu//MKLkQeGP7q+8O0Iy72iyyxfOERsS6kzT7ts="; hash = "sha256-Aqm7Nt+rAu8A2216JCuID1eIpWSdKpoKjILYovr7bYw=";
}; };
cargoHash = "sha256-rOKJAmqL58UHuG6X5fcQ4UEw2U3g81lKftmFeKy25+w="; cargoHash = "sha256-uTUowYoLEywGNzPyxq53Si5GSrh/F9kUFIDjw/wfdAQ=";
meta = with lib; { meta = with lib; {
description = "A log file highlighter"; description = "A log file highlighter";

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, perl, gettext, pkg-config, libidn2, libiconv }: { lib, stdenv, fetchFromGitHub, fetchpatch, perl, gettext, pkg-config, libidn2, libiconv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "5.5.21"; version = "5.5.22";
pname = "whois"; pname = "whois";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rfc1036"; owner = "rfc1036";
repo = "whois"; repo = "whois";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-iVt/4rxOgF1wZBy+Lnh7jR7HDk2Y7hwljt9FrFuXdHg="; hash = "sha256-5ogHgGODqEUQ5ggoevpfSmJ8GvWImm0ufjnpcbcX7rk=";
}; };
patches = [ patches = [

View File

@ -5,23 +5,28 @@
buildGoModule rec { buildGoModule rec {
pname = "cariddi"; pname = "cariddi";
version = "1.3.2"; version = "1.3.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "edoardottt"; owner = "edoardottt";
repo = pname; repo = "cariddi";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-oM4A4chSBTiCMr3bW0AvjAFlyuqvKKKY2Ji4PYRsUqA="; hash = "sha256-nApgsvHSMWmgJWyvdtBdrGt9v8YSwWiGnmrDS8vVvDw=";
}; };
vendorHash = "sha256-EeoJssX/OkIJKltANfvMirvDVmVVIe9hDj+rThKpd10="; vendorHash = "sha256-GgJyYDnlaFybf3Gu1gVcA12HkA0yUIjYEFj0G83GVGQ=";
ldflags = [
"-w"
"-s"
];
meta = with lib; { meta = with lib; {
description = "Crawler for URLs and endpoints"; description = "Crawler for URLs and endpoints";
mainProgram = "cariddi";
homepage = "https://github.com/edoardottt/cariddi"; homepage = "https://github.com/edoardottt/cariddi";
changelog = "https://github.com/edoardottt/cariddi/releases/tag/v${version}"; changelog = "https://github.com/edoardottt/cariddi/releases/tag/v${version}";
license = with licenses; [ gpl3Plus ]; license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "cariddi";
}; };
} }

View File

@ -5,18 +5,18 @@
buildGoModule rec { buildGoModule rec {
pname = "cnquery"; pname = "cnquery";
version = "10.8.4"; version = "10.9.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mondoohq"; owner = "mondoohq";
repo = "cnquery"; repo = "cnquery";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-YzoUl7dfmJpTAdJq2o8DrgRKvRoLcyIWiLUD7e7UOMk="; hash = "sha256-4oAJ55qCUaqsJJ+memW078ZuKyvHoO71XhfowEg7dpg=";
}; };
subPackages = [ "apps/cnquery" ]; subPackages = [ "apps/cnquery" ];
vendorHash = "sha256-FWPhKDndu+QNxERYc3aQCKAYiSR0BTrZOd3ZW8aG4HU="; vendorHash = "sha256-M8U6M3ejRrbQMfTh4JWYRLMQLfaDwtPiJOUEywiH6sg=";
meta = with lib; { meta = with lib; {
description = "cloud-native, graph-based asset inventory"; description = "cloud-native, graph-based asset inventory";

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "consul-template"; pname = "consul-template";
version = "0.37.3"; version = "0.37.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = "consul-template"; repo = "consul-template";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-WzI/w2hL8EDI8X6T7erIeSrxiSv3dryehCg6KyTkGj0="; hash = "sha256-uu/w3D2pLC7fYwDbi/6qgM7kPCWH3WMDz/6ySLFkzEs=";
}; };
vendorHash = "sha256-oVauzk6vZJSeub55s1cTc+brDoUYwauiMSgFuN0xCw4="; vendorHash = "sha256-oVauzk6vZJSeub55s1cTc+brDoUYwauiMSgFuN0xCw4=";

View File

@ -31,7 +31,7 @@ stdenv.mkDerivation {
# cygwin: FAIL: multibyte-white-space # cygwin: FAIL: multibyte-white-space
# freebsd: FAIL mb-non-UTF8-performance # freebsd: FAIL mb-non-UTF8-performance
# x86_64-darwin: fails 'stack-overflow' tests on Rosetta 2 emulator # x86_64-darwin: fails 'stack-overflow' tests on Rosetta 2 emulator
doCheck = !stdenv.isCygwin && !stdenv.isFreeBSD && !(stdenv.isDarwin && stdenv.hostPlatform.isx86_64); doCheck = !stdenv.isCygwin && !stdenv.isFreeBSD && !(stdenv.isDarwin && stdenv.hostPlatform.isx86_64) && !stdenv.buildPlatform.isRiscV64;
# On macOS, force use of mkdir -p, since Grep's fallback # On macOS, force use of mkdir -p, since Grep's fallback
# (./install-sh) is broken. # (./install-sh) is broken.

View File

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "govc"; pname = "govc";
version = "0.36.1"; version = "0.36.2";
subPackages = [ "govc" ]; subPackages = [ "govc" ];
@ -10,7 +10,7 @@ buildGoModule rec {
rev = "v${version}"; rev = "v${version}";
owner = "vmware"; owner = "vmware";
repo = "govmomi"; repo = "govmomi";
sha256 = "sha256-09zeE2ry5RqwT92HMe0ANclWy+tVTgeJAiQkWX8PbYs="; sha256 = "sha256-1Ap15DE+Fe76mDxrfeiVTYhur5GjZj0FzjvKDDWbhsg=";
}; };
vendorHash = "sha256-1EAQMYaTEtfAiu7+UTkC7QZwSWC1Ihwj9leTd90T0ZU="; vendorHash = "sha256-1EAQMYaTEtfAiu7+UTkC7QZwSWC1Ihwj9leTd90T0ZU=";

View File

@ -28332,6 +28332,7 @@ with pkgs;
ubootJetsonTK1 ubootJetsonTK1
ubootLibreTechCC ubootLibreTechCC
ubootNanoPCT4 ubootNanoPCT4
ubootNanoPCT6
ubootNovena ubootNovena
ubootOdroidC2 ubootOdroidC2
ubootOdroidXU3 ubootOdroidXU3
@ -28359,6 +28360,7 @@ with pkgs;
ubootRaspberryPi4_32bit ubootRaspberryPi4_32bit
ubootRaspberryPi4_64bit ubootRaspberryPi4_64bit
ubootRaspberryPiZero ubootRaspberryPiZero
ubootRock4CPlus
ubootRock5ModelB ubootRock5ModelB
ubootRock64 ubootRock64
ubootRock64v2 ubootRock64v2