Merge staging-next into staging

Changed files
+745 -1256
doc
nixos
doc
manual
release-notes
modules
programs
services
backup
home-automation
web-apps
tests
pkgs
applications
editors
misc
xygrib
networking
cluster
helmfile
radio
video
kodi
addons
visualization-projectm
mpv
scripts
by-name
ae
as
ast-grep
bl
blocky
br
broot
co
cosmic-panel
da
davis
de
der-ascii
dn
dnscontrol
en
enpass
ep
epubcheck
es
espflash
ew
fa
famistudio
fo
forgejo
forgejo-runner
gc
gh
gh-poi
go
google-chrome
gp
gpick
in
ingress2gateway
ko
komga
li
libabw
libraw
live-server
lx
lxgw-wenkai
ma
matcha-rss-digest
ow
owntracks-recorder
qq
qt
qtractor
sc
scalpel
sw
switch-to-configuration-ng
ta
taskchampion-sync-server
tt
wa
warp
waypipe
yt
ytdl-sub
zw
zwave-js-ui
desktops
deepin
apps
deepin-album
deepin-camera
deepin-image-viewer
deepin-movie-reborn
deepin-screen-recorder
deepin-voice-note
library
deepin-ocr-plugin-manager
image-editor
development
coq-modules
CoLoR
coqprime
corn
itauto
math-classes
interpreters
octave
octave-modules
netcdf
python-modules
accelerate
aioairzone
aiohomeconnect
asf-search
autopep8
beartype
boto3-stubs
botocore-stubs
cyclopts
django-environ
django-htmx
django-import-export
django-taggit
fedora-messaging
fireflyalgorithm
formencode
globus-sdk
gotenberg-client
griffe
ibm-cloud-sdk-core
icalevents
libcst
marshmallow-sqlalchemy
mlxtend
mypy-boto3
niaarm
nitransforms
publicsuffixlist
pwntools
pycaption
pycron
pyscard
python-engineio
python-gnupg
python-otbr-api
skorch
softlayer
sphinx-codeautolink
tencentcloud-sdk-python
zenoh
kde
third-party
karousel
servers
sql
postgresql
tools
misc
esphome
top-level
+1 -1
doc/stdenv/stdenv.chapter.md
···
##### `propagatedNativeBuildInputs` {#var-stdenv-propagatedNativeBuildInputs}
-
The propagated equivalent of `nativeBuildInputs`. This would be called `depsBuildHostPropagated` but for historical continuity. For example, if package `Y` has `propagatedNativeBuildInputs = [X]`, and package `Z` has `buildInputs = [Y]`, then package `Z` will be built as if it included package `X` in its `nativeBuildInputs`. If instead, package `Z` has `nativeBuildInputs = [Y]`, then `Z` will be built as if it included `X` in the `depsBuildBuild` of package `Z`, because of the sum of the two `-1` host offsets.
+
The propagated equivalent of `nativeBuildInputs`. This would be called `depsBuildHostPropagated` but for historical continuity. For example, if package `Y` has `propagatedNativeBuildInputs = [X]`, and package `Z` has `buildInputs = [Y]`, then package `Z` will be built as if it included package `X` in its `nativeBuildInputs`. Note that if instead, package `Z` has `nativeBuildInputs = [Y]`, then `X` will not be included at all.
##### `depsBuildTargetPropagated` {#var-stdenv-depsBuildTargetPropagated}
+2 -2
nixos/doc/manual/release-notes/rl-2505.section.md
···
- `services.dex` now restarts upon changes to the `.environmentFile` or entries in `.settings.staticClients[].secretFile` when the entry is a `path` type.
- `nixos-rebuild-ng`, a full rewrite of `nixos-rebuild` in Python, is available for testing. You can enable it by setting [system.rebuild.enableNg](options.html#opt-system.rebuild.enableNg) in your configuration (this will replace the old `nixos-rebuild`), or by adding `nixos-rebuild-ng` to your `environment.systemPackages` (in this case, it will live side-by-side with `nixos-rebuild` as `nixos-rebuild-ng`). It is expected that the next major version of NixOS (25.11) will enable `system.rebuild.enableNg` by default.
+
- A `nixos-rebuild build-image` sub-command has been added.
+
It allows users to build platform-specific (disk) images from their NixOS configurations. `nixos-rebuild build-image` works similar to the popular [nix-community/nixos-generators](https://github.com/nix-community/nixos-generators) project. See new [section on image building in the nixpkgs manual](https://nixos.org/manual/nixpkgs/unstable/#sec-image-nixos-rebuild-build-image). It is also available for `nixos-rebuild-ng`.
- `nixos-option` has been rewritten to a Nix expression called by a simple bash script. This lowers our maintenance threshold, makes eval errors less verbose, adds support for flake-based configurations, descending into `attrsOf` and `listOf` submodule options, and `--show-trace`.
-
-
It allows users to build platform-specific (disk) images from their NixOS configurations. `nixos-rebuild build-image` works similar to the popular [nix-community/nixos-generators](https://github.com/nix-community/nixos-generators) project. See new [section on image building in the nixpkgs manual](https://nixos.org/manual/nixpkgs/unstable/#sec-image-nixos-rebuild-build-image).
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+137 -4
nixos/modules/programs/pay-respects.nix
···
let
inherit (lib)
getExe
+
isBool
+
literalExpression
maintainers
mkEnableOption
mkIf
+
mkMerge
mkOption
+
mkPackageOption
optionalString
+
replaceChars
+
substring
+
toLower
types
;
-
inherit (types) str;
+
inherit (types)
+
bool
+
either
+
listOf
+
str
+
submodule
+
;
+
cfg = config.programs.pay-respects;
+
settingsFormat = pkgs.formats.toml { };
+
inherit (settingsFormat) generate type;
+
+
finalPackage =
+
if cfg.aiIntegration != true then
+
(pkgs.runCommand "pay-respects-wrapper"
+
{
+
nativeBuildInputs = [ pkgs.makeBinaryWrapper ];
+
inherit (cfg.package) meta;
+
}
+
''
+
mkdir -p $out/bin
+
makeWrapper ${getExe cfg.package} $out/bin/${cfg.package.meta.mainProgram} \
+
${optionalString (cfg.aiIntegration == false) "--set _PR_AI_DISABLE true"}
+
${optionalString (cfg.aiIntegration != false) ''
+
--set _PR_AI_URL ${cfg.aiIntegration.url} \
+
--set _PR_AI_MODEL ${cfg.aiIntegration.model} \
+
--set _PR_AI_LOCALE ${cfg.aiIntegration.locale}
+
''}
+
''
+
)
+
else
+
cfg.package;
+
initScript =
shell:
if (shell != "fish") then
''
-
eval $(${getExe pkgs.pay-respects} ${shell} --alias ${cfg.alias})
+
eval $(${getExe finalPackage} ${shell} --alias ${cfg.alias})
''
else
''
-
${getExe pkgs.pay-respects} ${shell} --alias ${cfg.alias} | source
+
${getExe finalPackage} ${shell} --alias ${cfg.alias} | source
'';
in
{
···
programs.pay-respects = {
enable = mkEnableOption "pay-respects, an app which corrects your previous console command";
+
package = mkPackageOption pkgs "pay-respects" { };
+
alias = mkOption {
default = "f";
type = str;
···
The default value is `f`, but you can use anything else as well.
'';
};
+
runtimeRules = mkOption {
+
type = listOf type;
+
default = [ ];
+
example = literalExpression ''
+
[
+
{
+
command = "xl";
+
match_err = [
+
{
+
pattern = [
+
"Permission denied"
+
];
+
suggest = [
+
'''
+
#[executable(sudo), !cmd_contains(sudo), err_contains(libxl: error:)]
+
sudo {{command}}
+
'''
+
];
+
}
+
];
+
}
+
];
+
'';
+
description = ''
+
List of rules to be added to `/etc/xdg/pay-respects/rules`.
+
`pay-respects` will read the contents of these generated rules to recommend command corrections.
+
Each rule module should start with the `command` attribute that specifies the command name. See the [upstream documentation](https://codeberg.org/iff/pay-respects/src/branch/main/rules.md) for more information.
+
'';
+
};
+
aiIntegration = mkOption {
+
default = false;
+
example = {
+
url = "http://127.0.0.1:11434/v1/chat/completions";
+
model = "llama3";
+
locale = "nl-be";
+
};
+
description = ''
+
Whether to enable `pay-respects`' LLM integration. When there is no rule for a given error, `pay-respects` can query an OpenAI-compatible API endpoint for command corrections.
+
+
- If this is set to `false`, all LLM-related features are disabled.
+
- If this is set to `true`, the default OpenAI endpoint will be used, using upstream's API key. This default API key may be rate-limited.
+
- You can also set a custom API endpoint, large language model and locale for command corrections. Simply access the `aiIntegration.url`, `aiIntegration.model` and `aiIntegration.locale` options, as described in the example.
+
- Take a look at the [services.ollama](#opt-services.ollama.enable) NixOS module if you wish to host a local large language model for `pay-respects`.
+
+
For all of these methods, you can set a custom secret API key by using the `_PR_AI_API_KEY` environment variable.
+
'';
+
type = either bool (submodule {
+
options = {
+
url = mkOption {
+
default = "";
+
example = "https://api.openai.com/v1/chat/completions";
+
type = str;
+
description = "The OpenAI-compatible API endpoint that `pay-respects` will query for command corrections.";
+
};
+
model = mkOption {
+
default = "";
+
example = "llama3";
+
type = str;
+
description = "The model used by `pay-respects` to generate command corrections.";
+
};
+
locale = mkOption {
+
default = toLower (replaceChars [ "_" ] [ "-" ] (substring 0 5 config.i18n.defaultLocale));
+
example = "nl-be";
+
type = str;
+
description = ''
+
The locale to be used for LLM responses.
+
The accepted format is a lowercase [`ISO 639-1` language code](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes), followed by a dash '-', followed by a lowercase [`ISO 3166-1 alpha-2` country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).
+
'';
+
};
+
};
+
});
+
};
};
};
config = mkIf cfg.enable {
-
environment.systemPackages = [ pkgs.pay-respects ];
+
assertions =
+
map
+
(attr: {
+
assertion = (!isBool cfg.aiIntegration) -> (cfg.aiIntegration.${attr} != "");
+
message = ''
+
programs.pay-respects.aiIntegration is configured as a submodule, but you have not configured a value for programs.pay-respects.aiIntegration.${attr}!
+
'';
+
})
+
[
+
"url"
+
"model"
+
];
+
environment = mkMerge (
+
[
+
{
+
systemPackages = [ finalPackage ];
+
}
+
]
+
++ map (rule: {
+
etc."xdg/pay-respects/rules/${rule.command}.toml".source = generate "${rule.command}.toml" rule;
+
}) cfg.runtimeRules
+
);
programs = {
bash.interactiveShellInit = initScript "bash";
+1 -1
nixos/modules/services/backup/borgbackup.md
···
A very basic configuration for backing up to a locally accessible directory is:
```nix
{
-
opt.services.borgbackup.jobs = {
+
services.borgbackup.jobs = {
rootBackup = {
paths = "/";
exclude = [ "/nix" "/path/to/local/repo" ];
-2
nixos/modules/services/home-automation/wyoming/faster-whisper.nix
···
cfg = config.services.wyoming.faster-whisper;
inherit (lib)
-
escapeShellArgs
mkOption
mkEnableOption
mkPackageOption
···
description = ''
Extra arguments to pass to the server commandline.
'';
-
apply = escapeShellArgs;
};
};
}
+1 -1
nixos/modules/services/web-apps/engelsystem.nix
···
default = true;
description = ''
Whether to create a local database automatically.
-
This will override every database setting in {option}`services.engelsystem.config`.
+
This will override every database setting in {option}`services.engelsystem.settings`.
'';
};
+1 -1
nixos/tests/davis.nix
···
"curl -c /tmp/cookies -sSfL --resolve davis.example.com:80:127.0.0.1 http://davis.example.com/login | grep '_csrf_token' | sed -E 's,.*value=\"(.*)\".*,\\1,g'"
)
r = machine.succeed(
-
f"curl -b /tmp/cookies --resolve davis.example.com:80:127.0.0.1 http://davis.example.com/login -X POST -F username=admin -F password=nixos -F _csrf_token={csrf_token.strip()} -D headers"
+
f"curl -b /tmp/cookies --resolve davis.example.com:80:127.0.0.1 http://davis.example.com/login -X POST -F _username=admin -F _password=nixos -F _csrf_token={csrf_token.strip()} -D headers"
)
print(r)
machine.succeed(
+12
pkgs/applications/editors/vim/plugins/generated.nix
···
meta.homepage = "https://github.com/olivercederborg/poimandres.nvim/";
+
pomo-nvim = buildVimPlugin {
+
pname = "pomo.nvim";
+
version = "2024-07-30";
+
src = fetchFromGitHub {
+
owner = "epwalsh";
+
repo = "pomo.nvim";
+
rev = "aa8decc421d89be0f10b1fc6a602cdd269f350ff";
+
sha256 = "1drld6dmibkg4b35n181v98gwfi8yhshx1gfkg82k72a5apr77dl";
+
};
+
meta.homepage = "https://github.com/epwalsh/pomo.nvim/";
+
};
+
pony-vim-syntax = buildVimPlugin {
pname = "pony-vim-syntax";
version = "2017-09-26";
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
···
https://github.com/nvim-treesitter/playground/,,
https://github.com/nvim-lua/plenary.nvim/,,
https://github.com/olivercederborg/poimandres.nvim/,HEAD,
+
https://github.com/epwalsh/pomo.nvim/,HEAD,
https://github.com/dleonard0/pony-vim-syntax/,,
https://github.com/RishabhRD/popfix/,,
https://github.com/nvim-lua/popup.nvim/,,
+2 -2
pkgs/applications/misc/xygrib/default.nix
···
qtbase,
qttools,
libnova,
-
proj_7,
+
proj,
libpng,
openjpeg,
}:
···
bzip2
qtbase
libnova
-
proj_7
+
proj
openjpeg
libpng
];
+3 -3
pkgs/applications/networking/cluster/helmfile/default.nix
···
buildGoModule rec {
pname = "helmfile";
-
version = "0.169.2";
+
version = "0.170.0";
src = fetchFromGitHub {
owner = "helmfile";
repo = "helmfile";
rev = "v${version}";
-
hash = "sha256-OoCLFhGeciCUC7Tb6+Md8tmamc/j0AeSlu5Krmkhxyc=";
+
hash = "sha256-HlSpY7+Qct2vxtAejrwmmWhnWq+jVycjuxQ42KScpSs=";
};
-
vendorHash = "sha256-VBgWnDi0jaZ+91kkYeX9QyNBrP9W+mSMjexwzZiKZWs=";
+
vendorHash = "sha256-BmEtzUUORY/ck158+1ItVeiG9mzXdikjjUX7XwQ7xoo=";
proxyVendor = true; # darwin/linux hash mismatch
+3 -2
pkgs/applications/radio/uhd/default.nix
···
cmake,
pkg-config,
# See https://files.ettus.com/manual_archive/v3.15.0.0/html/page_build_guide.html for dependencies explanations
-
boost,
+
# Pin Boost 1.86 due to use of boost::asio::io_service.
+
boost186,
ncurses,
enableCApi ? true,
enablePythonApi ? true,
···
buildInputs =
finalAttrs.pythonPath
++ [
-
boost
+
boost186
libusb1
]
++ optionals (enableExamples) [
+2 -2
pkgs/applications/video/kodi/addons/visualization-projectm/default.nix
···
buildKodiBinaryAddon rec {
pname = "visualization-projectm";
namespace = "visualization.projectm";
-
version = "21.0.1";
+
version = "21.0.2";
src = fetchFromGitHub {
owner = "xbmc";
repo = namespace;
rev = "${version}-${rel}";
-
hash = "sha256-wjSQmOtQb4KjY3iH3Xh7AdQwE6ked+cpW6/gdNYS+NA=";
+
hash = "sha256-M+sHws9wp0sp1PnYXCLMZ9w48tJkG159XkyNvzHJNYo=";
};
extraBuildInputs = [ pkg-config libGL projectm ];
+2 -2
pkgs/applications/video/mpv/scripts/modernz.nix
···
}:
buildLua (finalAttrs: {
pname = "modernx";
-
version = "0.2.3";
+
version = "0.2.4";
scriptPath = "modernz.lua";
src = fetchFromGitHub {
owner = "Samillion";
repo = "ModernZ";
rev = "v${finalAttrs.version}";
-
hash = "sha256-yjxMBGXpu7Uyt0S9AW8ewGRNzbdu2S8N0st7VSKlqcc=";
+
hash = "sha256-njFVAxrO5mGaf5zSA4EZN31SakWcroBZuGXYvTnqi68=";
};
postInstall = ''
+4 -9
pkgs/by-name/ae/aerc/package.nix
···
buildGoModule rec {
pname = "aerc";
-
version = "0.18.2";
+
version = "0.19.0";
src = fetchFromSourcehut {
owner = "~rjarry";
repo = "aerc";
rev = version;
-
hash = "sha256-J4W7ynJ5DpE97sILENNt6eya04aiq9DWBhlytsVmZHg=";
+
hash = "sha256-YlpR85jB6Il3UW4MTaf8pkilRVjkO0q/D/Yu+OiBX6Y=";
};
proxyVendor = true;
-
vendorHash = "sha256-STQzc25gRozNHKjjYb8J8CL5WMhnx+nTJOGbuFmUYSU=";
+
vendorHash = "sha256-WowRlAzyrfZi27JzskIDberiYt9PQkuS6H3hKqUP9qo=";
nativeBuildInputs = [
scdoc
···
patches = [
./runtime-libexec.patch
-
-
# patch to fix a encoding problem with gpg signed messages
-
(fetchpatch {
-
url = "https://git.sr.ht/~rjarry/aerc/commit/7346d20.patch";
-
hash = "sha256-OCm8BcovYN2IDSgslZklQxkGVkSYQ8HLCrf2+DRB2mM=";
-
})
];
postPatch = ''
substituteAllInPlace config/aerc.conf
substituteAllInPlace config/config.go
substituteAllInPlace doc/aerc-config.5.scd
+
substituteAllInPlace doc/aerc-templates.7.scd
# Prevent buildGoModule from trying to build this
rm contrib/linters.go
+64 -15
pkgs/by-name/ae/aerc/runtime-libexec.patch
···
diff --git a/config/aerc.conf b/config/aerc.conf
-
index 7d33b43..4315f0e 100644
+
index fbc1f3ba..9eea2b81 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
-
@@ -202,8 +202,7 @@
+
@@ -301,8 +301,7 @@
#
# ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
# ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
···
#
#stylesets-dirs=
-
@@ -547,8 +546,7 @@ message/rfc822=colorize
+
@@ -741,8 +740,8 @@
+
# ${XDG_DATA_HOME:-~/.local/share}/aerc/filters
+
# $PREFIX/libexec/aerc/filters
+
# $PREFIX/share/aerc/filters
+
-# /usr/libexec/aerc/filters
+
-# /usr/share/aerc/filters
+
+# @out@/libexec/aerc/filters
+
+# @out@/share/aerc/filters
+
#
+
# If you want to run a program in your default $PATH which has the same name
+
# as a builtin filter (e.g. /usr/bin/colorize), use its absolute path.
+
@@ -845,8 +844,7 @@ text/html=! html
#
# ${XDG_CONFIG_HOME:-~/.config}/aerc/templates
# ${XDG_DATA_HOME:-~/.local/share}/aerc/templates
···
#template-dirs=
diff --git a/config/config.go b/config/config.go
-
index d70bcfe..c19e59a 100644
+
index 14c4b233..9f305ffd 100644
--- a/config/config.go
+++ b/config/config.go
-
@@ -54,10 +54,8 @@ func buildDefaultDirs() []string {
+
@@ -46,10 +46,8 @@ func buildDefaultDirs() []string {
}
// Add fixed fallback locations
···
return defaultDirs
}
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd
-
index 9e1f8a3..694abbc 100644
+
index 1e3daaa9..cd118be0 100644
--- a/doc/aerc-config.5.scd
+++ b/doc/aerc-config.5.scd
-
@@ -300,8 +300,7 @@ These options are configured in the *[ui]* section of _aerc.conf_.
+
@@ -13,7 +13,7 @@ _aerc_, which defaults to _~/.config/aerc_. Alternate files can be specified via
+
command line arguments, see *aerc*(1).
+
+
Examples of these config files are typically included with your installation of
+
-aerc and are usually installed in _/usr/share/aerc_.
+
+aerc and are usually installed in _@out@/share/aerc_.
+
+
Each file uses the ini format, and consists of sections with keys and values.
+
A line beginning with _#_ is considered a comment and ignored, as are empty
+
@@ -386,8 +386,7 @@ These options are configured in the *[ui]* section of _aerc.conf_.
```
${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
···
```
*styleset-name* = _<string>_
-
@@ -900,8 +899,7 @@ These options are configured in the *[templates]* section of _aerc.conf_.
+
@@ -1019,7 +1018,7 @@ will be set to the terminal TTY. The filter is expected to implement its own
+
paging.
+
+
aerc ships with some default filters installed in the libexec directory (usually
+
-_/usr/libexec/aerc/filters_). Note that these may have additional dependencies
+
+_@out@/libexec/aerc/filters_). Note that these may have additional dependencies
+
that aerc does not have alone.
+
+
The filter commands are invoked with _sh -c command_. The following folders are
+
@@ -1031,8 +1030,8 @@ ${XDG_CONFIG_HOME:-~/.config}/aerc/filters
+
${XDG_DATA_HOME:-~/.local/share}/aerc/filters
+
$PREFIX/libexec/aerc/filters
+
$PREFIX/share/aerc/filters
+
-/usr/libexec/aerc/filters
+
-/usr/share/aerc/filters
+
+@out@/libexec/aerc/filters
+
+@out@/share/aerc/filters
+
```
+
+
If you want to run a program in your default *$PATH* which has the same
+
@@ -1370,7 +1369,7 @@ of the template name. The available symbols and functions are described in
+
*aerc-templates*(7).
+
+
aerc ships with some default templates installed in the share directory (usually
+
-_/usr/share/aerc/templates_).
+
+_@out@/share/aerc/templates_).
+
+
These options are configured in the *[templates]* section of _aerc.conf_.
+
+
@@ -1382,8 +1381,7 @@ These options are configured in the *[templates]* section of _aerc.conf_.
```
${XDG_CONFIG_HOME:-~/.config}/aerc/templates
${XDG_DATA_HOME:-~/.local/share}/aerc/templates
···
*new-message* = _<template_name>_
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
-
index ae9bc6d..5f42b14 100644
+
index a6deb584..4f91869c 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
-
@@ -319,7 +319,7 @@ aerc provides the following additional functions:
-
Execute external command, provide the second argument to its stdin.
+
@@ -398,7 +398,7 @@ aerc provides the following additional functions:
+
Attaches a file to the message being composed.
```
-
- {{exec `/usr/libexec/aerc/filters/html` .OriginalText}}
-
+ {{exec `@out@/libexec/aerc/filters/html` .OriginalText}}
+
- {{.Attach '/usr/libexec/aerc/filters/html'}}
+
+ {{.Attach '@out@/libexec/aerc/filters/html'}}
```
-
*.Local*
-
@@ -425,7 +425,7 @@ aerc provides the following additional functions:
+
*exec*
+
@@ -581,7 +581,7 @@ aerc provides the following additional functions:
```
{{if eq .OriginalMIMEType "text/html"}}
+10 -7
pkgs/by-name/as/ast-grep/package.nix
···
installShellFiles,
buildPackages,
versionCheckHook,
+
nix-update-script,
enableLegacySg ? false,
}:
rustPlatform.buildRustPackage rec {
pname = "ast-grep";
-
version = "0.33.0";
+
version = "0.33.1";
src = fetchFromGitHub {
owner = "ast-grep";
repo = "ast-grep";
-
rev = version;
-
hash = "sha256-oqG76KzyN5TnE27yxrHeEYjLwrnDMvwbOzOnN6TWvxc=";
+
tag = version;
+
hash = "sha256-p7SJhkCoo4jBDyr+Z2+qxjUwWXWpVMuXd2/DDOM7Z/Q=";
};
-
cargoHash = "sha256-O3FKn90QVDk1TXJtjmaiDuXr+pwIjsAmadi+aypXeLA=";
+
cargoHash = "sha256-aCBEL+Jx4Kk7PWsxIgpdRdI7AnUAUEtRU4+JMxQ4Swk=";
nativeBuildInputs = [ installShellFiles ];
···
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
-
meta = with lib; {
+
passthru.updateScript = nix-update-script { };
+
+
meta = {
mainProgram = "ast-grep";
description = "Fast and polyglot tool for code searching, linting, rewriting at large scale";
homepage = "https://ast-grep.github.io/";
changelog = "https://github.com/ast-grep/ast-grep/blob/${src.rev}/CHANGELOG.md";
-
license = licenses.mit;
-
maintainers = with maintainers; [
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [
xiaoxiangmoe
montchr
lord-valen
+3 -3
pkgs/by-name/bl/blocky/package.nix
···
buildGoModule rec {
pname = "blocky";
-
version = "0.24";
+
version = "0.25";
src = fetchFromGitHub {
owner = "0xERR0R";
repo = pname;
rev = "v${version}";
-
hash = "sha256-K+Zdb6l2WUhxVm/gi9U2vVR69bxr2ntLyIrkwTuc0Do=";
+
hash = "sha256-yd9qncTuzf7p1hIYHzzXyxAx1C1QiuQAIYSKcjCiF0E=";
};
# needs network connection and fails at
# https://github.com/0xERR0R/blocky/blob/development/resolver/upstream_resolver_test.go
doCheck = false;
-
vendorHash = "sha256-I4UXTynulsRuu9U8tsLbPQO1MMPfUC5dAZE420sW1sU=";
+
vendorHash = "sha256-Ck80ym64RIubtMHKkXsbN1kFrB6F9G++0U98jPvyoHw=";
ldflags = [
"-s"
+3 -3
pkgs/by-name/br/broot/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "broot";
-
version = "1.44.5";
+
version = "1.44.6";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
-
hash = "sha256-lLhf83srTHs7jIMiNshcGwue60F5zgbsJOO+w+3S9PU=";
+
hash = "sha256-cvrWcfQj5Pc2tyaQjhhTK9Ko240Bz6dbUe+OFLTz/+M=";
};
-
cargoHash = "sha256-nQFC9sZoGuAjKT8agDHVtYNOgKMMHzwQ0GY4uoaJHTU=";
+
cargoHash = "sha256-EhcaIkaFPisRKagN8xDMmGrcH9vfMZcj/w53sDQcOp8=";
nativeBuildInputs = [
installShellFiles
+5 -6
pkgs/by-name/co/cosmic-panel/package.nix
···
fetchFromGitHub,
just,
pkg-config,
-
rust,
rustPlatform,
libglvnd,
libxkbcommon,
wayland,
}:
-
rustPlatform.buildRustPackage {
+
rustPlatform.buildRustPackage rec {
pname = "cosmic-panel";
-
version = "unstable-2023-11-13";
+
version = "1.0.0-alpha.5.1";
src = fetchFromGitHub {
owner = "pop-os";
repo = "cosmic-panel";
-
rev = "f07cccbd2dc15ede5aeb7646c61c6f62cb32db0c";
-
hash = "sha256-uUq+xElZMcG5SWzha9/8COaenycII5aiXmm7sXGgjXE=";
+
tag = "epoch-${version}";
+
hash = "sha256-nO7Y1SpwvfHhL0OSy7Ti+e8NPzfknW2SGs7IYoF1Jow=";
};
useFetchCargoVendor = true;
-
cargoHash = "sha256-1XtW72KPdRM5gHIM3Fw2PZCobBXYDMAqjZ//Ebr51tc=";
+
cargoHash = "sha256-EIp9s42deMaB7BDe7RAqj2+CnTXjHCtZjS5Iq8l46A4=";
nativeBuildInputs = [
just
+4 -4
pkgs/by-name/da/davis/package.nix
···
php.buildComposerProject (finalAttrs: {
pname = "davis";
-
version = "4.4.4";
+
version = "5.0.2";
src = fetchFromGitHub {
owner = "tchapi";
repo = "davis";
-
rev = "v${finalAttrs.version}";
-
hash = "sha256-nQkyNs718Zrc2BiTNXSXPY23aiviJKoBJeuoSm5ISOI=";
+
tag = "v${finalAttrs.version}";
+
hash = "sha256-Zl+6nrgspyg6P9gqYwah81Z6Mtni6nUlCp4gTjJWn9M=";
};
-
vendorHash = "sha256-zZlDonCwb9tJyckounv96eF4cx6Z/LBoAdB/r600HM4=";
+
vendorHash = "sha256-ZV5GNNtex+yKaMP5KaQkx5EaJRAJSwJjIZOCcXlnVW4=";
postInstall = ''
# Only include the files needed for runtime in the derivation
+2 -2
pkgs/by-name/de/der-ascii/package.nix
···
buildGoModule rec {
pname = "der-ascii";
-
version = "0.3.0";
+
version = "0.5.0";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-LgxGSZQNxwx08mK9G8mSuBFTOd3pC1mvz3Wz7Y+6XR4=";
+
sha256 = "sha256-yUHVPBUW1Csn3W5K9S2TWOq4aovzpaBK8BC0t8zkj3g=";
};
vendorHash = null;
+3 -3
pkgs/by-name/dn/dnscontrol/package.nix
···
buildGoModule rec {
pname = "dnscontrol";
-
version = "4.15.3";
+
version = "4.15.4";
src = fetchFromGitHub {
owner = "StackExchange";
repo = "dnscontrol";
rev = "v${version}";
-
hash = "sha256-0vg3y/bUp5BTFhJbIdohvuj1DNu9bykDwMM3bWnKvNU=";
+
hash = "sha256-Jwv8gIcQD62OV8i5DvIcurcsc6Wkis+kl95lnj8NXds=";
};
-
vendorHash = "sha256-JMi4FDgZT94KyqDR57xgp1vnP7Htdn/bksntbQdGyZ0=";
+
vendorHash = "sha256-x/FxspmR89Q2yZI0sP1D9OVUFEjMlpT/0IPusy5zHuo=";
nativeBuildInputs = [ installShellFiles ];
+3 -3
pkgs/by-name/en/enpass/data.json
···
{
"amd64": {
-
"path": "pool/main/e/enpass/enpass_6.10.1.1661_amd64.deb",
-
"sha256": "52e9a6819b186b83eb8d8b9e2d5d4f62dedbb24382819738c18cb28976e8b07b",
-
"version": "6.10.1.1661"
+
"path": "pool/main/e/enpass/enpass_6.11.6.1833_amd64.deb",
+
"sha256": "91a7f4ac1bee55106edc6f3e8236b8ef8ed985926482b058899e0c73075f0d56",
+
"version": "6.11.6.1833"
},
"i386": {
"path": "pool/main/e/enpass/enpass_5.6.9_i386.deb",
+2 -2
pkgs/by-name/ep/epubcheck/package.nix
···
stdenv.mkDerivation rec {
pname = "epubcheck";
-
version = "5.1.0";
+
version = "5.2.0";
src = fetchzip {
url = "https://github.com/w3c/epubcheck/releases/download/v${version}/epubcheck-${version}.zip";
-
sha256 = "sha256-gskQ02lGka3nBHSDXO3TpKSQzaoaJUQY9AvWG7L+1YM=";
+
sha256 = "sha256-7Vfbs0lqrm/YDSfvMxaQu9IsYx1PugpbsDYLU2fIC6U=";
};
nativeBuildInputs = [ makeWrapper ];
+6 -3
pkgs/by-name/es/espflash/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "espflash";
-
version = "3.2.0";
+
version = "3.3.0";
src = fetchFromGitHub {
owner = "esp-rs";
repo = "espflash";
tag = "v${version}";
-
hash = "sha256-X9VTwXk/6zAkQb5P9Wz8Pt4oIt2xXfff9dhGb8wauG4=";
+
hash = "sha256-8qFq+OyidW8Bwla6alk/9pXLe3zayHkz5LsqI3jwgY0=";
};
nativeBuildInputs = [
···
SystemConfiguration
];
-
cargoHash = "sha256-3xUDsznzIRlfGwVuIH1+Ub5tE/ST981KZS/2TAKaBAE=";
+
cargoHash = "sha256-04bBLTpsQNDP0ExvAOjwp3beOktC8rQqFtfEu6d+DWY=";
+
checkFlags = [
+
"--skip cli::monitor::external_processors"
+
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd espflash \
-37
pkgs/by-name/ew/eww/lockfile.patch
···
-
diff --git a/Cargo.lock b/Cargo.lock
-
index 5d94bd4..acd2c8d 100644
-
--- a/Cargo.lock
-
+++ b/Cargo.lock
-
@@ -1676,7 +1676,7 @@ dependencies = [
-
"libm",
-
"log",
-
"regex",
-
- "time 0.3.34",
-
+ "time 0.3.36",
-
"urlencoding",
-
]
-
-
@@ -2893,9 +2893,9 @@ dependencies = [
-
-
[[package]]
-
name = "time"
-
-version = "0.3.34"
-
+version = "0.3.36"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
-
+checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
-
dependencies = [
-
"deranged",
-
"itoa",
-
@@ -2914,9 +2914,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
-
-
[[package]]
-
name = "time-macros"
-
-version = "0.2.17"
-
+version = "0.2.18"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
-
+checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
-
dependencies = [
-
"num-conv",
-
"time-core",
+4 -9
pkgs/by-name/ew/eww/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "eww";
-
version = "0.6.0-unstable-2024-07-05";
+
version = "0.6.0-unstable-2025-01-14";
src = fetchFromGitHub {
owner = "elkowar";
repo = "eww";
-
# FIXME: change to a release tag once a new release is available
-
# https://github.com/elkowar/eww/pull/1084
-
# using the revision to fix string truncation issue in eww config
-
rev = "4d55e9ad63d1fae887726dffcd25a32def23d34f";
-
hash = "sha256-LTSFlW/46hl1u9SzqnvbtNxswCW05bhwOY6CzVEJC5o=";
+
rev = "593a4f4666f0bc42790d6d033e64a2b38449090f";
+
hash = "sha256-DbXsiqMyZKNSFmL5aEJwJr+cPnz8qaWe5lNDoovOX/g=";
};
-
# needed to fix build errors with rust 1.80 due to outdated time crate
-
cargoPatches = [ ./lockfile.patch ];
-
cargoHash = "sha256-55lmQl5pJwrEj5RlSG8b0PqtZVrASxTmX4Qdk090DZo=";
+
cargoHash = "sha256-hS8uNqT37z/89Q5pqfWKm/wijgMyrU8uDT5exn0NZNU=";
nativeBuildInputs = [
installShellFiles
+2 -2
pkgs/by-name/fa/famistudio/package.nix
···
in
buildDotnetModule (finalAttrs: {
pname = "famistudio";
-
version = "4.3.1";
+
version = "4.3.2";
src = fetchFromGitHub {
owner = "BleuBleu";
repo = "FamiStudio";
tag = finalAttrs.version;
-
hash = "sha256-ISOMsnsvsO3wOp9J/CilCr4wBgkHc29od2a2sBssN7k=";
+
hash = "sha256-on1x7wrcol8rlGWZs+/DndxjhqotDiTXXEbCZx7a3Bw=";
};
postPatch =
+1
pkgs/by-name/fo/forgejo-runner/package.nix
···
changelog = "https://code.forgejo.org/forgejo/runner/src/tag/${src.rev}/RELEASE-NOTES.md";
license = licenses.mit;
maintainers = with maintainers; [
+
adamcstephens
kranzes
emilylange
christoph-heiss
+4 -4
pkgs/by-name/fo/forgejo/package.nix
···
import ./generic.nix {
-
version = "9.0.3";
-
hash = "sha256-Ig4iz/ZoRj4lyod73GWY2oRV3E3tx3S4rNqQtsTonzQ=";
-
npmDepsHash = "sha256-yDNlD1l5xuLkkp6LbOlWj9OYHO+WtiAeiu9oIoQLFL8=";
-
vendorHash = "sha256-JLruZi8mXR1f+o9Olhbz44ieEXVGinUNmVi24VEYj28=";
+
version = "10.0.0";
+
hash = "sha256-FcXL+lF2B+EUUEbdD31b1pV7GWbYxk6ewljAXuiV8QY=";
+
npmDepsHash = "sha256-YQDTw5CccnR7zJpvvEcmHZ2pLLNGYEg/mvncNYzcYY8=";
+
vendorHash = "sha256-fqHwqpIetX2jTAWAonRWqF1tArL7Ik/XXURY51jGOn0=";
lts = false;
nixUpdateExtraArgs = [
"--override-filename"
+3 -5
pkgs/by-name/gc/gcli/package.nix
···
fetchFromGitHub,
stdenv,
curl,
-
autoreconfHook,
pkg-config,
byacc,
flex,
···
stdenv.mkDerivation rec {
pname = "gcli";
-
version = "2.2.0";
+
version = "2.6.0";
src = fetchFromGitHub {
owner = "herrhotzenplotz";
repo = "gcli";
-
rev = version;
-
hash = "sha256-extVTaTWVFXSTiXlZ/MtiiFdc/KZEDkc+A7xxylJaM4=";
+
rev = "v${version}";
+
hash = "sha256-60B1XRoeSjSEo5nxrCJL9lizq7ELGe8+hdmC4lkMhis=";
};
nativeBuildInputs = [
-
autoreconfHook
pkg-config
byacc
flex
+3 -3
pkgs/by-name/gh/gh-poi/package.nix
···
buildGoModule rec {
pname = "gh-poi";
-
version = "0.12.0";
+
version = "0.13.0";
src = fetchFromGitHub {
owner = "seachicken";
repo = "gh-poi";
rev = "v${version}";
-
hash = "sha256-GRTBYwphw5rpwFzLrBRpzz6z6udNCdPn3vanfMvBtGI=";
+
hash = "sha256-foUv6+QIfPlYwgTwxFvEgGeOw/mpC80+ntHo29LQbB8=";
};
ldflags = [
···
vendorHash = "sha256-D/YZLwwGJWCekq9mpfCECzJyJ/xSlg7fC6leJh+e8i0=";
# Skip checks because some of test suites require fixture.
-
# See: https://github.com/seachicken/gh-poi/blob/v0.12.0/.github/workflows/contract-test.yml#L28-L29
+
# See: https://github.com/seachicken/gh-poi/blob/v0.13.0/.github/workflows/contract-test.yml#L28-L29
doCheck = false;
meta = with lib; {
+5 -5
pkgs/by-name/go/google-chrome/package.nix
···
linux = stdenv.mkDerivation (finalAttrs: {
inherit pname meta passthru;
-
version = "131.0.6778.264";
+
version = "132.0.6834.83";
src = fetchurl {
url = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${finalAttrs.version}-1_amd64.deb";
-
hash = "sha256-zfPXkfjnvVGO09X4eqTii7rPwieMEsQMy9p9tXb5fDU=";
+
hash = "sha256-qufv7m7iQ8yX6WeNajTbPELCmRhr4GGBa8Wzy+iMFhg=";
};
# With strictDeps on, some shebangs were not being patched correctly
···
darwin = stdenvNoCC.mkDerivation (finalAttrs: {
inherit pname meta passthru;
-
version = "131.0.6778.265";
+
version = "132.0.6834.84";
src = fetchurl {
-
url = "http://dl.google.com/release2/chrome/accjagybvz5mf6voljw3khsklaaa_131.0.6778.265/GoogleChrome-131.0.6778.265.dmg";
-
hash = "sha256-mHfBmBJVlUYQf8UnCBBTbgizTuV/IucXg2H+i4zhnPU=";
+
url = "http://dl.google.com/release2/chrome/acpvuq6jnnfhesngduj6lnfmy3zq_132.0.6834.84/GoogleChrome-132.0.6834.84.dmg";
+
hash = "sha256-SX8IUdTnIJHwfF9ZwIHZwGZUncJ/NLQpuEL/X8p1KJo=";
};
dontPatch = true;
+4
pkgs/by-name/gp/gpick/package.nix
···
hash = "sha256-DnRU90VPyFhLYTk4GPJoiVYadJgtYgjMS4MLgmpYLP0=";
})
];
+
# https://github.com/thezbyg/gpick/pull/227
+
postPatch = ''
+
sed '1i#include <boost/version.hpp>' -i source/dynv/Types.cpp
+
'';
nativeBuildInputs = [
cmake
+3 -3
pkgs/by-name/in/ingress2gateway/package.nix
···
buildGoModule rec {
pname = "ingress2gateway";
-
version = "0.3.0";
+
version = "0.4.0";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
-
hash = "sha256-xAoJREGktbSNGYdrmPuYG2G+xaQ+kReSSA1JBgWaPVY=";
+
hash = "sha256-0w2ZM1g2rr46bN8BNgrkmb3tOQw0FZTMLp/koW01c5I=";
};
-
vendorHash = "sha256-T6I8uYUaubcc1dfDu6PbQ9bDDLqGuLGXWnCZhdvkycE=";
+
vendorHash = "sha256-7b247/9/9kdNIYuaLvKIv3RK/nzQzruMKZeheTag2sA=";
ldflags = [
"-s"
+2 -2
pkgs/by-name/ko/komga/package.nix
···
stdenvNoCC.mkDerivation rec {
pname = "komga";
-
version = "1.16.0";
+
version = "1.18.0";
src = fetchurl {
url = "https://github.com/gotson/${pname}/releases/download/${version}/${pname}-${version}.jar";
-
sha256 = "sha256-6q7ZtTdbH2nIPIm6gNQZz2QxHlbWULsflhWJ0aDMFH4=";
+
sha256 = "sha256-I0xJfX0f1srIjiitBt5EN6j/pOCvfGUIwxCt5sT2UuY=";
};
nativeBuildInputs = [
+6 -4
pkgs/by-name/li/libabw/package.nix
···
sed -i 's,^CPPFLAGS.*,\0 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED,' src/lib/Makefile.in
'';
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [
-
boost
+
nativeBuildInputs = [
doxygen
gperf
+
perl
+
pkg-config
+
];
+
buildInputs = [
+
boost
librevenge
libxml2
-
perl
zlib
];
-2
pkgs/by-name/li/libraw/package.nix
···
pkg-config,
# for passthru.tests
-
deepin,
freeimage,
hdrmerge,
imagemagick,
···
passthru.tests = {
inherit imagemagick hdrmerge freeimage;
-
inherit (deepin) deepin-image-viewer;
inherit (python3.pkgs) rawkit;
};
+3 -3
pkgs/by-name/li/live-server/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "live-server";
-
version = "0.9.0";
+
version = "0.9.1";
src = fetchFromGitHub {
owner = "lomirus";
repo = "live-server";
rev = "v${version}";
-
hash = "sha256-0XZ7ABR2xSVbixXbjdKiUTcQ7TqAZGyVpWqzMx5kR2g=";
+
hash = "sha256-9NULpK48svCMTx1OeivS+LHVGUGFObg4pBr/V0yIuwM=";
};
-
cargoHash = "sha256-lMRj+8D5jigCNXld4QfXy3QpRQo4ecCByqoDGC8no1w=";
+
cargoHash = "sha256-QB03sXAGNHu+Yc/UYcmOqYBS/LNbKSoT9PZa11prNtA=";
nativeBuildInputs = [ pkg-config ];
+2 -2
pkgs/by-name/lx/lxgw-wenkai/package.nix
···
stdenvNoCC.mkDerivation rec {
pname = "lxgw-wenkai";
-
version = "1.501";
+
version = "1.510";
src = fetchurl {
url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/${pname}-v${version}.tar.gz";
-
hash = "sha256-7BBg6TGJzTVgBHPyzTYGFjXmidvAzOVCWAU11LylmBI=";
+
hash = "sha256-RZ+vcFDKMW63oYz4meNvNSIyEdY9I5sKhqOAPKlPP4Q=";
};
installPhase = ''
+2 -2
pkgs/by-name/ma/matcha-rss-digest/package.nix
···
buildGoModule rec {
pname = "matcha-rss-digest";
-
version = "0.7.0";
+
version = "0.7.1";
src = fetchFromGitHub {
owner = "piqoni";
repo = "matcha";
rev = "v${version}";
-
hash = "sha256-eexDPewRbAxrMVE7m4WHxeBgRl8xKVdtIpCbYPfp24w=";
+
hash = "sha256-Zs6Och5CsqN2mpnCLgV1VkH4+CV1fklfP20A22rE5y0=";
};
vendorHash = "sha256-CURFy92K4aNF9xC8ik6RDadRAvlw8p3Xc+gWE2un6cc=";
+3
pkgs/by-name/ow/owntracks-recorder/package.nix
···
substituteInPlace config.mk \
--replace "INSTALLDIR = /usr/local" "INSTALLDIR = $out" \
+
--replace "DOCROOT = /var/spool/owntracks/recorder/htdocs" "DOCROOT = $out/htdocs" \
--replace "WITH_LUA ?= no" "WITH_LUA ?= yes" \
--replace "WITH_ENCRYPT ?= no" "WITH_ENCRYPT ?= yes"
···
install -m 0755 ot-recorder $out/bin
install -m 0755 ocat $out/bin
+
+
cp -r docroot $out/htdocs
runHook postInstall
'';
+6 -6
pkgs/by-name/qq/qq/sources.nix
···
# Generated by ./update.sh - do not update manually!
-
# Last updated: 2024-12-30
+
# Last updated: 2025-01-18
{
-
version = "3.2.15-2024.12.24";
-
amd64_url = "https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.15_241224_amd64_01.deb";
-
arm64_url = "https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.15_241224_arm64_01.deb";
-
arm64_hash = "sha256-2+IT7XsK5ziyG9/rihfDhTADwzJ8QDMBz0NyMjZHmzE=";
-
amd64_hash = "sha256-iBiyFK8sKmWUxntZREwdxWCXSSLB8jxiL4eqo2Qy0is=";
+
version = "3.2.15-2025.1.10";
+
amd64_url = "https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.15_250110_amd64_01.deb";
+
arm64_url = "https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.15_250110_arm64_01.deb";
+
arm64_hash = "sha256-F2R5j0x2BnD9/kIsiUe+IbZpAKDOQdjxwOENzzb4RJo=";
+
amd64_hash = "sha256-hDfaxxXchdZons8Tb5I7bsd7xEjiKpQrJjxyFnz3Y94=";
}
+2 -2
pkgs/by-name/qt/qtractor/package.nix
···
stdenv.mkDerivation rec {
pname = "qtractor";
-
version = "1.5.1";
+
version = "1.5.2";
src = fetchurl {
url = "mirror://sourceforge/qtractor/qtractor-${version}.tar.gz";
-
hash = "sha256-jBJ8qruWBeukuW7zzi9rRayJL+FC1e3f+O3cb6QfdiE=";
+
hash = "sha256-Z32fOS8Um7x2iFy+2SlmsU8mrDLwboNSI4dm0RligBo=";
};
nativeBuildInputs = [
+3
pkgs/by-name/sc/scalpel/package.nix
···
autoconf
automake
libtool
+
];
+
+
buildInputs = [
tre
];
+1
pkgs/by-name/sw/switch-to-configuration-ng/.envrc
···
+
use nix ../../../.. -A switch-to-configuration-ng
+9
pkgs/by-name/sw/switch-to-configuration-ng/README.md
···
# 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.
+
+
## Build in a devshell
+
+
```
+
cd ./pkgs/by-name/sw/switch-to-configuration-ng
+
nix-shell ../../../.. -A switch-to-configuration-ng
+
cd ./src
+
cargo build
+
```
+4 -8
pkgs/by-name/ta/taskchampion-sync-server/package.nix
···
}:
rustPlatform.buildRustPackage rec {
pname = "taskchampion-sync-server";
-
version = "0.4.1-unstable-2024-08-20";
+
version = "0.5.0";
src = fetchFromGitHub {
owner = "GothenburgBitFactory";
repo = "taskchampion-sync-server";
-
rev = "af918bdf0dea7f7b6e920680c947fc37b37ffffb";
-
fetchSubmodules = false;
-
hash = "sha256-BTGD7hZysmOlsT2W+gqj8+Sj6iBN9Jwiyzq5D03PDzM=";
+
tag = "v${version}";
+
hash = "sha256-uOlubcQ5LAECvQEqgUR/5aLuDGQrdHy+K6vSapACmoo=";
};
-
cargoHash = "sha256-/HfkE+R8JoNGkCCNQpE/JjGSqPHvjCPnTjOFPCFfJ7A=";
-
-
# cargo tests fail when checkType="release" (default)
-
checkType = "debug";
+
cargoHash = "sha256-Erhr5NduvQyUJSSurKqcZXJe4ExP68t8ysn7hZLAgP4=";
meta = {
description = "Sync server for Taskwarrior 3";
+3 -3
pkgs/by-name/tt/ttdl/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "ttdl";
-
version = "4.7.0";
+
version = "4.8.0";
src = fetchFromGitHub {
owner = "VladimirMarkelov";
repo = "ttdl";
rev = "v${version}";
-
sha256 = "sha256-ugg6ZrrEAsfgeXBBKrU30orVkcWJV4MgZIVshAv8ys8=";
+
sha256 = "sha256-RHmKCayouxtlbp/dpZlC9d9OuUXHDLVWucnuIP3rEhA=";
};
-
cargoHash = "sha256-jjkHnxK15WSlhgPpqpU7KNM2KcEi81TrcvIi9gq4YHU=";
+
cargoHash = "sha256-DR0dAaSLQtWcCcCYXPb4vMDzjct0oNk7GMT5BbZuMlE=";
meta = with lib; {
description = "CLI tool to manage todo lists in todo.txt format";
+3 -3
pkgs/by-name/wa/warp/package.nix
···
stdenv.mkDerivation rec {
pname = "warp";
-
version = "0.8.0";
+
version = "0.8.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "warp";
rev = "v${version}";
-
hash = "sha256-BUCkENpL1soiYrM1vPNQAZGUbRj1KxWbbgXR0575zGU=";
+
hash = "sha256-RmihaFv+U11CAa5ax53WzpwYJ2PFOrhYt4w2iboW4m8=";
};
postPatch = ''
···
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
name = "${pname}-${version}";
-
hash = "sha256-afRGCd30qJMqQeEOLDBRdVNJLMfa8/F9BO4Ib/OTtvI=";
+
hash = "sha256-w3gQhyRpma+aJY7IC9Vb3FdIECHZBJoSjiPmKpJ2nM8=";
};
nativeBuildInputs = [
+9 -7
pkgs/by-name/wa/waypipe/package.nix
···
ninja,
pkg-config,
scdoc,
-
mesa,
+
libgbm,
lz4,
zstd,
ffmpeg,
-
libva,
cargo,
rustc,
-
git,
vulkan-headers,
vulkan-loader,
shaderc,
-
vulkan-tools,
llvmPackages,
autoPatchelfHook,
-
wayland,
wayland-scanner,
rust-bindgen,
-
egl-wayland,
}:
llvmPackages.stdenv.mkDerivation rec {
pname = "waypipe";
···
rustc
wayland-scanner
rustPlatform.cargoSetupHook
+
autoPatchelfHook
rust-bindgen
];
buildInputs = [
-
mesa
+
libgbm
lz4
zstd
ffmpeg
vulkan-headers
+
vulkan-loader
+
];
+
+
runtimeDependencies = [
+
libgbm
+
ffmpeg.lib
vulkan-loader
];
+20 -9
pkgs/by-name/yt/ytdl-sub/package.nix
···
{
python3Packages,
-
fetchPypi,
+
fetchFromGitHub,
ffmpeg,
lib,
+
versionCheckHook,
+
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
pname = "ytdl-sub";
-
version = "2024.12.27";
+
version = "2025.01.15";
pyproject = true;
-
src = fetchPypi {
-
inherit version;
-
pname = "ytdl_sub";
-
hash = "sha256-7XZlKGzDLG/MVw198Ii+l29F+Lt53MY5QtHU8k9xJWA=";
+
src = fetchFromGitHub {
+
owner = "jmbannon";
+
repo = "ytdl-sub";
+
tag = version;
+
hash = "sha256-UjCs71nXi77yvB9BhYxT+2G9I+qHEB5Jnhe+GJuppdY=";
};
-
pythonRelaxDeps = [
-
"yt-dlp"
-
];
+
postPatch = ''
+
echo '__pypi_version__ = "${version}"; __local_version__ = "${version}"' > src/ytdl_sub/__init__.py
+
'';
+
+
pythonRelaxDeps = [ "yt-dlp" ];
build-system = with python3Packages; [
setuptools
···
"--set YTDL_SUB_FFPROBE_PATH ${lib.getExe' ffmpeg "ffprobe"}"
];
+
nativeCheckInputs = [ versionCheckHook ];
+
versionCheckProgramArg = "--version";
+
+
passthru.updateScript = nix-update-script { };
+
meta = {
homepage = "https://github.com/jmbannon/ytdl-sub";
description = "Lightweight tool to automate downloading and metadata generation with yt-dlp";
···
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
loc
+
defelo
];
mainProgram = "ytdl-sub";
};
+3 -3
pkgs/by-name/zw/zwave-js-ui/package.nix
···
buildNpmPackage rec {
pname = "zwave-js-ui";
-
version = "9.27.8";
+
version = "9.29.1";
src = fetchFromGitHub {
owner = "zwave-js";
repo = "zwave-js-ui";
tag = "v${version}";
-
hash = "sha256-6Twyzt2BMozph39GMG3JghA54LYi40c1+WfSbAAO2oM=";
+
hash = "sha256-uP0WUPhPvjy6CfK0MjLzQGjtRAlDKONXQH8WtW1vJDw=";
};
-
npmDepsHash = "sha256-2cDuRCxyn/wNgZks2Qg+iwqRX8CVRz8qVYh4ZlCR55I=";
+
npmDepsHash = "sha256-wRU5CTiwgPvy6exU3/iiuH0fkns+fX7/o0kc0c6VpeU=";
passthru.tests.zwave-js-ui = nixosTests.zwave-js-ui;
-62
pkgs/desktops/deepin/apps/deepin-album/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
cmake,
-
pkg-config,
-
libsForQt5,
-
dtkwidget,
-
dtkdeclarative,
-
qt5integration,
-
qt5platform-plugins,
-
udisks2-qt5,
-
gio-qt,
-
freeimage,
-
ffmpeg_6,
-
ffmpegthumbnailer,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-album";
-
version = "6.0.4";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-kTcVmROsqLH8GwJzAf3zMq/wGYWNvhFBiHODaROt7Do=";
-
};
-
-
nativeBuildInputs = [
-
cmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs = [
-
dtkwidget
-
dtkdeclarative
-
qt5integration
-
qt5platform-plugins
-
libsForQt5.qtbase
-
libsForQt5.qtsvg
-
udisks2-qt5
-
gio-qt
-
freeimage
-
ffmpeg_6
-
ffmpegthumbnailer
-
];
-
-
strictDeps = true;
-
-
cmakeFlags = [ "-DVERSION=${version}" ];
-
-
meta = with lib; {
-
description = "Fashion photo manager for viewing and organizing pictures";
-
homepage = "https://github.com/linuxdeepin/deepin-album";
-
license = licenses.gpl3Plus;
-
platforms = platforms.linux;
-
maintainers = teams.deepin.members;
-
};
-
}
-111
pkgs/desktops/deepin/apps/deepin-camera/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
cmake,
-
pkg-config,
-
libsForQt5,
-
dtkwidget,
-
wayland,
-
dwayland,
-
qt5integration,
-
qt5platform-plugins,
-
image-editor,
-
ffmpeg_6,
-
ffmpegthumbnailer,
-
libusb1,
-
libpciaccess,
-
portaudio,
-
libv4l,
-
gst_all_1,
-
systemd,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-camera";
-
version = "6.0.5";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-3q8yV8GpCPKW780YpCn+xLeFBGJFoAMmKSFCAH9OXoE=";
-
};
-
-
# QLibrary and dlopen work with LD_LIBRARY_PATH
-
patches = [ ./dont_use_libPath.diff ];
-
-
postPatch = ''
-
substituteInPlace src/CMakeLists.txt \
-
--replace "/usr/share/libimagevisualresult" "${image-editor}/share/libimagevisualresult" \
-
--replace "/usr/include/libusb-1.0" "${lib.getDev libusb1}/include/libusb-1.0"
-
substituteInPlace src/com.deepin.Camera.service \
-
--replace "/usr/bin/qdbus" "${lib.getBin libsForQt5.qttools}/bin/qdbus" \
-
--replace "/usr/share" "$out/share"
-
'';
-
-
nativeBuildInputs = [
-
cmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs =
-
[
-
dtkwidget
-
wayland
-
dwayland
-
qt5integration
-
qt5platform-plugins
-
image-editor
-
libsForQt5.qtbase
-
libsForQt5.qtmultimedia
-
ffmpeg_6
-
ffmpegthumbnailer
-
libusb1
-
libpciaccess
-
portaudio
-
libv4l
-
]
-
++ (with gst_all_1; [
-
gstreamer
-
gst-plugins-base
-
]);
-
-
cmakeFlags = [ "-DVERSION=${version}" ];
-
-
strictDeps = true;
-
-
env.NIX_CFLAGS_COMPILE = toString [
-
"-I${gst_all_1.gstreamer.dev}/include/gstreamer-1.0"
-
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
-
];
-
-
qtWrapperArgs = [
-
"--prefix LD_LIBRARY_PATH : ${
-
lib.makeLibraryPath [
-
ffmpeg_6
-
ffmpegthumbnailer
-
gst_all_1.gstreamer
-
gst_all_1.gst-plugins-base
-
libusb1
-
libv4l
-
portaudio
-
systemd
-
]
-
}"
-
];
-
-
preFixup = ''
-
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
-
'';
-
-
meta = {
-
description = "Tool to view camera, take photo and video";
-
homepage = "https://github.com/linuxdeepin/deepin-camera";
-
license = lib.licenses.gpl3Plus;
-
platforms = lib.platforms.linux;
-
maintainers = lib.teams.deepin.members;
-
};
-
}
-24
pkgs/desktops/deepin/apps/deepin-camera/dont_use_libPath.diff
···
-
diff --git a/src/src/gstvideowriter.cpp b/src/src/gstvideowriter.cpp
-
index c96c8b0..fcc11da 100644
-
--- a/src/src/gstvideowriter.cpp
-
+++ b/src/src/gstvideowriter.cpp
-
@@ -282,6 +282,7 @@ void GstVideoWriter::loadAppSrcCaps()
-
-
QString GstVideoWriter::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/src/mainwindow.cpp b/src/src/mainwindow.cpp
-
index d3c6c24..6d313a6 100644
-
--- a/src/src/mainwindow.cpp
-
+++ b/src/src/mainwindow.cpp
-
@@ -784,6 +784,7 @@ void CMainWindow::slotPopupSettingsDialog()
-
-
QString CMainWindow::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-63
pkgs/desktops/deepin/apps/deepin-image-viewer/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
fetchpatch,
-
cmake,
-
pkg-config,
-
libsForQt5,
-
qt5platform-plugins,
-
dtkwidget,
-
dtkdeclarative,
-
deepin-ocr-plugin-manager,
-
libraw,
-
freeimage,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-image-viewer";
-
version = "6.0.2";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-YT3wK+ELXjgtsXbkiCjQF0zczQi89tF1kyIQtl9/mMA=";
-
};
-
-
patches = [
-
(fetchpatch {
-
name = "fix-build-with-libraw-0_21.patch";
-
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/2ff11979704dd7156a7e7c3bae9b30f08894063d/trunk/libraw-0.21.patch";
-
hash = "sha256-I/w4uiANT8Z8ud/F9WCd3iRHOfplu3fpqnu8ZIs4C+w=";
-
})
-
];
-
-
nativeBuildInputs = [
-
cmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs = [
-
qt5platform-plugins
-
dtkwidget
-
dtkdeclarative
-
deepin-ocr-plugin-manager
-
libraw
-
freeimage
-
];
-
-
strictDeps = true;
-
-
cmakeFlags = [ "-DVERSION=${version}" ];
-
-
meta = with lib; {
-
description = "Image viewing tool with fashion interface and smooth performance";
-
homepage = "https://github.com/linuxdeepin/deepin-image-viewer";
-
license = licenses.gpl3Plus;
-
platforms = platforms.linux;
-
maintainers = teams.deepin.members;
-
};
-
}
-126
pkgs/desktops/deepin/apps/deepin-movie-reborn/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
cmake,
-
pkg-config,
-
libsForQt5,
-
dtkwidget,
-
qt5integration,
-
qt5platform-plugins,
-
gsettings-qt,
-
elfutils,
-
ffmpeg_6,
-
ffmpegthumbnailer,
-
mpv,
-
xorg,
-
pcre,
-
libdvdread,
-
libdvdnav,
-
libunwind,
-
libva,
-
zstd,
-
glib,
-
gst_all_1,
-
gtest,
-
libpulseaudio,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-movie-reborn";
-
version = "6.0.10";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-1UbrNufetedla8TMFPze1hP/R2cZN7SEYEtrK4/5/RQ=";
-
};
-
-
patches = [ ./dont_use_libPath.diff ];
-
-
outputs = [
-
"out"
-
"dev"
-
];
-
-
nativeBuildInputs = [
-
cmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs =
-
[
-
dtkwidget
-
qt5integration
-
qt5platform-plugins
-
libsForQt5.qtx11extras
-
libsForQt5.qtmultimedia
-
libsForQt5.qtdbusextended
-
libsForQt5.qtmpris
-
gsettings-qt
-
elfutils
-
ffmpeg_6
-
ffmpegthumbnailer
-
xorg.libXtst
-
xorg.libXdmcp
-
xorg.xcbproto
-
pcre.dev
-
libdvdread
-
libdvdnav
-
libunwind
-
libva
-
zstd
-
mpv
-
gtest
-
libpulseaudio
-
]
-
++ (with gst_all_1; [
-
gstreamer
-
gst-plugins-base
-
]);
-
-
propagatedBuildInputs = [
-
libsForQt5.qtmultimedia
-
libsForQt5.qtx11extras
-
ffmpegthumbnailer
-
];
-
-
env.NIX_CFLAGS_COMPILE = toString [
-
"-I${gst_all_1.gstreamer.dev}/include/gstreamer-1.0"
-
"-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0"
-
];
-
-
cmakeFlags = [ "-DVERSION=${version}" ];
-
-
strictDeps = true;
-
-
qtWrapperArgs = [
-
"--prefix LD_LIBRARY_PATH : ${
-
lib.makeLibraryPath [
-
mpv
-
ffmpeg_6
-
ffmpegthumbnailer
-
gst_all_1.gstreamer
-
gst_all_1.gst-plugins-base
-
]
-
}"
-
];
-
-
preFixup = ''
-
glib-compile-schemas ${glib.makeSchemaPath "$out" "${pname}-${version}"}
-
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
-
'';
-
-
meta = with lib; {
-
description = "Full-featured video player supporting playing local and streaming media in multiple video formats";
-
mainProgram = "deepin-movie";
-
homepage = "https://github.com/linuxdeepin/deepin-movie-reborn";
-
license = licenses.gpl3Plus;
-
platforms = platforms.linux;
-
maintainers = teams.deepin.members;
-
broken = true; # Crash when playing any video
-
};
-
}
-108
pkgs/desktops/deepin/apps/deepin-movie-reborn/dont_use_libPath.diff
···
-
diff --git a/src/backends/mpv/mpv_proxy.h b/src/backends/mpv/mpv_proxy.h
-
index 1256a06..d76d1c0 100644
-
--- a/src/backends/mpv/mpv_proxy.h
-
+++ b/src/backends/mpv/mpv_proxy.h
-
@@ -38,6 +38,7 @@ typedef void (*mpv_terminateDestroy)(mpv_handle *ctx);
-
-
static QString libPath(const QString &sLib)
-
{
-
+ return sLib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/common/hwdec_probe.cpp b/src/common/hwdec_probe.cpp
-
index d70ed0c..ac2516d 100644
-
--- a/src/common/hwdec_probe.cpp
-
+++ b/src/common/hwdec_probe.cpp
-
@@ -83,6 +83,7 @@ bool HwdecProbe::isFileCanHwdec(const QUrl& url, QList<QString>& hwList)
-
-
static QString libPath(const QString &sLib)
-
{
-
+ return sLib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/common/platform/platform_thumbnail_worker.cpp b/src/common/platform/platform_thumbnail_worker.cpp
-
index 17b2bdd..82db2b9 100644
-
--- a/src/common/platform/platform_thumbnail_worker.cpp
-
+++ b/src/common/platform/platform_thumbnail_worker.cpp
-
@@ -88,6 +88,7 @@ Platform_ThumbnailWorker::Platform_ThumbnailWorker()
-
-
QString Platform_ThumbnailWorker::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString lib_path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(lib_path);
-
diff --git a/src/common/thumbnail_worker.cpp b/src/common/thumbnail_worker.cpp
-
index 2ba2888..c34841e 100644
-
--- a/src/common/thumbnail_worker.cpp
-
+++ b/src/common/thumbnail_worker.cpp
-
@@ -88,6 +88,7 @@ ThumbnailWorker::ThumbnailWorker()
-
-
QString ThumbnailWorker::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString lib_path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(lib_path);
-
diff --git a/src/libdmr/compositing_manager.cpp b/src/libdmr/compositing_manager.cpp
-
index 9b117fc..28a11ec 100644
-
--- a/src/libdmr/compositing_manager.cpp
-
+++ b/src/libdmr/compositing_manager.cpp
-
@@ -237,6 +237,7 @@ bool CompositingManager::isCanHwdec()
-
-
QString CompositingManager::libPath(const QString &sLib)
-
{
-
+ return sLib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/libdmr/filefilter.cpp b/src/libdmr/filefilter.cpp
-
index 6691df0..b620a62 100644
-
--- a/src/libdmr/filefilter.cpp
-
+++ b/src/libdmr/filefilter.cpp
-
@@ -72,6 +72,7 @@ FileFilter::FileFilter()
-
-
QString FileFilter::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/libdmr/playlist_model.cpp b/src/libdmr/playlist_model.cpp
-
index 18a8095..9ea4abf 100644
-
--- a/src/libdmr/playlist_model.cpp
-
+++ b/src/libdmr/playlist_model.cpp
-
@@ -449,6 +449,7 @@ PlaylistModel::PlaylistModel(PlayerEngine *e)
-
-
QString PlaylistModel::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/widgets/platform/platform_toolbox_proxy.cpp b/src/widgets/platform/platform_toolbox_proxy.cpp
-
index 570acac..9da0f97 100644
-
--- a/src/widgets/platform/platform_toolbox_proxy.cpp
-
+++ b/src/widgets/platform/platform_toolbox_proxy.cpp
-
@@ -709,6 +709,7 @@ private:
-
-
static QString libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/widgets/toolbox_proxy.cpp b/src/widgets/toolbox_proxy.cpp
-
index 05cbc2c..54731bf 100644
-
--- a/src/widgets/toolbox_proxy.cpp
-
+++ b/src/widgets/toolbox_proxy.cpp
-
@@ -760,6 +760,7 @@ private:
-
-
static QString libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-105
pkgs/desktops/deepin/apps/deepin-screen-recorder/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
pkg-config,
-
libsForQt5,
-
dtkwidget,
-
qt5integration,
-
dde-qt-dbus-factory,
-
image-editor,
-
gsettings-qt,
-
xorg,
-
libusb1,
-
libv4l,
-
ffmpeg,
-
ffmpegthumbnailer,
-
portaudio,
-
dwayland,
-
udev,
-
gst_all_1,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-screen-recorder";
-
version = "6.0.6";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-nE+axTUxWCcgrxQ5y2cjkVswW2rwv/We0m7XgB4shko=";
-
};
-
-
patches = [ ./dont_use_libPath.diff ];
-
-
# disable dock plugins, it's part of dde-shell now
-
postPatch = ''
-
substituteInPlace screen_shot_recorder.pro \
-
--replace-fail " src/dde-dock-plugins" ""
-
(
-
shopt -s globstar
-
substituteInPlace **/*.pro **/*.service **/*.desktop \
-
--replace-quiet "/usr/" "$out/"
-
)
-
'';
-
-
nativeBuildInputs = [
-
libsForQt5.qmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs =
-
[
-
dtkwidget
-
dde-qt-dbus-factory
-
qt5integration
-
libsForQt5.qtbase
-
libsForQt5.qtmultimedia
-
libsForQt5.qtx11extras
-
image-editor
-
gsettings-qt
-
xorg.libXdmcp
-
xorg.libXtst
-
xorg.libXcursor
-
libusb1
-
libv4l
-
ffmpeg
-
ffmpegthumbnailer
-
portaudio
-
dwayland
-
udev
-
]
-
++ (with gst_all_1; [
-
gstreamer
-
gst-plugins-base
-
gst-plugins-good
-
]);
-
-
qtWrapperArgs = [
-
"--prefix LD_LIBRARY_PATH : ${
-
lib.makeLibraryPath [
-
udev
-
gst_all_1.gstreamer
-
libv4l
-
ffmpeg
-
ffmpegthumbnailer
-
]
-
}"
-
];
-
-
preFixup = ''
-
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
-
'';
-
-
meta = {
-
description = "Screen recorder application for dde";
-
homepage = "https://github.com/linuxdeepin/deepin-screen-recorder";
-
license = lib.licenses.gpl3Plus;
-
platforms = lib.platforms.linux;
-
maintainers = lib.teams.deepin.members;
-
broken = true;
-
};
-
}
-36
pkgs/desktops/deepin/apps/deepin-screen-recorder/dont_use_libPath.diff
···
-
diff --git a/src/gstrecord/gstinterface.cpp b/src/gstrecord/gstinterface.cpp
-
index 165a7ce..e1574a5 100644
-
--- a/src/gstrecord/gstinterface.cpp
-
+++ b/src/gstrecord/gstinterface.cpp
-
@@ -49,6 +49,7 @@ gstInterface::gstInterface()
-
}
-
QString gstInterface::libPath(const QString &sLib)
-
{
-
+ return sLib;
-
qInfo() << "gstreamer lib name is " << sLib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
diff --git a/src/main_window.cpp b/src/main_window.cpp
-
index e0f6bc5..757abad 100755
-
--- a/src/main_window.cpp
-
+++ b/src/main_window.cpp
-
@@ -559,6 +559,7 @@ void MainWindow::initDynamicLibPath()
-
}
-
QString MainWindow::libPath(const QString &strlib)
-
{
-
+ return strlib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-
diff --git a/src/waylandrecord/avlibinterface.cpp b/src/waylandrecord/avlibinterface.cpp
-
index b4145fa..97a3f5c 100644
-
--- a/src/waylandrecord/avlibinterface.cpp
-
+++ b/src/waylandrecord/avlibinterface.cpp
-
@@ -105,6 +105,7 @@ avlibInterface::avlibInterface()
-
-
QString avlibInterface::libPath(const QString &sLib)
-
{
-
+ return sLib;
-
QDir dir;
-
QString path = QLibraryInfo::location(QLibraryInfo::LibrariesPath);
-
dir.setPath(path);
-89
pkgs/desktops/deepin/apps/deepin-voice-note/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
cmake,
-
pkg-config,
-
libsForQt5,
-
dtkwidget,
-
qt5integration,
-
qt5platform-plugins,
-
dde-qt-dbus-factory,
-
deepin-movie-reborn,
-
libvlc,
-
gst_all_1,
-
gtest,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-voice-note";
-
version = "6.0.18";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-GbSYXwJoNfbg+31454GjMbXRqrtk2bSZJCk18ILfAn4=";
-
};
-
-
patches = [ ./use_v23_dbus_interface.diff ];
-
-
postPatch = ''
-
substituteInPlace CMakeLists.txt \
-
--replace "/usr" "$out"
-
substituteInPlace src/common/audiowatcher.cpp \
-
--replace "/usr/share" "$out/share"
-
'';
-
-
nativeBuildInputs = [
-
cmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs =
-
[
-
libsForQt5.qtbase
-
libsForQt5.qtsvg
-
dtkwidget
-
qt5integration
-
qt5platform-plugins
-
dde-qt-dbus-factory
-
deepin-movie-reborn
-
libsForQt5.qtmultimedia
-
libsForQt5.qtwebengine
-
libvlc
-
gtest
-
]
-
++ (with gst_all_1; [
-
gstreamer
-
gst-plugins-base
-
]);
-
-
strictDeps = true;
-
-
cmakeFlags = [ "-DVERSION=${version}" ];
-
-
qtWrapperArgs = [
-
"--prefix LD_LIBRARY_PATH : ${
-
lib.makeLibraryPath [
-
gst_all_1.gstreamer
-
gst_all_1.gst-plugins-base
-
]
-
}"
-
];
-
-
preFixup = ''
-
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
-
'';
-
-
meta = {
-
description = "Simple memo software with texts and voice recordings";
-
mainProgram = "deepin-voice-note";
-
homepage = "https://github.com/linuxdeepin/deepin-voice-note";
-
license = lib.licenses.gpl3Plus;
-
platforms = lib.platforms.linux;
-
maintainers = lib.teams.deepin.members;
-
};
-
}
-13
pkgs/desktops/deepin/apps/deepin-voice-note/use_v23_dbus_interface.diff
···
-
diff --git a/CMakeLists.txt b/CMakeLists.txt
-
index e7bfb81..f56f11a 100644
-
--- a/CMakeLists.txt
-
+++ b/CMakeLists.txt
-
@@ -103,7 +103,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-all")
-
execute_process(COMMAND cat /etc/os-version OUTPUT_VARIABLE OS_INFO_STR)
-
string(REGEX MATCHALL "MajorVersion=[0-9]+" MAJOR_STR "${OS_INFO_STR}")
-
string(REGEX MATCH "[0-9]+" MAJOR_VERSION "${MAJOR_STR}")
-
-if (MAJOR_VERSION MATCHES "23")
-
+if (TRUE)
-
message("--------------------- OS_BUILD_V23 on")
-
add_definitions(-DOS_BUILD_V23)
-
endif()
+8 -8
pkgs/desktops/deepin/default.nix
···
qt5platform-plugins = callPackage ./library/qt5platform-plugins { };
qt5integration = callPackage ./library/qt5integration { };
deepin-wayland-protocols = callPackage ./library/deepin-wayland-protocols { };
-
deepin-ocr-plugin-manager = callPackage ./library/deepin-ocr-plugin-manager { };
dwayland = callPackage ./library/dwayland { };
dde-qt-dbus-factory = callPackage ./library/dde-qt-dbus-factory { };
disomaster = callPackage ./library/disomaster { };
docparser = callPackage ./library/docparser { };
gio-qt = callPackage ./library/gio-qt { };
-
image-editor = callPackage ./library/image-editor { };
udisks2-qt5 = callPackage ./library/udisks2-qt5 { };
util-dfm = callPackage ./library/util-dfm { };
dtk6core = callPackage ./library/dtk6core { };
···
dde-api-proxy = callPackage ./core/dde-api-proxy { };
#### Dtk Application
-
deepin-album = callPackage ./apps/deepin-album { };
deepin-calculator = callPackage ./apps/deepin-calculator { };
-
deepin-camera = callPackage ./apps/deepin-camera { };
deepin-compressor = callPackage ./apps/deepin-compressor { };
deepin-draw = callPackage ./apps/deepin-draw { };
deepin-editor = callPackage ./apps/deepin-editor { };
-
deepin-image-viewer = callPackage ./apps/deepin-image-viewer { };
-
deepin-movie-reborn = callPackage ./apps/deepin-movie-reborn { };
deepin-music = callPackage ./apps/deepin-music { };
deepin-picker = callPackage ./apps/deepin-picker { };
-
deepin-screen-recorder = callPackage ./apps/deepin-screen-recorder { };
deepin-shortcut-viewer = callPackage ./apps/deepin-shortcut-viewer { };
deepin-system-monitor = callPackage ./apps/deepin-system-monitor { };
deepin-terminal = callPackage ./apps/deepin-terminal { };
deepin-reader = callPackage ./apps/deepin-reader { };
-
deepin-voice-note = callPackage ./apps/deepin-voice-note { };
deepin-screensaver = callPackage ./apps/deepin-screensaver { };
#### Go Packages
···
go-lib = throw "Then 'deepin.go-lib' package was removed, use 'go mod' to manage it"; # added 2024-05-31
go-gir-generator = throw "Then 'deepin.go-gir-generator' package was removed, use 'go mod' to manage it"; # added 2024-05-31
go-dbus-factory = throw "Then 'deepin.go-dbus-factory' package was removed, use 'go mod' to manage it"; # added 2024-05-31
+
deepin-movie-reborn = throw "'deepin.deepin-movie-reborn' has been removed as it was broken and unmaintained in nixpkgs, Please use 'vlc' instead"; # added 2025-01-16;
+
deepin-album = throw "'deepin.deepin-album' has been removed as it was broken and unmaintained in nixpkgs, Please use 'kdePackages.gwenview' instead"; # added 2025-01-16
+
deepin-voice-note = throw "'deepin.deepin-voice-note' has been removed as it depending on deepin-movie-reborn which was broken"; # added 2025-01-16
+
deepin-screen-recorder = throw "'deepin.deepin-screen-recorder' has been removed as it was broken and unmaintained in nixpkgs, Please use 'flameshot' or 'simplescreenrecorder' instead"; # added 2025-01-16
+
deepin-ocr-plugin-manager = throw "'deepin.deepin-ocr-plugin-manager' has been removed as it was outdated"; # added 2025-01-16
+
deepin-camera = throw "'deepin.deepin-camera' has been removed as it was unmaintained in nixpkgs, Please use 'snapshot' instead"; # added 2025-01-16
+
deepin-image-viewer = throw "'deepin.deepin-image-viewer' has been removed as it was broken and unmaintained in nixpkgs, Please use 'kdePackages.gwenview' instead"; # added 2025-01-16
+
image-editor = throw "'deepin.image-editor' has been removed as it was unmaintained in nixpkgs"; # added 2025-01-16
};
in
lib.makeScope pkgs.newScope packages
-59
pkgs/desktops/deepin/library/deepin-ocr-plugin-manager/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
pkg-config,
-
cmake,
-
libsForQt5,
-
ncnn,
-
opencv,
-
vulkan-headers,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "deepin-ocr-plugin-manager";
-
version = "unstable-2023-07-10";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = "9b5c9e57c83b5adde383ed404b73f9dcbf5e6a48";
-
hash = "sha256-U5lxAKTaQvvlqbqRezPIcBGg+DpF1hZ204Y1+8dt14U=";
-
};
-
-
# don't use vendored opencv
-
postPatch = ''
-
substituteInPlace src/CMakeLists.txt \
-
--replace "opencv_mobile" "opencv4"
-
substituteInPlace src/paddleocr-ncnn/paddleocr.cpp \
-
--replace "/usr" "$out"
-
'';
-
-
nativeBuildInputs = [
-
cmake
-
libsForQt5.qttools
-
pkg-config
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs = [
-
ncnn
-
opencv
-
vulkan-headers
-
];
-
-
strictDeps = true;
-
-
cmakeFlags = [
-
"-DCMAKE_INSTALL_LIBDIR=lib"
-
"-DCMAKE_INSTALL_INCLUDEDIR=include"
-
];
-
-
meta = with lib; {
-
description = "Plugin manager of optical character recognition for DDE";
-
homepage = "https://github.com/linuxdeepin/deepin-ocr-plugin-manager";
-
license = licenses.gpl3Plus;
-
platforms = platforms.linux;
-
maintainers = teams.deepin.members;
-
};
-
}
-57
pkgs/desktops/deepin/library/image-editor/default.nix
···
-
{
-
stdenv,
-
lib,
-
fetchFromGitHub,
-
dtkwidget,
-
cmake,
-
libsForQt5,
-
pkg-config,
-
opencv,
-
freeimage,
-
libmediainfo,
-
ffmpegthumbnailer,
-
pcre,
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "image-editor";
-
version = "1.0.41";
-
-
src = fetchFromGitHub {
-
owner = "linuxdeepin";
-
repo = pname;
-
rev = version;
-
hash = "sha256-9V9B0YSUTWv/4IbTRtKJSVrZx6j8jqJxIIR9TwUZ0U0=";
-
};
-
-
postPatch = ''
-
substituteInPlace libimageviewer/CMakeLists.txt --replace '/usr' '$out'
-
substituteInPlace libimagevisualresult/CMakeLists.txt --replace '/usr' '$out'
-
'';
-
-
nativeBuildInputs = [
-
cmake
-
pkg-config
-
libsForQt5.qttools
-
libsForQt5.wrapQtAppsHook
-
];
-
-
buildInputs = [
-
dtkwidget
-
opencv
-
freeimage
-
libmediainfo
-
ffmpegthumbnailer
-
pcre
-
];
-
-
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
-
-
meta = with lib; {
-
description = "Image editor lib for dtk";
-
homepage = "https://github.com/linuxdeepin/image-editor";
-
license = licenses.gpl3Plus;
-
platforms = platforms.linux;
-
maintainers = teams.deepin.members;
-
};
-
}
+2
pkgs/development/coq-modules/CoLoR/default.nix
···
release."1.4.0".rev = "168c6b86c7d3f87ee51791f795a8828b1521589a";
release."1.4.0".sha256 = "1d2whsgs3kcg5wgampd6yaqagcpmzhgb6a0hp6qn4lbimck5dfmm";
+
mlPlugin = true; /* uses coq-bignums.plugin */
+
propagatedBuildInputs = [ bignums ];
enableParallelBuilding = false;
+2
pkgs/development/coq-modules/coqprime/default.nix
···
release."8.7.2".sha256 = "15zlcrx06qqxjy3nhh22wzy0rb4npc8l4nx2bbsfsvrisbq1qb7k";
releaseRev = v: "v${v}";
+
mlPlugin = true; /* uses coq-bignums.plugin */
+
propagatedBuildInputs = [ bignums ];
meta = with lib; {
+10 -2
pkgs/development/coq-modules/corn/default.nix
···
coq,
bignums,
math-classes,
+
coq-elpi,
version ? null,
}:
-
mkCoqDerivation rec {
+
(mkCoqDerivation rec {
pname = "corn";
inherit version;
defaultVersion =
···
configureScript = "./configure.sh";
dontAddPrefix = true;
+
mlPlugin = true; /* uses coq-bignums.plugin */
+
propagatedBuildInputs = [
bignums
math-classes
···
description = "Coq library for constructive analysis";
maintainers = [ maintainers.vbgl ];
};
-
}
+
}).overrideAttrs
+
(o: {
+
propagatedBuildInputs =
+
o.propagatedBuildInputs
+
++ lib.optional (lib.versions.isGt "8.19.0" o.version || o.version == "dev") coq-elpi;
+
})
+1 -1
pkgs/development/coq-modules/itauto/default.nix
···
(
o:
lib.optionalAttrs (o.version == "dev" || lib.versionAtLeast o.version "8.16") {
-
propagatedBuildInputs = [ coq.ocamlPackages.findlib ];
+
propagatedBuildInputs = o.propagatedBuildInputs ++ [ coq.ocamlPackages.findlib ];
}
// lib.optionalAttrs (o.version == "dev" || lib.versionAtLeast o.version "8.18") {
nativeBuildInputs = with coq.ocamlPackages; [
+2
pkgs/development/coq-modules/math-classes/default.nix
···
release."8.18.0".sha256 = "sha256-0WwPss8+Vr37zX616xeuS4TvtImtSbToFQkQostIjO8=";
release."8.19.0".sha256 = "sha256-rsV96W9MPFi/DKsepNPm1QnC2DMemio+uALIgzVYw0w=";
+
mlPlugin = true; /* uses coq-bignums.plugin */
+
propagatedBuildInputs = [ bignums ];
meta = {
+6 -3
pkgs/development/interpreters/octave/build-env.nix
···
{ lib, stdenv, octave, buildEnv
-
, makeWrapper, texinfo
+
, makeWrapper
+
, locale, texinfo, glibcLocalesUtf8
, wrapOctave
, computeRequiredOctavePackages
, extraLibs ? []
···
extraOutputsToInstall = [ "out" ] ++ extraOutputsToInstall;
nativeBuildInputs = [ makeWrapper ];
-
buildInputs = [ texinfo wrapOctave ];
+
buildInputs = [ locale texinfo wrapOctave ];
# During "build" we must first unlink the /share symlink to octave's /share
# Then, we can re-symlink the all of octave/share, except for /share/octave
···
cd "${octave}/bin"
for prg in *; do
if [ -x $prg ]; then
-
makeWrapper "${octave}/bin/$prg" "$out/bin/$prg" --set OCTAVE_SITE_INITFILE "$out/share/octave/site/m/startup/octaverc"
+
makeWrapper "${octave}/bin/$prg" "$out/bin/$prg" \
+
--set OCTAVE_SITE_INITFILE "$out/share/octave/site/m/startup/octaverc" \
+
--set LOCALE_ARCHIVE "${glibcLocalesUtf8}/lib/locale/locale-archive"
fi
done
cd $out
+3 -3
pkgs/development/octave-modules/netcdf/default.nix
···
buildOctavePackage rec {
pname = "netcdf";
-
version = "1.0.17";
+
version = "1.0.18";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
-
sha256 = "sha256-uuFD8VNeWbyHFyWMDMzWDd2n+dG9EFmc/JnZU2tx+Uk=";
+
sha256 = "sha256-ydgcKFh4uWuSlr7zw+k1JFUSzGm9tiWmOHV1IWvlgwk=";
};
-
buildInputs = [
+
propagatedBuildInputs = [
netcdf
];
+2 -2
pkgs/development/python-modules/accelerate/default.nix
···
buildPythonPackage rec {
pname = "accelerate";
-
version = "1.2.1";
+
version = "1.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "accelerate";
tag = "v${version}";
-
hash = "sha256-KnFf6ge0vUR/C7Rh/c6ZttCGKo9OUIWCUYxk5O+OW7c=";
+
hash = "sha256-HcbvQL8nASsZcfjAoPbQKNoEkSLp5Vmus2MEa3Dv6Po=";
};
buildInputs = [ llvmPackages.openmp ];
+2 -2
pkgs/development/python-modules/aioairzone/default.nix
···
buildPythonPackage rec {
pname = "aioairzone";
-
version = "0.9.7";
+
version = "0.9.8";
pyproject = true;
disabled = pythonOlder "3.11";
···
owner = "Noltari";
repo = "aioairzone";
tag = version;
-
hash = "sha256-ZD/lJwYiggE7fUVGjimgGQ+H8zCtOZrZRElc0crrKhw=";
+
hash = "sha256-wqJpdD4zd5hToZJaacjhoHEC+rSyLjPs7vwwAN92xHM=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/aiohomeconnect/default.nix
···
buildPythonPackage rec {
pname = "aiohomeconnect";
-
version = "0.11.0";
+
version = "0.11.2";
pyproject = true;
disabled = pythonOlder "3.11";
···
owner = "MartinHjelmare";
repo = "aiohomeconnect";
tag = "v${version}";
-
hash = "sha256-fg3WusrONJtPO/IpHlXzO17C2OuQe28kprXrBG9PqMY=";
+
hash = "sha256-YnQypKeVYoHD445fv9n643qIqjTCInCfbTHPUrMePJI=";
};
pythonRelaxDeps = [ "httpx" ];
+3 -3
pkgs/development/python-modules/asf-search/default.nix
···
buildPythonPackage rec {
pname = "asf-search";
-
version = "8.0.1";
+
version = "8.1.1";
pyproject = true;
-
disabled = pythonOlder "3.8";
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "asfadmin";
repo = "Discovery-asf_search";
tag = "v${version}";
-
hash = "sha256-mOhY64Csxdc/DYS1OlbstxYEodtpXTVyPwd4B1jrDK8=";
+
hash = "sha256-9NyBDpCIsRBPN2965SR106h6hxwML7kXv6sY3YlPseA=";
};
pythonRelaxDeps = [ "tenacity" ];
+3 -3
pkgs/development/python-modules/autopep8/default.nix
···
buildPythonPackage rec {
pname = "autopep8";
-
version = "2.3.1";
+
version = "2.3.2";
pyproject = true;
-
disabled = pythonOlder "3.7";
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "hhatto";
repo = "autopep8";
tag = "v${version}";
-
hash = "sha256-znZw9SnnVMN8XZjko11J5GK/LAk+gmRkTgPEO9+ntJ8=";
+
hash = "sha256-9OJ5XbzpHMHsFjf5oVyHjn5zqmAxRuSItWP4sQx8jD4=";
};
build-system = [ setuptools ];
+6
pkgs/development/python-modules/beartype/default.nix
···
fetchFromGitHub,
hatchling,
pytestCheckHook,
+
pythonAtLeast,
typing-extensions,
}:
···
];
pythonImportsCheck = [ "beartype" ];
+
+
# this test is not run upstream, and broke in 3.13 (_nparams removed)
+
disabledTests = lib.optionals (pythonAtLeast "3.13") [
+
"test_door_is_subhint"
+
];
meta = {
description = "Fast runtime type checking for Python";
+2 -2
pkgs/development/python-modules/boto3-stubs/default.nix
···
buildPythonPackage rec {
pname = "boto3-stubs";
-
version = "1.36.0";
+
version = "1.36.2";
pyproject = true;
disabled = pythonOlder "3.7";
···
src = fetchPypi {
pname = "boto3_stubs";
inherit version;
-
hash = "sha256-L3Zss6EAAMCEZPSJTM5gf2VwRhnJaXGXD9SaaB0IdbM=";
+
hash = "sha256-9AHlhcx99N37PgL7lcXs+G59QVYcPvuAK6RgjhrUtmA=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/botocore-stubs/default.nix
···
buildPythonPackage rec {
pname = "botocore-stubs";
-
version = "1.36.0";
+
version = "1.36.2";
pyproject = true;
disabled = pythonOlder "3.7";
···
src = fetchPypi {
pname = "botocore_stubs";
inherit version;
-
hash = "sha256-cfDQdIZk25v4TMo0Zq7SQnzEao3eN1OVMIsPJxoecZs=";
+
hash = "sha256-yWCewYS9RFEhq1UpZCv3c9Qgzcckfy0HqAghr+mj9nA=";
};
nativeBuildInputs = [ setuptools ];
+2 -2
pkgs/development/python-modules/cyclopts/default.nix
···
buildPythonPackage rec {
pname = "cyclopts";
-
version = "3.2.0";
+
version = "3.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
···
owner = "BrianPugh";
repo = "cyclopts";
tag = "v${version}";
-
hash = "sha256-U2H/SyVqoNlKAiim6FieEQw0SKK/b9diP9AjXb8PZjg=";
+
hash = "sha256-dHmoO9agZBhDviowtvuAox8hJsHcxgQTRxpaYmy50Dk=";
};
build-system = [
+18 -10
pkgs/development/python-modules/django-environ/default.nix
···
{
lib,
buildPythonPackage,
-
fetchPypi,
django,
-
six,
+
fetchPypi,
+
pythonOlder,
+
setuptools,
}:
buildPythonPackage rec {
pname = "django-environ";
-
version = "0.11.2";
-
format = "setuptools";
+
version = "0.12.0";
+
pyproject = true;
+
+
disabled = pythonOlder "3.9";
src = fetchPypi {
-
inherit pname version;
-
hash = "sha256-8yqHqgiZiUwn1OF3b6a0d+gWTtf2s+QQpiptcsqvZL4=";
+
pname = "django_environ";
+
inherit version;
+
hash = "sha256-In3IkUU91b3nacNEnPSnS28u6PerI2HJOgcGj0F5BBo=";
};
+
build-system = [ setuptools ];
+
+
buildInputs = [ django ];
+
# The testsuite fails to modify the base environment
doCheck = false;
-
propagatedBuildInputs = [
-
django
-
six
-
];
+
+
pythonImportsCheck = [ "environ" ];
meta = with lib; {
description = "Utilize environment variables to configure your Django application";
homepage = "https://github.com/joke2k/django-environ/";
+
changelog = "https://github.com/joke2k/django-environ/releases/tag/v${version}";
license = licenses.mit;
+
maintainers = with maintainers; [ ];
};
}
+13 -10
pkgs/development/python-modules/django-htmx/default.nix
···
{
lib,
-
buildPythonPackage,
-
fetchFromGitHub,
-
setuptools,
asgiref,
+
buildPythonPackage,
django,
-
pytestCheckHook,
+
fetchFromGitHub,
pytest-django,
+
pytestCheckHook,
+
pythonOlder,
+
setuptools,
}:
buildPythonPackage rec {
pname = "django-htmx";
-
version = "1.19.0";
+
version = "1.21.0";
pyproject = true;
+
disabled = pythonOlder "3.9";
+
src = fetchFromGitHub {
owner = "adamchainz";
repo = "django-htmx";
rev = version;
-
hash = "sha256-nSutErUkFafKjBswhC+Lrn39MgCbCrzttAx1a+qt1so=";
+
hash = "sha256-2zmCJ+oHvw21lvCgAFja2LRPA6LNWep4uRor0z1Ft6g=";
};
build-system = [ setuptools ];
-
dependencies = [
-
asgiref
-
django
-
];
+
buildInputs = [ django ];
+
+
dependencies = [ asgiref ];
nativeCheckInputs = [
pytestCheckHook
···
meta = {
description = "Extensions for using Django with htmx";
homepage = "https://github.com/adamchainz/django-htmx";
+
changelog = "https://github.com/adamchainz/django-htmx/blob/${version}/docs/changelog.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ minijackson ];
};
+2 -2
pkgs/development/python-modules/django-import-export/default.nix
···
buildPythonPackage rec {
pname = "django-import-export";
-
version = "4.3.3";
+
version = "4.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "django-import-export";
repo = "django-import-export";
tag = version;
-
hash = "sha256-1vb8a0ntp5ikWrJ3aI4KsGlraXRoFa7o+sP2sJpFbVc=";
+
hash = "sha256-o21xT+gu1vuar/QJbXhg2hpHkrBCVOMhGAFngi32d10=";
};
pythonRelaxDeps = [ "tablib" ];
+16 -11
pkgs/development/python-modules/django-taggit/default.nix
···
{
lib,
buildPythonPackage,
-
pythonOlder,
-
fetchPypi,
django,
djangorestframework,
+
fetchFromGitHub,
python,
+
pythonOlder,
+
setuptools,
}:
buildPythonPackage rec {
pname = "django-taggit";
-
version = "5.0.1";
-
format = "setuptools";
+
version = "6.1.0";
+
pyproject = true;
disabled = pythonOlder "3.7";
-
src = fetchPypi {
-
inherit pname version;
-
hash = "sha256-7c19seDzXDBOCCovYx3awuFu9SlgKVJOt5KvdDDKtMw=";
+
src = fetchFromGitHub {
+
owner = "jazzband";
+
repo = "django-taggit";
+
tag = version;
+
hash = "sha256-QLJhO517VONuf+8rrpZ6SXMP/WWymOIKfd4eyviwCsU=";
};
-
propagatedBuildInputs = [ django ];
+
build-system = [ setuptools ];
-
pythonImportsCheck = [ "taggit" ];
+
buildInputs = [ django ];
nativeCheckInputs = [ djangorestframework ];
+
pythonImportsCheck = [ "taggit" ];
+
checkPhase = ''
# prove we're running tests against installed package, not build dir
rm -r taggit
# Replace directory of locale
-
substituteInPlace ./tests/test_utils.py \
-
--replace 'os.path.dirname(__file__), ".."' "\"$out/lib/python${lib.versions.majorMinor python.version}/site-packages/\""
+
substituteInPlace tests/test_utils.py \
+
--replace-fail 'os.path.dirname(__file__), ".."' "\"$out/lib/python${lib.versions.majorMinor python.version}/site-packages/\""
${python.interpreter} -m django test --settings=tests.settings
'';
+2 -2
pkgs/development/python-modules/fedora-messaging/default.nix
···
buildPythonPackage rec {
pname = "fedora-messaging";
-
version = "3.6.0";
+
version = "3.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fedora-infra";
repo = "fedora-messaging";
tag = "v${version}";
-
hash = "sha256-t5jwEgKLSB8APie+TD3WpgPYcAAPzEQLA+jXGlWVuNU=";
+
hash = "sha256-MBvFrOUrcPhsFR9yD7yqRM4Yf2StcNvL3sqFIn6XbMc=";
};
build-system = [ poetry-core ];
+12 -7
pkgs/development/python-modules/fireflyalgorithm/default.nix
···
buildPythonPackage rec {
pname = "fireflyalgorithm";
-
version = "0.4.5";
+
version = "0.4.6";
pyproject = true;
disabled = pythonOlder "3.9";
···
owner = "firefly-cpp";
repo = "FireflyAlgorithm";
tag = version;
-
hash = "sha256-dJnjeJN9NI8G/haYeOiMtAl56cExqMk0iTWpaybl4nE=";
+
hash = "sha256-NMmwjKtIk8KR0YXXSXkJhiQsbjMusaLnstUWx0izCNA=";
};
-
nativeBuildInputs = [ poetry-core ];
+
postPatch = ''
+
substituteInPlace pyproject.toml \
+
--replace-fail 'numpy = "^1.26.1"' ""
+
'';
+
+
build-system = [ poetry-core ];
-
propagatedBuildInputs = [ numpy ];
+
dependencies = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fireflyalgorithm" ];
-
meta = with lib; {
+
meta = {
description = "Implementation of the stochastic nature-inspired algorithm for optimization";
mainProgram = "firefly-algorithm";
homepage = "https://github.com/firefly-cpp/FireflyAlgorithm";
changelog = "https://github.com/firefly-cpp/FireflyAlgorithm/blob/${version}/CHANGELOG.md";
-
license = licenses.mit;
-
maintainers = with maintainers; [ firefly-cpp ];
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ firefly-cpp ];
};
}
+11 -7
pkgs/development/python-modules/formencode/default.nix
···
{
lib,
buildPythonPackage,
-
isPy27,
+
pythonOlder,
fetchPypi,
setuptools-scm,
six,
dnspython,
+
legacy-cgi,
pycountry,
pytestCheckHook,
}:
···
buildPythonPackage rec {
pname = "formencode";
version = "2.1.0";
-
format = "setuptools";
+
pyproject = true;
-
disabled = isPy27;
+
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "FormEncode";
···
sed -i '/setuptools_scm_git_archive/d' setup.py
'';
-
nativeBuildInputs = [ setuptools-scm ];
+
build-system = [ setuptools-scm ];
-
propagatedBuildInputs = [ six ];
+
dependencies = [
+
six
+
legacy-cgi
+
];
nativeCheckInputs = [
dnspython
···
"test_unicode_ascii_subgroup"
];
-
meta = with lib; {
+
meta = {
description = "FormEncode validates and converts nested structures";
homepage = "http://formencode.org";
-
license = licenses.mit;
+
license = lib.licenses.mit;
maintainers = [ ];
};
}
+2 -2
pkgs/development/python-modules/globus-sdk/default.nix
···
buildPythonPackage rec {
pname = "globus-sdk";
-
version = "3.49.0";
+
version = "3.50.0";
pyproject = true;
disabled = pythonOlder "3.7";
···
owner = "globus";
repo = "globus-sdk-python";
tag = version;
-
hash = "sha256-gqY26EoVUgpNQ83Egmnb/mBnLcB6MmFNs4W7ZsZziK0=";
+
hash = "sha256-gjctcpaV9L8x4ubS4Ox6kyNG7/kl7tZt9c9/7SWVXkg=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/gotenberg-client/default.nix
···
}:
buildPythonPackage rec {
pname = "gotenberg-client";
-
version = "0.8.2";
+
version = "0.9.0";
pyproject = true;
disabled = pythonOlder "3.9";
···
owner = "stumpylog";
repo = "gotenberg-client";
tag = version;
-
hash = "sha256-EMukzSY8nfm1L1metGhiEc9VqnI/vaLz7ITgbZi0fBw=";
+
hash = "sha256-4tIkwfqFKERVQMB9nGwGfdMtxCWm3q4hrSWnEqA0qd8=";
};
nativeBuildInputs = [ hatchling ];
+2 -2
pkgs/development/python-modules/griffe/default.nix
···
buildPythonPackage rec {
pname = "griffe";
-
version = "1.5.4";
+
version = "1.5.5";
pyproject = true;
disabled = pythonOlder "3.8";
···
owner = "mkdocstrings";
repo = "griffe";
tag = version;
-
hash = "sha256-F1/SjWy32d/CU86ZR/PK0QPiRMEbUNNeomZOBP/3K/k=";
+
hash = "sha256-SyyyNBhJVVKAzPl288B7E2PoqNd9Pp9VmSJASYez6Gs=";
};
build-system = [ pdm-backend ];
+3 -3
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
···
buildPythonPackage rec {
pname = "ibm-cloud-sdk-core";
-
version = "3.22.0";
+
version = "3.22.1";
pyproject = true;
-
disabled = pythonOlder "3.8";
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "IBM";
repo = "python-sdk-core";
tag = "v${version}";
-
hash = "sha256-gNEd79kOtDlFJg3Ji9kO6VGGsy/VGxd6GzC/cuen9M0=";
+
hash = "sha256-wXffw+/esHvWxrNdlnYLTPflgOaRyIdf0hxI4M12Xdc=";
};
pythonRelaxDeps = [ "requests" ];
+8 -19
pkgs/development/python-modules/icalevents/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
-
fetchpatch2,
pythonOlder,
pytestCheckHook,
poetry-core,
-
httplib2,
icalendar,
+
pook,
python-dateutil,
pytz,
+
urllib3,
}:
buildPythonPackage rec {
pname = "icalevents";
-
version = "0.1.29";
+
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.9";
···
owner = "jazzband";
repo = "icalevents";
tag = "v${version}";
-
hash = "sha256-Bp+Wz88q65Gem8LyRz0A4xE5hIgOD+iZ7E1UlnfFiD4=";
+
hash = "sha256-xIio+zJtIa0mM7aHFHm1QW36hww82h4A1YWaWUCxx14=";
};
-
patches = [
-
(fetchpatch2 {
-
name = "icalendar-v6-compat.patch";
-
url = "https://github.com/jazzband/icalevents/commit/fa925430bd63e46b0941b84a1ae2c9a063f2f720.patch";
-
hash = "sha256-MeRC3iJ5raKvl9udzv/44Vs34LxSzq1S6VVKAVFSpiY=";
-
})
-
];
-
build-system = [
poetry-core
];
dependencies = [
-
httplib2
icalendar
python-dateutil
pytz
+
urllib3
];
-
pythonRelaxDeps = [
-
"httplib2"
-
"icalendar"
-
"pytz"
+
nativeCheckInputs = [
+
pook
+
pytestCheckHook
];
-
-
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Makes HTTP calls
+4 -5
pkgs/development/python-modules/libcst/default.nix
···
buildPythonPackage rec {
pname = "libcst";
-
version = "1.5.1";
+
version = "1.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
···
owner = "Instagram";
repo = "LibCST";
tag = "v${version}";
-
hash = "sha256-fveY4ah94pv9ImI36MNrrxTpZv/DtLb45pXm67L8/GA=";
+
hash = "sha256-OuokZvdaCTgZI1VoXInqs6YNLsVUohaat5IjYYvUeVE=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
-
inherit src;
+
inherit pname version src;
sourceRoot = "${src.name}/${cargoRoot}";
-
name = "${pname}-${version}";
-
hash = "sha256-TcWGW1RF2se89BtvQHO+4BwnRMZ8ygqO3du9Q/gZi/Q=";
+
hash = "sha256-+sCBkCR2CxgG/NuWch8sZTCitKynZmF221mR16TbQKI=";
};
cargoRoot = "native";
+3 -3
pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
···
buildPythonPackage rec {
pname = "marshmallow-sqlalchemy";
-
version = "1.1.0";
+
version = "1.3.0";
pyproject = true;
-
disabled = pythonOlder "3.8";
+
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "marshmallow_sqlalchemy";
inherit version;
-
hash = "sha256-KrCS2iadr6igXVGlhAmvcajSGDlYukcUMSfdI54DWdg=";
+
hash = "sha256-Xd9YPddf31qzHfdph82iupGUKZa6XVd+ktZ0j6k6X1I=";
};
build-system = [ flit-core ];
+109
pkgs/development/python-modules/mlxtend/0001-fix-test-replace-np.float_-to-np.float64.patch
···
+
From 360cb75317aecaf6b9abcf24f0577afef75c464e Mon Sep 17 00:00:00 2001
+
From: wxt <3264117476@qq.com>
+
Date: Mon, 6 Jan 2025 20:41:27 +0800
+
Subject: [PATCH] fix(test): replace np.float_ to np.float64
+
+
---
+
mlxtend/_base/_regressor.py | 2 +-
+
mlxtend/_base/tests/test_classifier.py | 2 +-
+
mlxtend/_base/tests/test_cluster.py | 2 +-
+
mlxtend/classifier/multilayerperceptron.py | 2 +-
+
mlxtend/classifier/softmax_regression.py | 2 +-
+
mlxtend/math/linalg.py | 2 +-
+
mlxtend/plotting/tests/test_decision_regions.py | 2 +-
+
7 files changed, 7 insertions(+), 7 deletions(-)
+
+
diff --git a/mlxtend/_base/_regressor.py b/mlxtend/_base/_regressor.py
+
index e3d0a1d..1d3a5d6 100644
+
--- a/mlxtend/_base/_regressor.py
+
+++ b/mlxtend/_base/_regressor.py
+
@@ -16,7 +16,7 @@ class _Regressor(object):
+
pass
+
+
def _check_target_array(self, y, allowed=None):
+
- if not isinstance(y[0], (float, np.float_)):
+
+ if not isinstance(y[0], (float, np.float64)):
+
raise AttributeError("y must be a float array.\nFound %s" % y.dtype)
+
+
def fit(self, X, y, init_params=True):
+
diff --git a/mlxtend/_base/tests/test_classifier.py b/mlxtend/_base/tests/test_classifier.py
+
index f77f74d..1bbac6d 100644
+
--- a/mlxtend/_base/tests/test_classifier.py
+
+++ b/mlxtend/_base/tests/test_classifier.py
+
@@ -51,7 +51,7 @@ def test_check_labels_not_ok_1():
+
+
+
def test_check_labels_integer_notok():
+
- y = np.array([1.0, 2.0], dtype=np.float_)
+
+ y = np.array([1.0, 2.0], dtype=np.float64)
+
cl = BlankClassifier(print_progress=0, random_seed=1)
+
with pytest.raises(AttributeError) as excinfo:
+
cl._check_target_array(y)
+
diff --git a/mlxtend/_base/tests/test_cluster.py b/mlxtend/_base/tests/test_cluster.py
+
index 6da1a9d..54c2526 100644
+
--- a/mlxtend/_base/tests/test_cluster.py
+
+++ b/mlxtend/_base/tests/test_cluster.py
+
@@ -51,7 +51,7 @@ def test_check_labels_not_ok_1():
+
+
+
def test_check_labels_integer_notok():
+
- y = np.array([1.0, 2.0], dtype=np.float_)
+
+ y = np.array([1.0, 2.0], dtype=np.float64)
+
cl = BlankClassifier(print_progress=0, random_seed=1)
+
with pytest.raises(AttributeError) as excinfo:
+
cl._check_target_array(y)
+
diff --git a/mlxtend/classifier/multilayerperceptron.py b/mlxtend/classifier/multilayerperceptron.py
+
index 770dab9..05416c3 100644
+
--- a/mlxtend/classifier/multilayerperceptron.py
+
+++ b/mlxtend/classifier/multilayerperceptron.py
+
@@ -143,7 +143,7 @@ class MultiLayerPerceptron(
+
prev_grad_b_out = np.zeros(shape=self.b_["out"].shape)
+
prev_grad_w_out = np.zeros(shape=self.w_["out"].shape)
+
+
- y_enc = self._one_hot(y=y, n_labels=self.n_classes, dtype=np.float_)
+
+ y_enc = self._one_hot(y=y, n_labels=self.n_classes, dtype=np.float64)
+
+
self.init_time_ = time()
+
+
diff --git a/mlxtend/classifier/softmax_regression.py b/mlxtend/classifier/softmax_regression.py
+
index 56444e5..173154e 100644
+
--- a/mlxtend/classifier/softmax_regression.py
+
+++ b/mlxtend/classifier/softmax_regression.py
+
@@ -141,7 +141,7 @@ class SoftmaxRegression(_BaseModel, _IterativeModel, _Classifier, _MultiClass):
+
)
+
self.cost_ = []
+
+
- y_enc = self._one_hot(y=y, n_labels=self.n_classes, dtype=np.float_)
+
+ y_enc = self._one_hot(y=y, n_labels=self.n_classes, dtype=np.float64)
+
+
self.init_time_ = time()
+
rgen = np.random.RandomState(self.random_seed)
+
diff --git a/mlxtend/math/linalg.py b/mlxtend/math/linalg.py
+
index 02600f1..ece4c3c 100644
+
--- a/mlxtend/math/linalg.py
+
+++ b/mlxtend/math/linalg.py
+
@@ -45,7 +45,7 @@ def vectorspace_orthonormalization(ary, eps=1e-13): # method='gram-schmidt',
+
# 2c) Normalize if linearly independent,
+
# and set to zero otherwise
+
+
- arr = ary.astype(np.float_).copy()
+
+ arr = ary.astype(np.float64).copy()
+
+
for i in range(arr.shape[1]):
+
for j in range(i):
+
diff --git a/mlxtend/plotting/tests/test_decision_regions.py b/mlxtend/plotting/tests/test_decision_regions.py
+
index fba2255..aad63ff 100644
+
--- a/mlxtend/plotting/tests/test_decision_regions.py
+
+++ b/mlxtend/plotting/tests/test_decision_regions.py
+
@@ -94,7 +94,7 @@ def test_y_int_ary():
+
"Try passing the array as y.astype(np.int_)",
+
plot_decision_regions,
+
X[:, :2],
+
- y.astype(np.float_),
+
+ y.astype(np.float64),
+
sr,
+
)
+
+
--
+
2.47.0
+
+14 -1
pkgs/development/python-modules/mlxtend/default.nix
···
pytestCheckHook,
scipy,
numpy,
+
numpy_1,
scikit-learn,
pandas,
matplotlib,
···
src = fetchFromGitHub {
owner = "rasbt";
-
repo = pname;
+
repo = "mlxtend";
tag = "v${version}";
hash = "sha256-c6I0dwu4y/Td2G6m2WP/52W4noQUmQMDvpzXA9RZauo=";
};
···
pandas
matplotlib
joblib
+
];
+
+
patches = [
+
# https://github.com/rasbt/mlxtend/pull/1119
+
./0001-fix-test-replace-np.float_-to-np.float64.patch
];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "-sv" ];
+
+
disabledTests = [
+
# Type changed in numpy2 test should be updated
+
"test_invalid_labels_1"
+
"test_default"
+
"test_nullability"
+
];
disabledTestPaths = [
"mlxtend/evaluate/f_test.py" # need clean
+8 -8
pkgs/development/python-modules/mypy-boto3/default.nix
···
"sha256-UkuWWk99OTXMMhYMuAby9rbJjlhYBI0WwA9clnz4U9A=";
mypy-boto3-detective =
-
buildMypyBoto3Package "detective" "1.36.0"
-
"sha256-qumyLsWuOFuwiBK1XN558ag8LlEA5jfHofy5dKK+Gbw=";
+
buildMypyBoto3Package "detective" "1.36.2"
+
"sha256-91C7CVfMmGvvfm4GdnDuWzSXi1sDsL5qj8YLC17loiI=";
mypy-boto3-devicefarm =
buildMypyBoto3Package "devicefarm" "1.36.0"
···
"sha256-YrzTW5fEsZPDu4p84jhY4avS/wM01XybrvGCOtF48cQ=";
mypy-boto3-ec2 =
-
buildMypyBoto3Package "ec2" "1.36.0"
-
"sha256-/dFXF0dKEF0wPQoh04dY9X0x8JqaxgFLtOYJocBwshA=";
+
buildMypyBoto3Package "ec2" "1.36.2"
+
"sha256-IwQg73lI34QtCjedW3ctRC0tzNAOXvgJl2s09GV6Zg0=";
mypy-boto3-ec2-instance-connect =
buildMypyBoto3Package "ec2-instance-connect" "1.36.0"
···
"sha256-ezh5me1scgEEH0I/19CSVDstsLkwYgdVhwPuVivbKWk=";
mypy-boto3-ecs =
-
buildMypyBoto3Package "ecs" "1.36.0"
-
"sha256-uO/y0aDNH4aayyvRDFH/WedHTku0A8QRvrzCe34P6gY=";
+
buildMypyBoto3Package "ecs" "1.36.1"
+
"sha256-bpE0iwtVksX2ByM7DSV+Y81ev8Ml896Wc9FciZEmjdA=";
mypy-boto3-efs =
buildMypyBoto3Package "efs" "1.36.0"
···
"sha256-oLFs4pHfXJbG5cenQi83ur7ZaMfPLYzqp4AvvAadg+k=";
mypy-boto3-sagemaker =
-
buildMypyBoto3Package "sagemaker" "1.36.0"
-
"sha256-FogxXsF3rVx33QF9Mo6RJhjsbgrEVLR037Js+SIYczI=";
+
buildMypyBoto3Package "sagemaker" "1.36.2"
+
"sha256-M4H/GVm8hLISSyKR6VtpUzTBOtRiaIr5DY5ZkM9mhk4=";
mypy-boto3-sagemaker-a2i-runtime =
buildMypyBoto3Package "sagemaker-a2i-runtime" "1.36.0"
+2 -2
pkgs/development/python-modules/niaarm/default.nix
···
buildPythonPackage rec {
pname = "niaarm";
-
version = "0.3.12";
+
version = "0.3.13";
format = "pyproject";
disabled = pythonOlder "3.9";
···
owner = "firefly-cpp";
repo = "NiaARM";
tag = version;
-
hash = "sha256-rYFfLtPJgIdSjRIzDIQeHwoQm9NrI6nM3/BF7wAMr1Y=";
+
hash = "sha256-nDgGX5KbthOBXX5jg99fGT28ZuBx0Hxb+aHak3Uvjoc=";
};
pythonRelaxDeps = [
+2 -2
pkgs/development/python-modules/nitransforms/default.nix
···
buildPythonPackage rec {
pname = "nitransforms";
-
version = "24.1.0";
+
version = "24.1.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-QOOc3A/oADnjOtxgLqArwXIikwNDApVY4yHAYt9ENRU=";
+
hash = "sha256-U2lWxYDuA+PpMEMgjanq/JILWTTH5+DEx9dZ/KCWNjM=";
};
build-system = [
+2 -2
pkgs/development/python-modules/publicsuffixlist/default.nix
···
buildPythonPackage rec {
pname = "publicsuffixlist";
-
version = "1.0.2.20250111";
+
version = "1.0.2.20250117";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-ul/bjvMgjBzNVyWV4o11CzMD6LT55+baTzITVt8H7wc=";
+
hash = "sha256-7jkUrZDmx9umNrUlzzXDdJWsDtfHKg/u8dfDNtVgiCU=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/pwntools/default.nix
···
in
buildPythonPackage rec {
pname = "pwntools";
-
version = "4.13.1";
+
version = "4.14.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
-
hash = "sha256-szInJftQMdwwll44VQc2CNmr900qv5enLGfUSq3843w=";
+
hash = "sha256-g7MkfeCD3/r6w79A9NFFVzLxbiXOMQX9CbVawPDRLoM=";
};
postPatch = ''
+2 -2
pkgs/development/python-modules/pycaption/default.nix
···
buildPythonPackage rec {
pname = "pycaption";
-
version = "2.2.15";
+
version = "2.2.16";
disabled = pythonOlder "3.8";
···
owner = "pbs";
repo = "pycaption";
tag = version;
-
hash = "sha256-07Llsp2Cvvo9WueeTBJnAos3uynhYL0gT5U21EI9dHY=";
+
hash = "sha256-w617mOxvL1alj7jauH4TVsYO0wxMHIFjevdhb4+542s=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/pycron/default.nix
···
buildPythonPackage rec {
pname = "pycron";
-
version = "3.1.1";
+
version = "3.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "kipe";
repo = "pycron";
tag = version;
-
hash = "sha256-t53u18lCk6tF4Hr/BrEM2gWG+QOFIEkjyEKNXIr3ibs=";
+
hash = "sha256-WnaQfS3VzF9fZHX9eNRjih/U7SgWeWVynLdwPZgF950=";
};
build-system = [ poetry-core ];
+2 -2
pkgs/development/python-modules/pyscard/default.nix
···
buildPythonPackage rec {
pname = "pyscard";
-
version = "2.2.0";
+
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "LudovicRousseau";
repo = "pyscard";
tag = version;
-
hash = "sha256-yZeP4Tcxnwb2My+XOsMtj+H8mNIf6JYf5tpOVUYjev0=";
+
hash = "sha256-RXCz6Npb/MrykHxtUsYlghCPeTwjDC6s9258iLA7OKs=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/python-engineio/default.nix
···
buildPythonPackage rec {
pname = "python-engineio";
-
version = "4.11.1";
+
version = "4.11.2";
pyproject = true;
disabled = pythonOlder "3.8";
···
owner = "miguelgrinberg";
repo = "python-engineio";
tag = "v${version}";
-
hash = "sha256-6gSpnBXznpWDtGEdV6PDtQvRodAz4jqOY+zGT2+NUj0=";
+
hash = "sha256-3yCT9u3Bz5QPaDtPe1Ezio+O+wWjQ+4pLh55sYAfnNc=";
};
build-system = [ setuptools ];
+2 -2
pkgs/development/python-modules/python-gnupg/default.nix
···
buildPythonPackage rec {
pname = "python-gnupg";
-
version = "0.5.3";
+
version = "0.5.4";
format = "pyproject";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-KQ2N25zWPfls/pKEubJl8Z/W4UXlWC3Fj9cnHwJtCkc=";
+
hash = "sha256-8v21+ylhXHfCdD4cs9kxQ1Om6HsQw30jjZGuHG/q4IY=";
};
postPatch = ''
+4 -4
pkgs/development/python-modules/python-otbr-api/default.nix
···
buildPythonPackage rec {
pname = "python-otbr-api";
-
version = "2.6.0";
+
version = "2.7.0";
pyproject = true;
disabled = pythonOlder "3.9";
···
owner = "home-assistant-libs";
repo = "python-otbr-api";
tag = version;
-
hash = "sha256-RMj4NdEbMIxh2PDzbhUWgmcdzRXY8RxcQNN/bbGOW5Q=";
+
hash = "sha256-irQ4QvpGIAYYKq0UqLuo7Nrnde905+GJFd4HkxsCDmQ=";
};
-
nativeBuildInputs = [ setuptools ];
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [
+
dependencies = [
aiohttp
bitstruct
cryptography
+18 -21
pkgs/development/python-modules/skorch/default.nix
···
numpy,
scikit-learn,
scipy,
+
setuptools,
tabulate,
torch,
tqdm,
flaky,
+
llvmPackages,
pandas,
+
pytest-cov-stub,
pytestCheckHook,
safetensors,
pythonAtLeast,
···
buildPythonPackage rec {
pname = "skorch";
-
version = "1.0.0";
-
format = "setuptools";
+
version = "1.1.0";
+
pyproject = true;
src = fetchPypi {
inherit pname version;
-
hash = "sha256-JcplwaeYlGRAJXRNac1Ya/hgWoHE+NWjZhCU9eaSyRQ=";
+
hash = "sha256-AguMhI/MO4DNexe5azVEXOw7laTRBN0ecFW81qqh0rY=";
};
-
disabled = pythonOlder "3.8";
+
# AttributeError: 'NoneType' object has no attribute 'span' with Python 3.13
+
# https://github.com/skorch-dev/skorch/issues/1080
+
disabled = pythonOlder "3.9" || pythonAtLeast "3.13";
-
propagatedBuildInputs = [
+
build-system = [ setuptools ];
+
+
dependencies = [
numpy
scikit-learn
scipy
tabulate
-
torch
+
torch # implicit dependency
tqdm
];
nativeCheckInputs = [
flaky
pandas
+
pytest-cov-stub
pytestCheckHook
safetensors
];
-
# patch out pytest-cov dep/invocation
-
postPatch = ''
-
substituteInPlace setup.cfg \
-
--replace "--cov=skorch" "" \
-
--replace "--cov-report=term-missing" "" \
-
--replace "--cov-config .coveragerc" ""
-
'';
+
checkInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
disabledTests =
[
···
++ lib.optionals stdenv.hostPlatform.isDarwin [
# there is a problem with the compiler selection
"test_fit_and_predict_with_compile"
-
]
-
++ lib.optionals (pythonAtLeast "3.11") [
-
# Python 3.11+ not yet supported for torch.compile
-
# https://github.com/pytorch/pytorch/blob/v2.0.1/torch/_dynamo/eval_frame.py#L376-L377
-
"test_fit_and_predict_with_compile"
];
disabledTestPaths =
···
pythonImportsCheck = [ "skorch" ];
-
meta = with lib; {
+
meta = {
description = "Scikit-learn compatible neural net library using Pytorch";
homepage = "https://skorch.readthedocs.io";
changelog = "https://github.com/skorch-dev/skorch/blob/master/CHANGES.md";
-
license = licenses.bsd3;
-
maintainers = with maintainers; [ bcdarwin ];
+
license = lib.licenses.bsd3;
+
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
+2 -2
pkgs/development/python-modules/softlayer/default.nix
···
buildPythonPackage rec {
pname = "softlayer";
-
version = "6.2.5";
+
version = "6.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "softlayer";
repo = "softlayer-python";
tag = "v${version}";
-
hash = "sha256-wDLMVonPUexoaZ60kRBILmr5l46yajzACozCp6uETGY=";
+
hash = "sha256-qBhnHFFlP4pqlN/SETXEqYyre/ap60wHe9eCfyiB+kA=";
};
build-system = [
+7 -5
pkgs/development/python-modules/sphinx-codeautolink/default.nix
···
buildPythonPackage rec {
pname = "sphinx-codeautolink";
-
version = "0.15.2";
-
format = "pyproject";
+
version = "0.16.2";
+
pyproject = true;
outputs = [
"out"
···
owner = "felix-hilden";
repo = "sphinx-codeautolink";
tag = "v${version}";
-
hash = "sha256-h1lteF5a3ga1VlhXCz2biydli3sg3ktPbz0O5n0eeFI=";
+
hash = "sha256-pHo7uA7TXmNdSU8CFRO0heI5rYBw+JeQ2NijmirhhHk=";
};
+
build-system = [ setuptools ];
+
nativeBuildInputs = [
-
setuptools
sphinxHook
sphinx-rtd-theme
matplotlib
···
sphinxRoot = "docs/src";
-
propagatedBuildInputs = [
+
dependencies = [
sphinx
beautifulsoup4
];
···
meta = with lib; {
description = "Sphinx extension that makes code examples clickable";
homepage = "https://github.com/felix-hilden/sphinx-codeautolink";
+
changelog = "https://github.com/felix-hilden/sphinx-codeautolink/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ kaction ];
};
+2 -2
pkgs/development/python-modules/tencentcloud-sdk-python/default.nix
···
buildPythonPackage rec {
pname = "tencentcloud-sdk-python";
-
version = "3.0.1304";
+
version = "3.0.1305";
pyproject = true;
disabled = pythonOlder "3.9";
···
owner = "TencentCloud";
repo = "tencentcloud-sdk-python";
tag = version;
-
hash = "sha256-51tRvvavAYGa6XTyB6bL9a7TOZsv6DvVrFgrma5aJq8=";
+
hash = "sha256-uvGhUwiG3AsKpJrm6vYuhzv7rn9Sq1564IXY4fCa8H8=";
};
build-system = [ setuptools ];
+3 -3
pkgs/development/python-modules/zenoh/default.nix
···
buildPythonPackage rec {
pname = "zenoh";
-
version = "1.1.0";
+
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "eclipse-zenoh";
repo = "zenoh-python";
rev = version;
-
hash = "sha256-DO5AZDS7XvExxATtbkFOLG66zQOZu4gE6VWOG7C3qGA=";
+
hash = "sha256-pLdAlQBq/d9fohkPgGV/bR7rOl4RreenbHXYdde8q/0=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src pname version;
-
hash = "sha256-GolnCEsqCGxjrKl2qXVRi9+d8hwXNsRVdfI7Cf60/jg=";
+
hash = "sha256-R6Vux4cNL9/Fxi7UvItZT8E539cz5cAupT9X0UkdwR4=";
};
build-system = [
+2 -2
pkgs/kde/third-party/karousel/default.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "karousel";
-
version = "0.10";
+
version = "0.11";
src = fetchFromGitHub {
owner = "peterfajdiga";
repo = "karousel";
rev = "v${finalAttrs.version}";
-
hash = "sha256-lI3VaCd4eYhWbnYLEIeFiB88SWjd/DF8CUGFmxEXDXo=";
+
hash = "sha256-KAbOOOF8rMA6lwgn0gUQleh5EF7ISIvvi3OubuM/50w=";
};
postPatch = ''
+13 -7
pkgs/servers/sql/postgresql/generic.nix
···
# flags will remove unused sections from all shared libraries and binaries - including
# those paths. This avoids a lot of circular dependency problems with different outputs,
# and allows splitting them cleanly.
-
env.CFLAGS =
-
"-fdata-sections -ffunction-sections"
-
+ (if stdenv'.cc.isClang then " -flto" else " -fmerge-constants -Wl,--gc-sections");
+
env = {
+
CFLAGS =
+
"-fdata-sections -ffunction-sections"
+
+ (if stdenv'.cc.isClang then " -flto" else " -fmerge-constants -Wl,--gc-sections");
+
} // lib.optionalAttrs pythonSupport { PYTHON = "${python3}/bin/python"; };
configureFlags =
let
···
--replace-fail '-bundle_loader $(bindir)/postgres' "-bundle_loader $out/bin/postgres"
'';
-
postFixup = lib.optionalString stdenv'.hostPlatform.isGnu ''
-
# initdb needs access to "locale" command from glibc.
-
wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
-
'';
+
postFixup =
+
lib.optionalString stdenv'.hostPlatform.isGnu ''
+
# initdb needs access to "locale" command from glibc.
+
wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
+
''
+
+ lib.optionalString pythonSupport ''
+
wrapProgram "$out/bin/postgres" --set PYTHONPATH "${python3}/${python3.sitePackages}"
+
'';
# Running tests as "install check" to work around SIP issue on macOS:
# https://www.postgresql.org/message-id/flat/4D8E1BC5-BBCF-4B19-8226-359201EA8305%40gmail.com
+2 -2
pkgs/tools/misc/esphome/default.nix
···
in
python.pkgs.buildPythonApplication rec {
pname = "esphome";
-
version = "2024.12.2";
+
version = "2024.12.4";
pyproject = true;
src = fetchFromGitHub {
owner = pname;
repo = pname;
tag = version;
-
hash = "sha256-VW9p3VNVJOw5vkjCU4fujG0ie4N2D2QLidBANPV512U=";
+
hash = "sha256-Ff3NuLHKRLoBbjqb92vvDcSbSJnjCwm5FmSDwnEI0p4=";
};
build-systems = with python.pkgs; [
-1
pkgs/top-level/release-cuda.nix
···
cholmod-extra = linux;
colmap = linux;
ctranslate2 = linux;
-
deepin.image-editor = linux;
ffmpeg-full = linux;
gimp = linux;
gpu-screen-recorder = linux;