Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-05-04 00:02:40 +00:00 committed by GitHub
commit 63659f437f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
91 changed files with 1726 additions and 554 deletions

View File

@ -32,6 +32,7 @@ jobs:
# Each environment variable beginning with NIX_FMT_PATHS_ is a list of
# paths to check with nixfmt.
env:
NIX_FMT_PATHS_MPVSCRIPTS: pkgs/applications/video/mpv/scripts
# Format paths related to the Nixpkgs CUDA ecosystem.
NIX_FMT_PATHS_CUDA: |
pkgs/development/cuda-modules

View File

@ -7,10 +7,11 @@ Nixpkgs provides a couple of facilities for working with this tool.
## Writing packages providing pkg-config modules {#pkg-config-writing-packages}
Packages should set `meta.pkgConfigModules` with the list of package config modules they provide.
They should also use `testers.testMetaPkgConfig` to check that the final built package matches that list.
They should also use `testers.hasPkgConfigModules` to check that the final built package matches that list,
and optionally check that the pkgconf modules' version metadata matches the derivation's.
Additionally, the [`validatePkgConfig` setup hook](https://nixos.org/manual/nixpkgs/stable/#validatepkgconfig), will do extra checks on to-be-installed pkg-config modules.
A good example of all these things is zlib:
A good example of all these things is miniz:
```nix
{ pkg-config, testers, ... }:
@ -20,11 +21,14 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config validatePkgConfig ];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
passthru.tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = true;
};
meta = {
/* ... */
pkgConfigModules = [ "zlib" ];
pkgConfigModules = [ "miniz" ];
};
})
```

View File

@ -435,6 +435,12 @@
github = "a-camarillo";
githubId = 58638902;
};
acesyde = {
name = "Pierre-Emmanuel Mercier";
email = "acesyde@gmail.com";
github = "acesyde";
githubId = 958435;
};
aciceri = {
name = "Andrea Ciceri";
email = "andrea.ciceri@autistici.org";
@ -17319,6 +17325,12 @@
githubId = 69053978;
name = "rogarb";
};
rohanssrao = {
email = "rohanssrao@gmail.com";
github = "rohanssrao";
githubId = 17805516;
name = "Rohan Rao";
};
rollf = {
email = "rolf.schroeder@limbus-medtec.com";
github = "rollf";

View File

@ -7,6 +7,8 @@ in
{
port = 9332;
extraOpts = {
package = lib.mkPackageOption pkgs "prometheus-bitcoin-exporter" { };
rpcUser = mkOption {
type = types.str;
default = "bitcoinrpc";
@ -65,7 +67,7 @@ in
serviceOpts = {
script = ''
export BITCOIN_RPC_PASSWORD=$(cat ${cfg.rpcPasswordFile})
exec ${pkgs.prometheus-bitcoin-exporter}/bin/bitcoind-monitor.py
exec ${cfg.package}/bin/bitcoind-monitor.py
'';
environment = {

View File

@ -470,7 +470,7 @@ in
- [main]
- no-auto-default=*
- '''
+ extraConfig.main.no-auto-default = "*";
+ settings.main.no-auto-default = "*";
};
```
''

View File

@ -53,13 +53,6 @@ in
storage.settings = mkOption {
type = toml.type;
default = {
storage = {
driver = "overlay";
graphroot = "/var/lib/containers/storage";
runroot = "/run/containers/storage";
};
};
description = "storage.conf configuration";
};
@ -124,6 +117,12 @@ in
};
};
virtualisation.containers.storage.settings.storage = {
driver = "overlay";
graphroot = "/var/lib/containers/storage";
runroot = "/run/containers/storage";
};
environment.etc = {
"containers/containers.conf".source =
toml.generate "containers.conf" cfg.containersConf.settings;

View File

@ -994,6 +994,7 @@ in {
v2ray = handleTest ./v2ray.nix {};
varnish60 = handleTest ./varnish.nix { package = pkgs.varnish60; };
varnish74 = handleTest ./varnish.nix { package = pkgs.varnish74; };
varnish75 = handleTest ./varnish.nix { package = pkgs.varnish75; };
vault = handleTest ./vault.nix {};
vault-agent = handleTest ./vault-agent.nix {};
vault-dev = handleTest ./vault-dev.nix {};

View File

@ -32,11 +32,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "calibre";
version = "7.9.0";
version = "7.10.0";
src = fetchurl {
url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz";
hash = "sha256-Ilzv4HXW6ZmEVNUWQm04cHZ71FEgjfWVX9IvrfYCHIk=";
hash = "sha256-GvvvoqLBzapveKFSqlED471pUyRjLoYqU5YjN/L/nEs=";
};
patches = [

View File

@ -3,15 +3,15 @@
}:
let
pname = "josm";
version = "19039";
version = "19067";
srcs = {
jar = fetchurl {
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
hash = "sha256-iH6g18lJrvfAvtkAaVPSK7vhgdU6oI7X10GkFcwpsBs=";
hash = "sha256-+mHX80ltIFkVWIeex519b84BYzhp+h459/C2wlDR7jQ=";
};
macosx = fetchurl {
url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java21.zip";
hash = "sha256-yA+Qf76MbouiLdH9o1Ri8ptbG70YZoI13pBA9Ki61/0=";
hash = "sha256-lMESSSXl6hBC2MpLYnYOThy463ft2bONNppBv3OEvAQ=";
};
pkg = fetchsvn {
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";

View File

@ -6,17 +6,17 @@ callPackage ./make-brave.nix (removeAttrs args [ "callPackage" ])
if stdenv.isAarch64 then
{
pname = "brave";
version = "1.65.122";
url = "https://github.com/brave/brave-browser/releases/download/v1.65.122/brave-browser_1.65.122_arm64.deb";
hash = "sha256-9xcXuK9Qdf8MwE3tcJLpTuJYMCjM3h27eFdgsT/yD38=";
version = "1.65.126";
url = "https://github.com/brave/brave-browser/releases/download/v1.65.126/brave-browser_1.65.126_arm64.deb";
hash = "sha256-v2PbixM9g+AhvR6tJ9QDbaXF7ERlBBrNMIsLofFbAfU=";
platform = "aarch64-linux";
}
else if stdenv.isx86_64 then
{
pname = "brave";
version = "1.65.122";
url = "https://github.com/brave/brave-browser/releases/download/v1.65.122/brave-browser_1.65.122_amd64.deb";
hash = "sha256-zhRH/EG+8Qx9B2Gm5n9DYVwheyfiqIBwyYygART5b6A=";
version = "1.65.126";
url = "https://github.com/brave/brave-browser/releases/download/v1.65.126/brave-browser_1.65.126_amd64.deb";
hash = "sha256-DbdwCu9LwCeoH46egVY4AsOxcJDWilD2MdpyNdyJizw=";
platform = "x86_64-linux";
}
else

View File

@ -53,7 +53,9 @@ stdenv.mkDerivation {
--replace /share/mattermost-desktop/mattermost-desktop /bin/mattermost-desktop
makeWrapper '${lib.getExe electron_28}' $out/bin/${pname} \
--add-flags $out/share/${pname}/app.asar
--set-default ELECTRON_IS_DEV 0 \
--add-flags $out/share/${pname}/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
runHook postInstall
'';

View File

@ -2,13 +2,13 @@
buildKodiBinaryAddon rec {
pname = "pvr-hts";
namespace = "pvr.hts";
version = "20.7.0";
version = "21.2.3";
src = fetchFromGitHub {
owner = "kodi-pvr";
repo = "pvr.hts";
rev = "${version}-${rel}";
sha256 = "sha256-Mc540n+TfZiAV2uDSGrItsoPOkEBNyyQlW2DJZLwYA4=";
sha256 = "sha256-4jHcUjGarLHsn5CjBLWB1wQNjBBw4ftMuDY5uFAHAzY=";
};
meta = with lib; {

View File

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

View File

@ -1,5 +1,4 @@
{ lib
, stdenvNoCC }:
{ lib, stdenvNoCC }:
let
# Escape strings for embedding in shell scripts
@ -10,74 +9,90 @@ let
scriptsDir = "$out/share/mpv/scripts";
# similar to `lib.extends`, but with inverted precedence and recursive update
extendedBy = args: orig: self:
let super = args self;
in lib.recursiveUpdate (orig super) super
;
extendedBy =
args: orig: self:
let
super = args self;
in
lib.recursiveUpdate (orig super) super;
in
lib.makeOverridable (args: stdenvNoCC.mkDerivation (extendedBy
(if lib.isFunction args then args else (_: args)) (
{ pname
, extraScripts ? []
, ... }@args:
let
strippedName = with builtins;
let groups = match "mpv[-_](.*)" pname; in
if groups != null
then head groups
else pname
;
# either passthru.scriptName, inferred from scriptPath, or from pname
scriptName = (args.passthru or {}).scriptName or (
if args ? scriptPath
then fileName args.scriptPath
else "${strippedName}.lua"
);
scriptPath = args.scriptPath or "./${scriptName}";
in {
dontBuild = true;
preferLocalBuild = true;
lib.makeOverridable (
args:
stdenvNoCC.mkDerivation (
extendedBy (if lib.isFunction args then args else (_: args)) (
{
pname,
extraScripts ? [ ],
...
}@args:
let
strippedName =
with builtins;
let
groups = match "mpv[-_](.*)" pname;
in
if groups != null then head groups else pname;
# either passthru.scriptName, inferred from scriptPath, or from pname
scriptName =
(args.passthru or { }).scriptName
or (if args ? scriptPath then fileName args.scriptPath else "${strippedName}.lua");
scriptPath = args.scriptPath or "./${scriptName}";
in
{
dontBuild = true;
preferLocalBuild = true;
# Prevent `patch` from emitting `.orig` files (that end up in the output)
patchFlags = [ "--no-backup-if-mismatch" "-p1" ];
# Prevent `patch` from emitting `.orig` files (that end up in the output)
patchFlags = [
"--no-backup-if-mismatch"
"-p1"
];
outputHashMode = "recursive";
installPhase = ''
runHook preInstall
outputHashMode = "recursive";
installPhase = ''
runHook preInstall
if [ -d "${scriptPath}" ]; then
[ -f "${scriptPath}/main.lua" ] || {
echo "Script directory '${scriptPath}' does not contain 'main.lua'" >&2
exit 1
}
[ ${with builtins; toString (length extraScripts)} -eq 0 ] || {
echo "mpvScripts.buildLua does not support 'extraScripts'" \
"when 'scriptPath' is a directory" >&2
exit 1
}
mkdir -p "${scriptsDir}"
cp -a "${scriptPath}" "${scriptsDir}/${scriptName}"
else
install -m644 -Dt "${scriptsDir}" ${escaped scriptPath}
${lib.optionalString (extraScripts != []) ''cp -at "${scriptsDir}/" ${escapedList extraScripts}''}
fi
if [ -d "${scriptPath}" ]; then
[ -f "${scriptPath}/main.lua" ] || {
echo "Script directory '${scriptPath}' does not contain 'main.lua'" >&2
exit 1
}
[ ${with builtins; toString (length extraScripts)} -eq 0 ] || {
echo "mpvScripts.buildLua does not support 'extraScripts'" \
"when 'scriptPath' is a directory" >&2
exit 1
}
mkdir -p "${scriptsDir}"
cp -a "${scriptPath}" "${scriptsDir}/${scriptName}"
else
install -m644 -Dt "${scriptsDir}" ${escaped scriptPath}
${
lib.optionalString (extraScripts != [ ]) ''cp -at "${scriptsDir}/" ${escapedList extraScripts}''
}
fi
runHook postInstall
'';
runHook postInstall
'';
passthru = { inherit scriptName; };
meta = {
platforms = lib.platforms.all;
} // (
let pos =
if (args.meta or {}) ? description then
builtins.unsafeGetAttrPos "description" args.meta
else
builtins.unsafeGetAttrPos "pname" args;
in lib.optionalAttrs
(pos != null)
{ position = "${pos.file}:${toString pos.line}"; }
);
})
))
passthru = {
inherit scriptName;
};
meta =
{
platforms = lib.platforms.all;
}
// (
let
pos =
if (args.meta or { }) ? description then
builtins.unsafeGetAttrPos "description" args.meta
else
builtins.unsafeGetAttrPos "pname" args;
in
lib.optionalAttrs (pos != null) { position = "${pos.file}:${toString pos.line}"; }
);
}
)
)
)

View File

@ -1,7 +1,9 @@
{ lib
, fetchFromGitHub
, unstableGitUpdater
, buildLua }:
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
}:
buildLua {
pname = "chapterskip";
@ -9,20 +11,20 @@ buildLua {
version = "0-unstable-2022-09-08";
src = fetchFromGitHub {
owner = "po5";
repo = "chapterskip";
rev = "b26825316e3329882206ae78dc903ebc4613f039";
hash = "sha256-OTrLQE3rYvPQamEX23D6HttNjx3vafWdTMxTiWpDy90=";
repo = "chapterskip";
rev = "b26825316e3329882206ae78dc903ebc4613f039";
hash = "sha256-OTrLQE3rYvPQamEX23D6HttNjx3vafWdTMxTiWpDy90=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Automatically skips chapters based on title";
longDescription = ''
MPV script that skips chapters based on their title, categorized using regexes.
The set of skipped categories can be configured globally, or by an auto-profile.
MPV script that skips chapters based on their title, categorized using regexes.
The set of skipped categories can be configured globally, or by an auto-profile.
'';
homepage = "https://github.com/po5/chapterskip";
license = lib.licenses.unfree; # https://github.com/po5/chapterskip/issues/10
license = lib.licenses.unfree; # https://github.com/po5/chapterskip/issues/10
maintainers = with lib.maintainers; [ nicoo ];
};
}

View File

@ -1,11 +1,12 @@
{ lib
, fetchgit
, unstableGitUpdater
{
lib,
fetchgit,
unstableGitUpdater,
, buildLua
, libnotify
, mkvtoolnix-cli
, yad
buildLua,
libnotify,
mkvtoolnix-cli,
yad,
}:
buildLua {
@ -16,7 +17,7 @@ buildLua {
rev = "f95cee43e390e843a47e8ec9d1711a12a8cd343d";
sha256 = "13m7l4sy2r8jv2sfrb3vvqvnim4a9ilnv28q5drlg09v298z3mck";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
patches = [ ./convert.patch ];

View File

@ -1,4 +1,10 @@
{ lib, buildLua, fetchFromGitHub, makeWrapper, unstableGitUpdater }:
{
lib,
buildLua,
fetchFromGitHub,
makeWrapper,
unstableGitUpdater,
}:
buildLua {
pname = "video-cutter";
@ -10,7 +16,7 @@ buildLua {
rev = "01a0396c075d5f8bbd1de5b571e6231f8899ab65";
sha256 = "sha256-veoRFzUCRH8TrvR7x+WWoycpDyxqrJZ/bnp61dVc0pE=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
nativeBuildInputs = [ makeWrapper ];

View File

@ -1,111 +1,145 @@
{ lib
, config
, newScope
, runCommand
{
lib,
config,
newScope,
runCommand,
}:
let
unionOfDisjoints = lib.fold lib.attrsets.unionOfDisjoint {};
unionOfDisjoints = lib.fold lib.attrsets.unionOfDisjoint { };
addTests = name: drv:
if ! lib.isDerivation drv then
addTests =
name: drv:
if !lib.isDerivation drv then
drv
else let
inherit (drv) scriptName;
scriptPath = "share/mpv/scripts/${scriptName}";
fullScriptPath = "${drv}/${scriptPath}";
in drv.overrideAttrs (old: { passthru = (old.passthru or {}) // { tests = unionOfDisjoints [
(old.passthru.tests or {})
else
let
inherit (drv) scriptName;
scriptPath = "share/mpv/scripts/${scriptName}";
fullScriptPath = "${drv}/${scriptPath}";
in
drv.overrideAttrs (old: {
passthru = (old.passthru or { }) // {
tests = unionOfDisjoints [
(old.passthru.tests or { })
{
scriptName-is-valid = runCommand "mpvScripts.${name}.passthru.tests.scriptName-is-valid" {
meta.maintainers = with lib.maintainers; [ nicoo ];
preferLocalBuild = true;
} ''
if [ -e "${fullScriptPath}" ]; then
touch $out
else
echo "mpvScripts.\"${name}\" does not contain a script named \"${scriptName}\"" >&2
exit 1
fi
'';
}
{
scriptName-is-valid =
runCommand "mpvScripts.${name}.passthru.tests.scriptName-is-valid"
{
meta.maintainers = with lib.maintainers; [ nicoo ];
preferLocalBuild = true;
}
''
if [ -e "${fullScriptPath}" ]; then
touch $out
else
echo "mpvScripts.\"${name}\" does not contain a script named \"${scriptName}\"" >&2
exit 1
fi
'';
}
# can't check whether `fullScriptPath` is a directory, in pure-evaluation mode
(with lib; optionalAttrs (! any (s: hasSuffix s drv.passthru.scriptName) [ ".js" ".lua" ".so" ]) {
single-main-in-script-dir = runCommand "mpvScripts.${name}.passthru.tests.single-main-in-script-dir" {
meta.maintainers = with lib.maintainers; [ nicoo ];
preferLocalBuild = true;
} ''
die() {
echo "$@" >&2
exit 1
}
# can't check whether `fullScriptPath` is a directory, in pure-evaluation mode
(
with lib;
optionalAttrs
(
!any (s: hasSuffix s drv.passthru.scriptName) [
".js"
".lua"
".so"
]
)
{
single-main-in-script-dir =
runCommand "mpvScripts.${name}.passthru.tests.single-main-in-script-dir"
{
meta.maintainers = with lib.maintainers; [ nicoo ];
preferLocalBuild = true;
}
''
die() {
echo "$@" >&2
exit 1
}
cd "${drv}/${scriptPath}" # so the glob expands to filenames only
mains=( main.* )
if [ "''${#mains[*]}" -eq 1 ]; then
touch $out
elif [ "''${#mains[*]}" -eq 0 ]; then
die "'${scriptPath}' contains no 'main.*' file"
else
die "'${scriptPath}' contains multiple 'main.*' files:" "''${mains[*]}"
fi
'';
})
]; }; });
cd "${drv}/${scriptPath}" # so the glob expands to filenames only
mains=( main.* )
if [ "''${#mains[*]}" -eq 1 ]; then
touch $out
elif [ "''${#mains[*]}" -eq 0 ]; then
die "'${scriptPath}' contains no 'main.*' file"
else
die "'${scriptPath}' contains multiple 'main.*' files:" "''${mains[*]}"
fi
'';
}
)
];
};
});
scope = self: let
inherit (self) callPackage;
in lib.mapAttrs addTests {
inherit (callPackage ./mpv.nix { })
acompressor autocrop autodeint autoload;
inherit (callPackage ./occivink.nix { })
blacklistExtensions seekTo;
scope =
self:
let
inherit (self) callPackage;
in
lib.mapAttrs addTests {
inherit (callPackage ./mpv.nix { })
acompressor
autocrop
autodeint
autoload
;
inherit (callPackage ./occivink.nix { }) blacklistExtensions seekTo;
buildLua = callPackage ./buildLua.nix { };
chapterskip = callPackage ./chapterskip.nix { };
convert = callPackage ./convert.nix { };
cutter = callPackage ./cutter.nix { };
dynamic-crop = callPackage ./dynamic-crop.nix { };
inhibit-gnome = callPackage ./inhibit-gnome.nix { };
memo = callPackage ./memo.nix { };
manga-reader = callPackage ./manga-reader.nix { };
modernx = callPackage ./modernx.nix { };
modernx-zydezu = callPackage ./modernx-zydezu.nix { };
mpris = callPackage ./mpris.nix { };
mpv-cheatsheet = callPackage ./mpv-cheatsheet.nix { };
mpv-notify-send = callPackage ./mpv-notify-send.nix { };
mpv-osc-modern = callPackage ./mpv-osc-modern.nix { };
mpv-playlistmanager = callPackage ./mpv-playlistmanager.nix { };
mpv-slicing = callPackage ./mpv-slicing.nix { };
mpv-webm = callPackage ./mpv-webm.nix { };
mpvacious = callPackage ./mpvacious.nix { };
quack = callPackage ./quack.nix { };
quality-menu = callPackage ./quality-menu.nix { };
reload = callPackage ./reload.nix { };
simple-mpv-webui = callPackage ./simple-mpv-webui.nix { };
sponsorblock = callPackage ./sponsorblock.nix { };
sponsorblock-minimal = callPackage ./sponsorblock-minimal.nix { };
thumbfast = callPackage ./thumbfast.nix { };
thumbnail = callPackage ./thumbnail.nix { };
uosc = callPackage ./uosc.nix { };
videoclip = callPackage ./videoclip.nix { };
visualizer = callPackage ./visualizer.nix { };
vr-reversal = callPackage ./vr-reversal.nix { };
webtorrent-mpv-hook = callPackage ./webtorrent-mpv-hook.nix { };
youtube-upnext = callPackage ./youtube-upnext.nix { };
};
buildLua = callPackage ./buildLua.nix { };
chapterskip = callPackage ./chapterskip.nix { };
convert = callPackage ./convert.nix { };
cutter = callPackage ./cutter.nix { };
dynamic-crop = callPackage ./dynamic-crop.nix { };
inhibit-gnome = callPackage ./inhibit-gnome.nix { };
memo = callPackage ./memo.nix { };
manga-reader = callPackage ./manga-reader.nix { };
modernx = callPackage ./modernx.nix { };
modernx-zydezu = callPackage ./modernx-zydezu.nix { };
mpris = callPackage ./mpris.nix { };
mpv-cheatsheet = callPackage ./mpv-cheatsheet.nix { };
mpv-notify-send = callPackage ./mpv-notify-send.nix { };
mpv-osc-modern = callPackage ./mpv-osc-modern.nix { };
mpv-playlistmanager = callPackage ./mpv-playlistmanager.nix { };
mpv-slicing = callPackage ./mpv-slicing.nix { };
mpv-webm = callPackage ./mpv-webm.nix { };
mpvacious = callPackage ./mpvacious.nix { };
quack = callPackage ./quack.nix { };
quality-menu = callPackage ./quality-menu.nix { };
reload = callPackage ./reload.nix { };
simple-mpv-webui = callPackage ./simple-mpv-webui.nix { };
sponsorblock = callPackage ./sponsorblock.nix { };
sponsorblock-minimal = callPackage ./sponsorblock-minimal.nix { };
thumbfast = callPackage ./thumbfast.nix { };
thumbnail = callPackage ./thumbnail.nix { };
uosc = callPackage ./uosc.nix { };
videoclip = callPackage ./videoclip.nix { };
visualizer = callPackage ./visualizer.nix { };
vr-reversal = callPackage ./vr-reversal.nix { };
webtorrent-mpv-hook = callPackage ./webtorrent-mpv-hook.nix { };
youtube-upnext = callPackage ./youtube-upnext.nix { };
};
aliases = {
youtube-quality = throw "'youtube-quality' is no longer maintained, use 'quality-menu' instead"; # added 2023-07-14
};
in
with lib; pipe scope [
with lib;
pipe scope [
(makeScope newScope)
(self:
assert builtins.intersectAttrs self aliases == {};
self // optionalAttrs config.allowAliases aliases)
(
self:
assert builtins.intersectAttrs self aliases == { };
self // optionalAttrs config.allowAliases aliases
)
recurseIntoAttrs
]

View File

@ -1,7 +1,8 @@
{ lib
, fetchFromGitHub
, unstableGitUpdater
, buildLua
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
}:
buildLua {
pname = "dynamic-crop";

View File

@ -1,4 +1,12 @@
{ lib, stdenv, fetchFromGitHub, gitUpdater, pkg-config, dbus, mpv-unwrapped }:
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
pkg-config,
dbus,
mpv-unwrapped,
}:
stdenv.mkDerivation rec {
pname = "mpv-inhibit-gnome";
@ -10,13 +18,14 @@ stdenv.mkDerivation rec {
rev = "v${version}";
hash = "sha256-LSGg5gAQE2JpepBqhz6D6d3NlqYaU4bjvYf1F+oLphQ=";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus mpv-unwrapped ];
buildInputs = [
dbus
mpv-unwrapped
];
passthru.scriptName = "mpv_inhibit_gnome.so";

View File

@ -1,7 +1,8 @@
{ fetchFromGitHub
, buildLua
, lib
, unstableGitUpdater
{
fetchFromGitHub,
buildLua,
lib,
unstableGitUpdater,
}:
buildLua {
@ -15,7 +16,7 @@ buildLua {
hash = "sha256-m8ikXuw7PM4Btg8w7ufLneKA4fnYjMyfVJYueZILMw8=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "A recent files menu for mpv";

View File

@ -1,8 +1,9 @@
{ lib
, buildLua
, fetchFromGitHub
, makeFontsConf
, nix-update-script
{
lib,
buildLua,
fetchFromGitHub,
makeFontsConf,
nix-update-script,
}:
buildLua (finalAttrs: {
pname = "modernx-zydezu";

View File

@ -1,8 +1,9 @@
{ lib
, buildLua
, fetchFromGitHub
, makeFontsConf
, nix-update-script
{
lib,
buildLua,
fetchFromGitHub,
makeFontsConf,
nix-update-script,
}:
buildLua (finalAttrs: {
pname = "modernx";

View File

@ -1,4 +1,13 @@
{ lib, stdenv, fetchFromGitHub, gitUpdater, pkg-config, glib, mpv-unwrapped, ffmpeg }:
{
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
pkg-config,
glib,
mpv-unwrapped,
ffmpeg,
}:
stdenv.mkDerivation rec {
pname = "mpv-mpris";
@ -10,11 +19,15 @@ stdenv.mkDerivation rec {
rev = version;
hash = "sha256-vZIO6ILatIWa9nJYOp4AMKwvaZLahqYWRLMDOizyBI0=";
};
passthru.updateScript = gitUpdater {};
passthru.updateScript = gitUpdater { };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib mpv-unwrapped ffmpeg ];
buildInputs = [
glib
mpv-unwrapped
ffmpeg
];
postPatch = ''
substituteInPlace Makefile --replace-fail 'PKG_CONFIG =' 'PKG_CONFIG ?='

View File

@ -1,8 +1,9 @@
{ lib
, fetchFromGitHub
, gitUpdater
, nodePackages
, stdenvNoCC
{
lib,
fetchFromGitHub,
gitUpdater,
nodePackages,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "mpv-cheatsheet";
@ -16,9 +17,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
nativeBuildInputs = [
nodePackages.browserify
];
nativeBuildInputs = [ nodePackages.browserify ];
buildPhase = ''
runHook preBuild
@ -36,7 +35,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.scriptName = "cheatsheet.js";
meta = with lib; {

View File

@ -1,9 +1,11 @@
{ lib
, buildLua
, fetchFromGitHub
, fetchpatch
, unstableGitUpdater
, libnotify }:
{
lib,
buildLua,
fetchFromGitHub,
fetchpatch,
unstableGitUpdater,
libnotify,
}:
buildLua rec {
pname = "mpv-notify-send";
@ -25,7 +27,10 @@ buildLua rec {
];
passthru.extraWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath libnotify)
"--prefix"
"PATH"
":"
(lib.makeBinPath libnotify)
];
passthru.updateScript = unstableGitUpdater { };

View File

@ -1,8 +1,9 @@
{ lib
, buildLua
, fetchFromGitHub
, makeFontsConf
, nix-update-script
{
lib,
buildLua,
fetchFromGitHub,
makeFontsConf,
nix-update-script,
}:
buildLua (finalAttrs: {
pname = "mpv-osc-modern";

View File

@ -1,4 +1,10 @@
{ lib, buildLua, fetchFromGitHub, unstableGitUpdater, yt-dlp }:
{
lib,
buildLua,
fetchFromGitHub,
unstableGitUpdater,
yt-dlp,
}:
buildLua rec {
pname = "mpv-playlistmanager";
@ -10,7 +16,7 @@ buildLua rec {
rev = "1911dc053951169c98cfcfd9f44ef87d9122ca80";
hash = "sha256-pcdOMhkivLF5B86aNuHrqj77DuYLAFGlwFwY7jxkDkE=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
postPatch = ''
substituteInPlace playlistmanager.lua \

View File

@ -1,8 +1,9 @@
{ lib
, buildLua
, fetchFromGitHub
, luaPackages
, unstableGitUpdater
{
lib,
buildLua,
fetchFromGitHub,
luaPackages,
unstableGitUpdater,
}:
buildLua {

View File

@ -1,24 +1,31 @@
{ lib
, buildLua
, mpv-unwrapped
{
lib,
buildLua,
mpv-unwrapped,
}:
let mkBuiltin = name: args:
let srcPath = "TOOLS/lua/${name}.lua";
in buildLua (lib.attrsets.recursiveUpdate rec {
inherit (mpv-unwrapped) src version;
pname = "mpv-${name}";
let
mkBuiltin =
name: args:
let
srcPath = "TOOLS/lua/${name}.lua";
in
buildLua (
lib.attrsets.recursiveUpdate rec {
inherit (mpv-unwrapped) src version;
pname = "mpv-${name}";
dontUnpack = true;
scriptPath = "${src}/${srcPath}";
dontUnpack = true;
scriptPath = "${src}/${srcPath}";
meta = with lib; {
inherit (mpv-unwrapped.meta) license;
homepage = "https://github.com/mpv-player/mpv/blob/v${version}/${srcPath}";
};
} args);
in lib.mapAttrs (name: lib.makeOverridable (mkBuiltin name)) {
meta = with lib; {
inherit (mpv-unwrapped.meta) license;
homepage = "https://github.com/mpv-player/mpv/blob/v${version}/${srcPath}";
};
} args
);
in
lib.mapAttrs (name: lib.makeOverridable (mkBuiltin name)) {
acompressor.meta = {
description = "Script to toggle and control ffmpeg's dynamic range compression filter.";
maintainers = with lib.maintainers; [ nicoo ];

View File

@ -1,10 +1,11 @@
{ lib
, buildLua
, fetchFromGitHub
, gitUpdater
, curl
, wl-clipboard
, xclip
{
lib,
buildLua,
fetchFromGitHub,
gitUpdater,
curl,
wl-clipboard,
xclip,
}:
buildLua rec {
@ -17,9 +18,7 @@ buildLua rec {
rev = "v${version}";
sha256 = "sha256-VHMXW2AzgX88EDnNshxo9Gh8mpXzRoTAq+58HKasUdo=";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
postPatch = ''
substituteInPlace utils/forvo.lua \

View File

@ -1,45 +1,49 @@
{ lib
, fetchFromGitHub
, unstableGitUpdater
, buildLua
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
}:
let
camelToKebab = let
inherit (lib.strings) match stringAsChars toLower;
isUpper = match "[A-Z]";
in stringAsChars (c: if isUpper c != null then "-${toLower c}" else c);
camelToKebab =
let
inherit (lib.strings) match stringAsChars toLower;
isUpper = match "[A-Z]";
in
stringAsChars (c: if isUpper c != null then "-${toLower c}" else c);
mkScript = name: args:
let self = rec {
pname = camelToKebab name;
version = "0-unstable-2024-01-11";
src = fetchFromGitHub {
owner = "occivink";
repo = "mpv-scripts";
rev = "d0390c8e802c2e888ff4a2e1d5e4fb040f855b89";
hash = "sha256-pc2aaO7lZaoYMEXv5M0WI7PtmqgkNbdtNiLZZwVzppM=";
mkScript =
name: args:
let
self = rec {
pname = camelToKebab name;
version = "0-unstable-2024-01-11";
src = fetchFromGitHub {
owner = "occivink";
repo = "mpv-scripts";
rev = "d0390c8e802c2e888ff4a2e1d5e4fb040f855b89";
hash = "sha256-pc2aaO7lZaoYMEXv5M0WI7PtmqgkNbdtNiLZZwVzppM=";
};
passthru.updateScript = unstableGitUpdater { };
scriptPath = "scripts/${pname}.lua";
meta = with lib; {
homepage = "https://github.com/occivink/mpv-scripts";
license = licenses.unlicense;
maintainers = with maintainers; [ nicoo ];
};
# Sadly needed to make `common-updaters` work here
pos = builtins.unsafeGetAttrPos "version" self;
};
passthru.updateScript = unstableGitUpdater {};
scriptPath = "scripts/${pname}.lua";
meta = with lib; {
homepage = "https://github.com/occivink/mpv-scripts";
license = licenses.unlicense;
maintainers = with maintainers; [ nicoo ];
};
# Sadly needed to make `common-updaters` work here
pos = builtins.unsafeGetAttrPos "version" self;
};
in buildLua (lib.attrsets.recursiveUpdate self args);
in
buildLua (lib.attrsets.recursiveUpdate self args);
in
lib.mapAttrs (name: lib.makeOverridable (mkScript name)) {
# Usage: `pkgs.mpv.override { scripts = [ pkgs.mpvScripts.seekTo ]; }`
seekTo.meta.description = "Mpv script for seeking to a specific position";
blacklistExtensions.meta.description =
"Automatically remove playlist entries based on their extension.";
blacklistExtensions.meta.description = "Automatically remove playlist entries based on their extension.";
}

View File

@ -1,7 +1,9 @@
{ lib
, fetchFromGitHub
, unstableGitUpdater
, buildLua }:
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
}:
buildLua rec {
pname = "mpv-quack";
@ -9,11 +11,11 @@ buildLua rec {
version = "0-unstable-2020-05-27";
src = fetchFromGitHub {
owner = "CounterPillow";
repo = "mpv-quack";
rev = "1c87f36f9726d462dd112188c04be54d85692cf3";
hash = "sha256-dEnJbS8RJoAxpKINdoMHN4l7vpEdf7+C5JVWpK0VXMw=";
repo = "mpv-quack";
rev = "1c87f36f9726d462dd112188c04be54d85692cf3";
hash = "sha256-dEnJbS8RJoAxpKINdoMHN4l7vpEdf7+C5JVWpK0VXMw=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Reduce audio volume after seeking";

View File

@ -1,8 +1,9 @@
{ lib
, buildLua
, fetchFromGitHub
, gitUpdater
, oscSupport ? false
{
lib,
buildLua,
fetchFromGitHub,
gitUpdater,
oscSupport ? false,
}:
buildLua rec {
@ -15,9 +16,7 @@ buildLua rec {
rev = "v${version}";
hash = "sha256-yrcTxqpLnOI1Tq3khhflO3wzhyeTPuvKifyH5/P57Ns=";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
extraScripts = lib.optional oscSupport "quality-menu-osc.lua";

View File

@ -1,7 +1,9 @@
{ lib
, fetchFromGitHub
, unstableGitUpdater
, buildLua }:
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
}:
buildLua rec {
pname = "mpv-reload";
@ -9,11 +11,11 @@ buildLua rec {
version = "0-unstable-2024-03-22";
src = fetchFromGitHub {
owner = "4e6";
repo = pname;
rev = "1a6a9383ba1774708fddbd976e7a9b72c3eec938";
hash = "sha256-BshxCjec/UNGyiC0/g1Rai2NvG2qOIHXDDEUYwwdij0=";
repo = pname;
rev = "1a6a9383ba1774708fddbd976e7a9b72c3eec938";
hash = "sha256-BshxCjec/UNGyiC0/g1Rai2NvG2qOIHXDDEUYwwdij0=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Manual & automatic reloading of videos";

View File

@ -1,6 +1,8 @@
{ lib, buildLua
, fetchFromGitHub
, gitUpdater
{
lib,
buildLua,
fetchFromGitHub,
gitUpdater,
}:
buildLua rec {
pname = "simple-mpv-ui";
@ -11,11 +13,12 @@ buildLua rec {
repo = "simple-mpv-webui";
rev = "v${version}";
hash = "sha256-I8lwpo3Hfpy3UnPMmHEJCdArVQnNL245NkxsYVmnMF0=";
sparseCheckout = [ "main.lua" "webui-page" ];
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
sparseCheckout = [
"main.lua"
"webui-page"
];
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
scriptPath = ".";
passthru.scriptName = "webui";
@ -23,7 +26,10 @@ buildLua rec {
meta = with lib; {
description = "A web based user interface with controls for the mpv mediaplayer";
homepage = "https://github.com/open-dynaMIX/simple-mpv-webui";
maintainers = with maintainers; [ cript0nauta zopieux ];
maintainers = with maintainers; [
cript0nauta
zopieux
];
longDescription = ''
You can access the webui when accessing http://127.0.0.1:8080 or
http://[::1]:8080 in your webbrowser. By default it listens on

View File

@ -1,4 +1,11 @@
{ lib, buildLua, fetchFromGitea, unstableGitUpdater, curl, coreutils }:
{
lib,
buildLua,
fetchFromGitea,
unstableGitUpdater,
curl,
coreutils,
}:
buildLua {
pname = "mpv_sponsorblock_minimal";
@ -21,8 +28,7 @@ buildLua {
'';
meta = with lib; {
description =
"A minimal script to skip sponsored segments of YouTube videos";
description = "A minimal script to skip sponsored segments of YouTube videos";
homepage = "https://codeberg.org/jouni/mpv_sponsorblock_minimal";
license = licenses.gpl3Only;
platforms = platforms.all;

View File

@ -1,4 +1,11 @@
{ lib, buildLua, fetchFromGitHub, fetchpatch, python3, nix-update-script }:
{
lib,
buildLua,
fetchFromGitHub,
fetchpatch,
python3,
nix-update-script,
}:
# Usage: `pkgs.mpv.override { scripts = [ pkgs.mpvScripts.sponsorblock ]; }`
buildLua {
@ -34,9 +41,7 @@ buildLua {
extraScripts = [ "sponsorblock_shared" ];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = with lib; {
description = "Script for mpv to skip sponsored segments of YouTube videos";

View File

@ -1,4 +1,10 @@
{ lib, fetchFromGitHub, unstableGitUpdater, buildLua, mpv-unwrapped }:
{
lib,
fetchFromGitHub,
unstableGitUpdater,
buildLua,
mpv-unwrapped,
}:
buildLua {
pname = "mpv-thumbfast";
@ -10,10 +16,13 @@ buildLua {
rev = "03e93feee5a85bf7c65db953ada41b4826e9f905";
hash = "sha256-5u5WBvWOEydJrnr/vilEgW4+fxkxM6wNjb9Fyyxx/1c=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
passthru.extraWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ mpv-unwrapped ])
"--prefix"
"PATH"
":"
(lib.makeBinPath [ mpv-unwrapped ])
];
meta = {

View File

@ -1,4 +1,10 @@
{ lib, buildLua, fetchFromGitHub, gitUpdater, python3 }:
{
lib,
buildLua,
fetchFromGitHub,
gitUpdater,
python3,
}:
buildLua rec {
pname = "mpv-thumbnail-script";
@ -10,7 +16,7 @@ buildLua rec {
rev = version;
sha256 = "sha256-J24Rou7BTE7zoiPlBkWuO9dtYJiuzkuwB4FROuzXzag=";
};
passthru.updateScript = gitUpdater {};
passthru.updateScript = gitUpdater { };
nativeBuildInputs = [ python3 ];
postPatch = "patchShebangs concat_files.py";

View File

@ -1,10 +1,11 @@
{ lib
, fetchFromGitHub
, fetchpatch
, gitUpdater
, makeFontsConf
, buildLua
, buildGoModule
{
lib,
fetchFromGitHub,
fetchpatch,
gitUpdater,
makeFontsConf,
buildLua,
buildGoModule,
}:
buildLua (finalAttrs: {
@ -18,7 +19,7 @@ buildLua (finalAttrs: {
rev = finalAttrs.version;
hash = "sha256-0GPDna9uOuhFDhA9A1fbkoKkgSB76qiDzJVQ9gjGcWo=";
};
passthru.updateScript = gitUpdater {};
passthru.updateScript = gitUpdater { };
tools = buildGoModule {
pname = "uosc-bin";

View File

@ -1,11 +1,12 @@
{ lib
, fetchFromGitHub
, curl
, xclip
, wl-clipboard
, stdenv
, buildLua
, unstableGitUpdater
{
lib,
fetchFromGitHub,
curl,
xclip,
wl-clipboard,
stdenv,
buildLua,
unstableGitUpdater,
}:
buildLua {
pname = "videoclip";
@ -18,13 +19,15 @@ buildLua {
hash = "sha256-Sg6LHU9OVmVx3cTs8Y0WL8wACb5BlVyeBRccoX+7BXY=";
};
patchPhase = ''
substituteInPlace platform.lua \
--replace \'curl\' \'${lib.getExe curl}\' \
'' + lib.optionalString stdenv.isLinux ''
--replace xclip ${lib.getExe xclip} \
--replace wl-copy ${lib.getExe' wl-clipboard "wl-copy"}
'';
patchPhase =
''
substituteInPlace platform.lua \
--replace \'curl\' \'${lib.getExe curl}\' \
''
+ lib.optionalString stdenv.isLinux ''
--replace xclip ${lib.getExe xclip} \
--replace wl-copy ${lib.getExe' wl-clipboard "wl-copy"}
'';
scriptPath = ".";
passthru.scriptName = "videoclip";

View File

@ -14,11 +14,11 @@ buildLua {
rev = "b4246984ba6dc6820adef5c8bbf793af85c9ab8e";
sha256 = "ZNUzw4OW7z+yGTxim7CCWJdWmihDFOQAQk3bC5Ijcbs=";
};
passthru.updateScript = unstableGitUpdater {};
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "various audio visualization";
homepage = "https://github.com/mfcc64/mpv-scripts";
maintainers = with maintainers; [kmein];
maintainers = with maintainers; [ kmein ];
};
}

View File

@ -1,4 +1,10 @@
{ lib, stdenvNoCC, fetchFromGitHub, gitUpdater, ffmpeg }:
{
lib,
stdenvNoCC,
fetchFromGitHub,
gitUpdater,
ffmpeg,
}:
stdenvNoCC.mkDerivation rec {
pname = "vr-reversal";
@ -10,9 +16,7 @@ stdenvNoCC.mkDerivation rec {
rev = "v${version}";
sha256 = "1wn2ngcvn7wcsl3kmj782x5q9130qw951lj6ilrkafp6q6zscpqr";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
dontBuild = true;

View File

@ -1,4 +1,11 @@
{ lib, buildNpmPackage, fetchFromGitHub, gitUpdater, nodejs, python3 }:
{
lib,
buildNpmPackage,
fetchFromGitHub,
gitUpdater,
nodejs,
python3,
}:
buildNpmPackage rec {
pname = "webtorrent-mpv-hook";
@ -10,9 +17,7 @@ buildNpmPackage rec {
rev = "v${version}";
hash = "sha256-/dMtXcIyfAs++Zgz2CxRW0tkzn5QjS+WVGChlCyrU0U=";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
postPatch = ''
substituteInPlace src/webtorrent.ts --replace-fail "node_path: 'node'" "node_path: '${lib.getExe nodejs}'"

View File

@ -1,4 +1,10 @@
{ buildLua, fetchFromGitHub, curl, unstableGitUpdater, lib }:
{
buildLua,
fetchFromGitHub,
curl,
unstableGitUpdater,
lib,
}:
buildLua rec {
pname = "youtube-upnext";

View File

@ -39,13 +39,13 @@ let
in
stdenv.mkDerivation rec {
pname = "crun";
version = "1.14.4";
version = "1.15";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = version;
hash = "sha256-f+cG9800QKZH4+9ie97TmTbQlpLXe+z+47ptP+HgIgs=";
hash = "sha256-ZLkpwNxhTssp5RZ041+/mveq7Sct8fVzsdt8X319V1Q=";
fetchSubmodules = true;
};

View File

@ -5,12 +5,14 @@
{ package,
moduleNames ? package.meta.pkgConfigModules,
testName ? "check-pkg-config-${lib.concatStringsSep "-" moduleNames}",
version ? package.version or null,
versionCheck ? false,
}:
runCommand testName {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ package ];
inherit moduleNames;
inherit moduleNames version versionCheck;
meta = {
description = "Test whether ${package.name} exposes pkg-config modules ${lib.concatStringsSep ", " moduleNames}.";
}
@ -31,20 +33,38 @@ runCommand testName {
package.meta;
} ''
touch "$out"
notFound=0
versionMismatch=0
for moduleName in $moduleNames; do
echo "checking pkg-config module $moduleName in $buildInputs"
set +e
version="$($PKG_CONFIG --modversion $moduleName)"
moduleVersion="$($PKG_CONFIG --modversion $moduleName)"
r=$?
set -e
if [[ $r = 0 ]]; then
echo " pkg-config module $moduleName exists and has version $version"
if [[ "$moduleVersion" == "$version" ]]; then
echo " pkg-config module $moduleName exists and has version $moduleVersion"
else
echo " pkg-config module $moduleName exists and has version $moduleVersion when $version was expected"
((versionMismatch+=1))
fi
printf '%s\t%s\n' "$moduleName" "$version" >> "$out"
else
echo "These modules were available in the input propagation closure:"
$PKG_CONFIG --list-all
echo " pkg-config module $moduleName was not found"
false
((notFound+=1))
fi
done
if [[ $notFound -eq 0 ]] && ([[ $versionMismatch -eq 0 ]] || [[ "$versionCheck" == false ]]); then
exit 0
fi
if [[ $notFound -ne 0 ]]; then
echo "$notFound modules not found"
echo "These modules were available in the input propagation closure:"
$PKG_CONFIG --list-all
fi
if [[ $versionMismatch -ne 0 ]]; then
echo "$versionMismatch version mismatches"
fi
exit 1
''

View File

@ -1,9 +1,20 @@
# cd nixpkgs
# nix-build -A tests.testers.hasPkgConfigModule
{ lib, testers, zlib, openssl, runCommand }:
# nix-build -A tests.testers.hasPkgConfigModules
{ lib, testers, miniz, zlib, openssl, runCommand }:
lib.recurseIntoAttrs {
miniz-versions-match = testers.hasPkgConfigModules {
package = miniz;
versionCheck = true;
};
miniz-versions-mismatch = testers.testBuildFailure (testers.hasPkgConfigModules {
package = miniz;
version = "1.2.3";
versionCheck = true;
});
zlib-has-zlib = testers.hasPkgConfigModules {
package = zlib;
moduleNames = [ "zlib" ];

View File

@ -5,7 +5,7 @@
let
pname = "csvkit";
version = "1.5.0";
version = "2.0.0";
pythonEnv = python3;
in
pythonEnv.pkgs.buildPythonApplication {
@ -14,7 +14,7 @@ pythonEnv.pkgs.buildPythonApplication {
src = fetchPypi {
inherit pname version;
hash = "sha256-lnqL6PxY7fViEiW1pqaXsOhzC5YupoCFkWqRhgsiIRw=";
hash = "sha256-MR8heHYVqRZWiX4hfGKrJshEbWcwm2G9AT40WzWBb98=";
};
propagatedBuildInputs = with pythonEnv.pkgs; [

View File

@ -38,11 +38,11 @@
stdenv.mkDerivation rec {
pname = "digikam";
version = "8.2.0";
version = "8.3.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/digiKam-${version}.tar.xz";
hash = "sha256-L3/LVZsSPtnsrlpa729FYO7l9JIG2dF0beyatsj7OL8=";
url = "mirror://kde/stable/${pname}/${version}/digiKam-${version}-1.tar.xz";
hash = "sha256-BbFF/38vIAX6IbxXnBUqsjyBkbZ4/ylEyPBAbWud5tg=";
};
strictDeps = true;

View File

@ -120,7 +120,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "fwupd";
version = "1.9.18";
version = "1.9.19";
# libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out
@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "fwupd";
repo = "fwupd";
rev = finalAttrs.version;
hash = "sha256-w2jqIPNV6OkPaHfy7bEFgr5IgzJYtMTrO5UWmnZ+2JI=";
hash = "sha256-PQwUBOsKejXpS3G3VSJgatCltGy+wejPXCdEsDw87jo=";
};
patches = [

View File

@ -0,0 +1,20 @@
{ lib
, buildDotnetGlobalTool
}:
buildDotnetGlobalTool {
pname = "dotnet-gitversion";
nugetName = "GitVersion.Tool";
version = "5.12.0";
nugetSha256 = "sha256-dclYG2D0uSYqf++y33JCefkYLwbuRCuKd3qLMnx3BDI=";
meta = with lib; {
description = "From git log to SemVer in no time";
homepage = "https://gitversion.net/";
downloadPage = "https://github.com/GitTools/GitVersion";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ acesyde ];
};
}

View File

@ -10,11 +10,11 @@
stdenv.mkDerivation rec {
pname = "guile-lzlib";
version = "0.0.2";
version = "0.3.0";
src = fetchurl {
url = "https://notabug.org/guile-lzlib/guile-lzlib/archive/${version}.tar.gz";
hash = "sha256-hiPbd9RH57n/v8vCiDkOcGprGomxFx2u1gh0z+x+T4c=";
hash = "sha256-p/mcjSoUPgXqItstyLnObCfK6UIWK0XuMBXtkCevD/I=";
};
strictDeps = true;

View File

@ -0,0 +1,62 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
cargo,
rustc,
meson,
ninja,
pkg-config,
wrapGAppsHook4,
desktop-file-utils,
glib,
gtk4,
libadwaita,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hieroglyphic";
version = "1.0.1";
# Note: 1.1.0 requires a higher gtk4 version. This requirement could be patched out.
src = fetchFromGitHub {
owner = "FineFindus";
repo = "Hieroglyphic";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-Twx3yM71xn2FT3CbiFGbo2knGvb4MBl6VwjWlbjfks0=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
name = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-Se/YCi0e+Uoh5guDteLRXZYyk7et0NA8cv+vNpLxzx4=";
};
nativeBuildInputs = [
rustPlatform.cargoSetupHook
cargo
rustc
meson
ninja
pkg-config
wrapGAppsHook4
desktop-file-utils
];
buildInputs = [
glib
gtk4
libadwaita
];
meta = {
changelog = "https://github.com/FineFindus/Hieroglyphic/releases/tag/v${finalAttrs.version}";
description = "A tool based on detexify for finding LaTeX symbols from drawings";
homepage = "https://apps.gnome.org/en/Hieroglyphic/";
license = lib.licenses.gpl3Only;
mainProgram = "hieroglyphic";
maintainers = with lib.maintainers; [ tomasajt ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
})

View File

@ -1,14 +1,17 @@
{ lib, stdenv, fetchFromGitHub }:
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "inotify-info";
version = "unstable-2024-01-05";
version = "0.0.1";
src = fetchFromGitHub {
owner = "mikesart";
repo = "inotify-info";
rev = "a7ff6fa62ed96ec5d2195ef00756cd8ffbf23ae1";
hash = "sha256-yY+hjdb5J6dpFkIMMUWvZlwoGT/jqOuQIcFp3Dv+qB8=";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-fsUvIXWnP6Iy9Db0wDG+ntSw6mUt0MQOTJA5vFxhH+U=";
};
installPhase = ''

View File

@ -10,11 +10,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "lbreakouthd";
version = "1.1.7";
version = "1.1.8";
src = fetchurl {
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
hash = "sha256-ivgT8yYEFK4kEJkilj3NP4OO2mBkk2Zx6I+Elde0TkE=";
hash = "sha256-3WZ77KVDNitdIcXPFf0CMXtjDvEXi91Jr7mpeV09Wt4=";
};
buildInputs = [

729
pkgs/by-name/lu/lumafly/deps.nix generated Normal file
View File

@ -0,0 +1,729 @@
# This file was automatically generated by passthru.fetch-deps.
# Please dont edit it manually, your changes might get overwritten!
{fetchNuGet}: [
(fetchNuGet {
pname = "Avalonia";
version = "11.0.4";
sha256 = "0jid0x90dc8m609wqwbq87014yzih2iimz74wm6zi1j02k080jk0";
})
(fetchNuGet {
pname = "Avalonia.Angle.Windows.Natives";
version = "2.1.0.2023020321";
sha256 = "1az4s1g22ipak9a3xfh55z2h3rm6lpqh7svbpw6ag4ysrgsjjsjd";
})
(fetchNuGet {
pname = "Avalonia.AvaloniaEdit";
version = "11.0.0";
sha256 = "12ibz472083iiz5zskd1ivigggbl0d9yv3nazgw17s97nmnl2lpj";
})
(fetchNuGet {
pname = "Avalonia.BuildServices";
version = "0.0.29";
sha256 = "05mm7f0jssih3gbzqfgjnfq5cnqa85ihsg0z1897ciihv8qd3waq";
})
(fetchNuGet {
pname = "Avalonia.Controls.ColorPicker";
version = "11.0.4";
sha256 = "1sqdcaknqazq4mw2x1jb6pfmfnyhpkd4xh6fl4ld85qikzzj7796";
})
(fetchNuGet {
pname = "Avalonia.Controls.DataGrid";
version = "11.0.4";
sha256 = "10kc1pfyi0jq29xavq059vfjm51igi45yikz7i1ys061zbjs0n62";
})
(fetchNuGet {
pname = "Avalonia.Controls.ItemsRepeater";
version = "11.0.4";
sha256 = "1p7mz33a6dn6ghvwajxdghq15mn5f6isvvqzxcjbnhh3m5c1zhrz";
})
(fetchNuGet {
pname = "Avalonia.Desktop";
version = "11.0.4";
sha256 = "101jlqx24d19nk0nd7x19pvbjjybckzgqh9h78c85vb98xbwh3ky";
})
(fetchNuGet {
pname = "Avalonia.Diagnostics";
version = "11.0.4";
sha256 = "1dxylsvaffzravz64rwq2wjjlr3392i5153nmkqk89ldaq70wjja";
})
(fetchNuGet {
pname = "Avalonia.FreeDesktop";
version = "11.0.4";
sha256 = "1sbgs6d1b751h0ipq249w7z3aclpfb42sw3f7g31vin9w8wxwa6q";
})
(fetchNuGet {
pname = "Avalonia.HtmlRenderer";
version = "11.0.0-rc1.1";
sha256 = "0b8idah8s6xi34s3ldvhl0rrph0sdbyvkx4yj3934ghcq1iga79a";
})
(fetchNuGet {
pname = "Avalonia.Native";
version = "11.0.4";
sha256 = "10fyr63sqb4xyr7rlk94rzjbnb9mbln95mb9papip5kb3sm8jx60";
})
(fetchNuGet {
pname = "Avalonia.ReactiveUI";
version = "11.0.4";
sha256 = "1hs29qvbhm5qdhys0j3d89c37qfalx1pcpxl3hh9adz11wc0nb3b";
})
(fetchNuGet {
pname = "Avalonia.Remote.Protocol";
version = "11.0.4";
sha256 = "096436hhg45v02pp4f43mf00xn6blx7x66sb8fq5j4jn7479fynp";
})
(fetchNuGet {
pname = "Avalonia.Skia";
version = "11.0.4";
sha256 = "1ysmq4f8bxabpq3nhcrrvgwvxb9z7gx9565bvdyksdhsq16wyxym";
})
(fetchNuGet {
pname = "Avalonia.Svg";
version = "11.0.0";
sha256 = "1xmgaj2wnjdl16x4y6rmfp3q9faca5na90zlb8j62rxcwf1v3lkr";
})
(fetchNuGet {
pname = "Avalonia.Themes.Fluent";
version = "11.0.4";
sha256 = "03zdixi6m9g4mcxmp24z8dzamzqqy9i0wg069m4gl5p3wcvfbqla";
})
(fetchNuGet {
pname = "Avalonia.Themes.Simple";
version = "11.0.4";
sha256 = "1rncb8ifqarjc5gfh6ld0ldahvxy57a2hzi7vs826an4zl3r0yrx";
})
(fetchNuGet {
pname = "Avalonia.Win32";
version = "11.0.4";
sha256 = "07ijkpbhz59gvsxsik8mib8rhpm5yrpnjz66sjnxl8m0ghqnkf02";
})
(fetchNuGet {
pname = "Avalonia.X11";
version = "11.0.4";
sha256 = "0xq6xqd3cwwdcqsipvrs4rpf82nqhr45ispwjj4dxlyn4i1n8ryd";
})
(fetchNuGet {
pname = "ColorTextBlock.Avalonia";
version = "11.0.1";
sha256 = "0mkqh9hzr3z40wxhp0xy569cb4sq6lvq49f51n0kbdyvfnvbsipy";
})
(fetchNuGet {
pname = "Deadpikle.AvaloniaProgressRing";
version = "0.10.1";
sha256 = "1zk7ylw4iwl1rbnipq8djcrzwmgbsdwa6di00ml7drdpnrvzf600";
})
(fetchNuGet {
pname = "DialogHost.Avalonia";
version = "0.7.6";
sha256 = "1byzs1fqz4nhn2ljhyxpifhvdkpyg7k4xfjcb1h3pf0hr4y9fgf6";
})
(fetchNuGet {
pname = "DynamicData";
version = "7.9.5";
sha256 = "1m9qx8g6na5ka6kd9vhg8gjmxrnkzb6v5cl5yqp1kdjsw4rcwy6x";
})
(fetchNuGet {
pname = "ExCSS";
version = "4.1.4";
sha256 = "1y50xp6rihkydbf5l73mr3qq2rm6rdfjrzdw9h1dw9my230q5lpd";
})
(fetchNuGet {
pname = "Fizzler";
version = "1.2.1";
sha256 = "1w5jb1d0figbv68dydbnlcsfmqlc3sv9z1zxp7d79dg2dkarc4qm";
})
(fetchNuGet {
pname = "HarfBuzzSharp";
version = "2.8.2.3";
sha256 = "115aybicqs9ijjlcv6k6r5v0agkjm1bm1nkd0rj3jglv8s0xvmp2";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.Linux";
version = "2.8.2.3";
sha256 = "1f18ahwkaginrg0vwsi6s56lvnqvvxv7pzklfs5lnknasxy1a76z";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.macOS";
version = "2.8.2.3";
sha256 = "052d8frpkj4ijs6fm6xp55xbv95b1s9biqwa0w8zp3rgm88m9236";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.WebAssembly";
version = "2.8.2.3";
sha256 = "043hv36bg5240znbm8x5la7py17m4jfzy57q3ka32f6zjld83j36";
})
(fetchNuGet {
pname = "HarfBuzzSharp.NativeAssets.Win32";
version = "2.8.2.3";
sha256 = "08khd2jqm8sw58ljz5srangzfm2sz3gd2q1jzc5fr80lj8rv6r74";
})
(fetchNuGet {
pname = "HPackage.Net";
version = "1.0.1";
sha256 = "1jm2gaydndpyhywdm4sbbvwzjk3sdd825fw2gxd1s6x6dbppsl3i";
})
(fetchNuGet {
pname = "HtmlAgilityPack";
version = "1.11.42";
sha256 = "0cvnc1qdfcjbqkh335bv4wp44zisb4hc69lq3zphiyzqfrjisnyb";
})
(fetchNuGet {
pname = "JetBrains.Annotations";
version = "2023.2.0";
sha256 = "0nx7nrzbg9gk9skdc9x330cbr5xbsly6z9gzxm46vywf55yp8vaj";
})
(fetchNuGet {
pname = "Markdown.Avalonia";
version = "11.0.1";
sha256 = "08sv0cmzhhwnw0mv9dc7gzr1kvlqrl5pgmc045gigkqb3fi4zps1";
})
(fetchNuGet {
pname = "Markdown.Avalonia.Html";
version = "11.0.1";
sha256 = "00ipmxrq994w3vdqxicbw2dpv6nm54n2xz0xkvn127p8qvb734a7";
})
(fetchNuGet {
pname = "Markdown.Avalonia.Svg";
version = "11.0.1";
sha256 = "1lhfb9jk70fgfng87k2kxr82glrmrhv3llyd1kylmdv2vl3w9gwg";
})
(fetchNuGet {
pname = "Markdown.Avalonia.SyntaxHigh";
version = "11.0.1";
sha256 = "076wn8ylpxiawn9vnsy6z6d8y4mb0nk80j52aaqm3293f9cqajz6";
})
(fetchNuGet {
pname = "Markdown.Avalonia.Tight";
version = "11.0.1";
sha256 = "0bxclsly98jngdw4ykf23ip1x78d5l0xkqbqmny0pjw3pi4nsxzk";
})
(fetchNuGet {
pname = "MessageBox.Avalonia";
version = "3.1.4";
sha256 = "1qfaadvax0yc6wlqbm88ilz3jqzx0qh855ixymlkbi7wmg62fxzc";
})
(fetchNuGet {
pname = "MicroCom.Runtime";
version = "0.11.0";
sha256 = "0p9c3m0zk59x9dcqw077hzd2yk60myisbacvm36mnwpcjwzjkp2m";
})
(fetchNuGet {
pname = "Microsoft.CodeAnalysis.Analyzers";
version = "3.0.0";
sha256 = "0bbl0jpqywqmzz2gagld1p2gvdfldjfjmm25hil9wj2nq1zc4di8";
})
(fetchNuGet {
pname = "Microsoft.CodeAnalysis.Common";
version = "3.8.0";
sha256 = "12n7rvr39bzkf2maw7zplw8rwpxpxss4ich3bb2pw770rx4nyvyw";
})
(fetchNuGet {
pname = "Microsoft.CodeAnalysis.CSharp";
version = "3.8.0";
sha256 = "1kmry65csvfn72zzc16vj1nfbfwam28wcmlrk3m5rzb8ydbzgylb";
})
(fetchNuGet {
pname = "Microsoft.CodeAnalysis.CSharp.Scripting";
version = "3.8.0";
sha256 = "0w0yx0lpg54iw5jazqk46h48gx43ij32gwac8iywdj6kxfxm03vw";
})
(fetchNuGet {
pname = "Microsoft.CodeAnalysis.Scripting.Common";
version = "3.8.0";
sha256 = "0hjgxcsj5zy27lqk0986m59n5dbplx2vjjla2lsvg4bwg8qa7bpk";
})
(fetchNuGet {
pname = "Microsoft.CSharp";
version = "4.3.0";
sha256 = "0gw297dgkh0al1zxvgvncqs0j15lsna9l1wpqas4rflmys440xvb";
})
(fetchNuGet {
pname = "Microsoft.Extensions.DependencyInjection";
version = "8.0.0-preview.7.23375.6";
sha256 = "0xjffkqxhz0a2fv91rpiajksni7g8h3nl6cq1jzgyh0vx692n7xg";
})
(fetchNuGet {
pname = "Microsoft.Extensions.DependencyInjection.Abstractions";
version = "8.0.0-preview.7.23375.6";
sha256 = "15c3pjyqqn47shxmzxkp0bmsnqa6721cphncmp7vqa3735wqp7jh";
})
(fetchNuGet {
pname = "Microsoft.NETCore.Platforms";
version = "1.1.0";
sha256 = "08vh1r12g6ykjygq5d3vq09zylgb84l63k49jc4v8faw9g93iqqm";
})
(fetchNuGet {
pname = "Microsoft.NETCore.Platforms";
version = "2.1.2";
sha256 = "1507hnpr9my3z4w1r6xk5n0s1j3y6a2c2cnynj76za7cphxi1141";
})
(fetchNuGet {
pname = "Microsoft.NETCore.Targets";
version = "1.1.0";
sha256 = "193xwf33fbm0ni3idxzbr5fdq3i2dlfgihsac9jj7whj0gd902nh";
})
(fetchNuGet {
pname = "Microsoft.Toolkit.HighPerformance";
version = "7.1.2";
sha256 = "18l950mq0l8s1z771l9p332ni7jryidjh4hi9p37l6p8frcnccxb";
})
(fetchNuGet {
pname = "Microsoft.Win32.SystemEvents";
version = "6.0.0";
sha256 = "0c6pcj088g1yd1vs529q3ybgsd2vjlk5y1ic6dkmbhvrp5jibl9p";
})
(fetchNuGet {
pname = "Mono.Cecil";
version = "0.11.5";
sha256 = "1l388sy7ibsq4b2pj08g3di0g8yppq47chd7ip10kwml6mpp1wcw";
})
(fetchNuGet {
pname = "NetSparkleUpdater.SparkleUpdater";
version = "2.3.0-preview20230704001";
sha256 = "07j73ak79wwxl62pj35za1la47537xjbb4c7fjq8zdy2bzjifc23";
})
(fetchNuGet {
pname = "NetSparkleUpdater.UI.Avalonia";
version = "3.0.0-preview20230703001";
sha256 = "04d53xb30hx86p6ski6kvv67bfdi6p4xim8v59rfyc388f363nkl";
})
(fetchNuGet {
pname = "Newtonsoft.Json";
version = "13.0.3";
sha256 = "0xrwysmrn4midrjal8g2hr1bbg38iyisl0svamb11arqws4w2bw7";
})
(fetchNuGet {
pname = "Newtonsoft.Json.Schema";
version = "3.0.15";
sha256 = "1nmc9zxpcyyf3f2ypxw6vnjwlw5sxjv13r65p2dy8xrx8jkgaslp";
})
(fetchNuGet {
pname = "Portable.BouncyCastle";
version = "1.9.0";
sha256 = "0kphjwz4hk2nki3b4f9z096xzd520nrpvi3cjib8fkjk6zhwrr8q";
})
(fetchNuGet {
pname = "PropertyChanged.SourceGenerator";
version = "1.0.8";
sha256 = "05ygdj1sizcw678vf459hzhz4ynz2s5s206vl99g5gy3d9kaham6";
})
(fetchNuGet {
pname = "ReactiveUI";
version = "18.3.1";
sha256 = "1lxkc8yk9glj0w9n5vry2dnwwvh8152ad2c5bivk8aciq64zidyn";
})
(fetchNuGet {
pname = "runtime.any.System.Collections";
version = "4.3.0";
sha256 = "0bv5qgm6vr47ynxqbnkc7i797fdi8gbjjxii173syrx14nmrkwg0";
})
(fetchNuGet {
pname = "runtime.any.System.Globalization";
version = "4.3.0";
sha256 = "1daqf33hssad94lamzg01y49xwndy2q97i2lrb7mgn28656qia1x";
})
(fetchNuGet {
pname = "runtime.any.System.IO";
version = "4.3.0";
sha256 = "0l8xz8zn46w4d10bcn3l4yyn4vhb3lrj2zw8llvz7jk14k4zps5x";
})
(fetchNuGet {
pname = "runtime.any.System.Reflection";
version = "4.3.0";
sha256 = "02c9h3y35pylc0zfq3wcsvc5nqci95nrkq0mszifc0sjx7xrzkly";
})
(fetchNuGet {
pname = "runtime.any.System.Reflection.Extensions";
version = "4.3.0";
sha256 = "0zyri97dfc5vyaz9ba65hjj1zbcrzaffhsdlpxc9bh09wy22fq33";
})
(fetchNuGet {
pname = "runtime.any.System.Reflection.Primitives";
version = "4.3.0";
sha256 = "0x1mm8c6iy8rlxm8w9vqw7gb7s1ljadrn049fmf70cyh42vdfhrf";
})
(fetchNuGet {
pname = "runtime.any.System.Resources.ResourceManager";
version = "4.3.0";
sha256 = "03kickal0iiby82wa5flar18kyv82s9s6d4xhk5h4bi5kfcyfjzl";
})
(fetchNuGet {
pname = "runtime.any.System.Runtime";
version = "4.3.0";
sha256 = "1cqh1sv3h5j7ixyb7axxbdkqx6cxy00p4np4j91kpm492rf4s25b";
})
(fetchNuGet {
pname = "runtime.any.System.Runtime.Handles";
version = "4.3.0";
sha256 = "0bh5bi25nk9w9xi8z23ws45q5yia6k7dg3i4axhfqlnj145l011x";
})
(fetchNuGet {
pname = "runtime.any.System.Runtime.InteropServices";
version = "4.3.0";
sha256 = "0c3g3g3jmhlhw4klrc86ka9fjbl7i59ds1fadsb2l8nqf8z3kb19";
})
(fetchNuGet {
pname = "runtime.any.System.Text.Encoding";
version = "4.3.0";
sha256 = "0aqqi1v4wx51h51mk956y783wzags13wa7mgqyclacmsmpv02ps3";
})
(fetchNuGet {
pname = "runtime.any.System.Threading.Tasks";
version = "4.3.0";
sha256 = "03mnvkhskbzxddz4hm113zsch1jyzh2cs450dk3rgfjp8crlw1va";
})
(fetchNuGet {
pname = "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "16rnxzpk5dpbbl1x354yrlsbvwylrq456xzpsha1n9y3glnhyx9d";
})
(fetchNuGet {
pname = "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "0hkg03sgm2wyq8nqk6dbm9jh5vcq57ry42lkqdmfklrw89lsmr59";
})
(fetchNuGet {
pname = "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "0c2p354hjx58xhhz7wv6div8xpi90sc6ibdm40qin21bvi7ymcaa";
})
(fetchNuGet {
pname = "runtime.native.System";
version = "4.3.0";
sha256 = "15hgf6zaq9b8br2wi1i3x0zvmk410nlmsmva9p0bbg73v6hml5k4";
})
(fetchNuGet {
pname = "runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "18pzfdlwsg2nb1jjjjzyb5qlgy6xjxzmhnfaijq5s2jw3cm3ab97";
})
(fetchNuGet {
pname = "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "0qyynf9nz5i7pc26cwhgi8j62ps27sqmf78ijcfgzab50z9g8ay3";
})
(fetchNuGet {
pname = "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "1klrs545awhayryma6l7g2pvnp9xy4z0r1i40r80zb45q3i9nbyf";
})
(fetchNuGet {
pname = "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "0zcxjv5pckplvkg0r6mw3asggm7aqzbdjimhvsasb0cgm59x09l3";
})
(fetchNuGet {
pname = "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "0vhynn79ih7hw7cwjazn87rm9z9fj0rvxgzlab36jybgcpcgphsn";
})
(fetchNuGet {
pname = "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "160p68l2c7cqmyqjwxydcvgw7lvl1cr0znkw8fp24d1by9mqc8p3";
})
(fetchNuGet {
pname = "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "15zrc8fgd8zx28hdghcj5f5i34wf3l6bq5177075m2bc2j34jrqy";
})
(fetchNuGet {
pname = "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl";
version = "4.3.0";
sha256 = "1p4dgxax6p7rlgj4q73k73rslcnz4wdcv8q2flg1s8ygwcm58ld5";
})
(fetchNuGet {
pname = "runtime.unix.System.Diagnostics.Debug";
version = "4.3.0";
sha256 = "1lps7fbnw34bnh3lm31gs5c0g0dh7548wfmb8zz62v0zqz71msj5";
})
(fetchNuGet {
pname = "runtime.unix.System.Private.Uri";
version = "4.3.0";
sha256 = "1jx02q6kiwlvfksq1q9qr17fj78y5v6mwsszav4qcz9z25d5g6vk";
})
(fetchNuGet {
pname = "runtime.unix.System.Runtime.Extensions";
version = "4.3.0";
sha256 = "0pnxxmm8whx38dp6yvwgmh22smknxmqs5n513fc7m4wxvs1bvi4p";
})
(fetchNuGet {
pname = "ShimSkiaSharp";
version = "1.0.0";
sha256 = "0gdsrzh8q8mxlm7sxvai7zshaz93a3dm1ha4cgs4845lfhpn8nhc";
})
(fetchNuGet {
pname = "SkiaSharp";
version = "2.88.3";
sha256 = "1yq694myq2rhfp2hwwpyzcg1pzpxcp7j72wib8p9pw9dfj7008sv";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.Linux";
version = "2.88.3";
sha256 = "0dajvr60nwvnv7s6kcqgw1w97zxdpz1c5lb7kcq7r0hi0l05ck3q";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.macOS";
version = "2.88.3";
sha256 = "191ajgi6fnfqcvqvkayjsxasiz6l0bv3pps8vv9abbyc4b12qvph";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.WebAssembly";
version = "2.88.3";
sha256 = "1w5njksq3amrrp7fqxw89nv6ar2kgc5yx092i4rxv7hrjbd1aagx";
})
(fetchNuGet {
pname = "SkiaSharp.NativeAssets.Win32";
version = "2.88.3";
sha256 = "03wwfbarsxjnk70qhqyd1dw65098dncqk2m0vksx92j70i7lry6q";
})
(fetchNuGet {
pname = "Splat";
version = "14.4.1";
sha256 = "03ycyjn2ii44npi015p4rk344xnjgdzz02cf63cmhx2ab8hv6p4b";
})
(fetchNuGet {
pname = "Splat";
version = "14.7.1";
sha256 = "1rs8bmwcvzg4yn05zglgk7vbmyi2flyyhjqn62sx1cjkrd9m0cs7";
})
(fetchNuGet {
pname = "Splat.Microsoft.Extensions.DependencyInjection";
version = "14.7.1";
sha256 = "0niwhksr74frjrkb47ihf44fq0353y4y1i3cim0fd855brvq8xh5";
})
(fetchNuGet {
pname = "Svg.Custom";
version = "1.0.0";
sha256 = "0bmvgaqy4iaxw9x88ifx3a2zz0vw3p9w6pj4bk3xfnf5p9vjx1mr";
})
(fetchNuGet {
pname = "Svg.Model";
version = "1.0.0";
sha256 = "0yrjcqcrlgqpdm3bi59nc3fppcqgrfc7jddjwxjj2q423gimip97";
})
(fetchNuGet {
pname = "Svg.SourceGenerator.Skia";
version = "1.0.0.1";
sha256 = "0sjx3kqwrmrlv9jsb59hwgs9ahj4qryrmqmgq41qnqi0w8d7yjyr";
})
(fetchNuGet {
pname = "System.Collections";
version = "4.3.0";
sha256 = "19r4y64dqyrq6k4706dnyhhw7fs24kpp3awak7whzss39dakpxk9";
})
(fetchNuGet {
pname = "System.Collections.Immutable";
version = "1.6.0";
sha256 = "1pbxzdz3pwqyybzv5ff2b7nrc281bhg7hq34w0fn1w3qfgrbwyw2";
})
(fetchNuGet {
pname = "System.Collections.Immutable";
version = "5.0.0";
sha256 = "1kvcllagxz2q92g81zkz81djkn2lid25ayjfgjalncyc68i15p0r";
})
(fetchNuGet {
pname = "System.ComponentModel.Annotations";
version = "4.5.0";
sha256 = "1jj6f6g87k0iwsgmg3xmnn67a14mq88np0l1ys5zkxhkvbc8976p";
})
(fetchNuGet {
pname = "System.Diagnostics.Debug";
version = "4.3.0";
sha256 = "00yjlf19wjydyr6cfviaph3vsjzg3d5nvnya26i2fvfg53sknh3y";
})
(fetchNuGet {
pname = "System.Drawing.Common";
version = "6.0.0";
sha256 = "02n8rzm58dac2np8b3xw8ychbvylja4nh6938l5k2fhyn40imlgz";
})
(fetchNuGet {
pname = "System.Dynamic.Runtime";
version = "4.3.0";
sha256 = "1d951hrvrpndk7insiag80qxjbf2y0y39y8h5hnq9612ws661glk";
})
(fetchNuGet {
pname = "System.Globalization";
version = "4.3.0";
sha256 = "1cp68vv683n6ic2zqh2s1fn4c2sd87g5hpp6l4d4nj4536jz98ki";
})
(fetchNuGet {
pname = "System.IO";
version = "4.3.0";
sha256 = "05l9qdrzhm4s5dixmx68kxwif4l99ll5gqmh7rqgw554fx0agv5f";
})
(fetchNuGet {
pname = "System.IO.Abstractions";
version = "19.2.69";
sha256 = "0k22xbyypfw0s4lia46c2ykcw1mwnkq1fqrw7bql6q3kvwm7ab7h";
})
(fetchNuGet {
pname = "System.IO.Pipelines";
version = "6.0.0";
sha256 = "08211lvckdsdbd67xz4f6cyk76cli565j0dby1grlc4k9bhwby65";
})
(fetchNuGet {
pname = "System.Linq";
version = "4.3.0";
sha256 = "1w0gmba695rbr80l1k2h4mrwzbzsyfl2z4klmpbsvsg5pm4a56s7";
})
(fetchNuGet {
pname = "System.Linq.Expressions";
version = "4.3.0";
sha256 = "0ky2nrcvh70rqq88m9a5yqabsl4fyd17bpr63iy2mbivjs2nyypv";
})
(fetchNuGet {
pname = "System.Memory";
version = "4.5.4";
sha256 = "14gbbs22mcxwggn0fcfs1b062521azb9fbb7c113x0mq6dzq9h6y";
})
(fetchNuGet {
pname = "System.Numerics.Vectors";
version = "4.5.0";
sha256 = "1kzrj37yzawf1b19jq0253rcs8hsq1l2q8g69d7ipnhzb0h97m59";
})
(fetchNuGet {
pname = "System.ObjectModel";
version = "4.3.0";
sha256 = "191p63zy5rpqx7dnrb3h7prvgixmk168fhvvkkvhlazncf8r3nc2";
})
(fetchNuGet {
pname = "System.Private.Uri";
version = "4.3.0";
sha256 = "04r1lkdnsznin0fj4ya1zikxiqr0h6r6a1ww2dsm60gqhdrf0mvx";
})
(fetchNuGet {
pname = "System.Reactive";
version = "5.0.0";
sha256 = "1lafmpnadhiwxyd543kraxa3jfdpm6ipblxrjlibym9b1ykpr5ik";
})
(fetchNuGet {
pname = "System.Reactive";
version = "6.0.0";
sha256 = "1mkvx1fwychpczksy6svfmniqhbm3xqblxqik6178l12xgq7aw45";
})
(fetchNuGet {
pname = "System.Reflection";
version = "4.3.0";
sha256 = "0xl55k0mw8cd8ra6dxzh974nxif58s3k1rjv1vbd7gjbjr39j11m";
})
(fetchNuGet {
pname = "System.Reflection.Emit";
version = "4.3.0";
sha256 = "11f8y3qfysfcrscjpjym9msk7lsfxkk4fmz9qq95kn3jd0769f74";
})
(fetchNuGet {
pname = "System.Reflection.Emit.ILGeneration";
version = "4.3.0";
sha256 = "0w1n67glpv8241vnpz1kl14sy7zlnw414aqwj4hcx5nd86f6994q";
})
(fetchNuGet {
pname = "System.Reflection.Emit.Lightweight";
version = "4.3.0";
sha256 = "0ql7lcakycrvzgi9kxz1b3lljd990az1x6c4jsiwcacrvimpib5c";
})
(fetchNuGet {
pname = "System.Reflection.Extensions";
version = "4.3.0";
sha256 = "02bly8bdc98gs22lqsfx9xicblszr2yan7v2mmw3g7hy6miq5hwq";
})
(fetchNuGet {
pname = "System.Reflection.Metadata";
version = "5.0.0";
sha256 = "17qsl5nanlqk9iz0l5wijdn6ka632fs1m1fvx18dfgswm258r3ss";
})
(fetchNuGet {
pname = "System.Reflection.Primitives";
version = "4.3.0";
sha256 = "04xqa33bld78yv5r93a8n76shvc8wwcdgr1qvvjh959g3rc31276";
})
(fetchNuGet {
pname = "System.Reflection.TypeExtensions";
version = "4.3.0";
sha256 = "0y2ssg08d817p0vdag98vn238gyrrynjdj4181hdg780sif3ykp1";
})
(fetchNuGet {
pname = "System.Resources.ResourceManager";
version = "4.3.0";
sha256 = "0sjqlzsryb0mg4y4xzf35xi523s4is4hz9q4qgdvlvgivl7qxn49";
})
(fetchNuGet {
pname = "System.Runtime";
version = "4.3.0";
sha256 = "066ixvgbf2c929kgknshcxqj6539ax7b9m570cp8n179cpfkapz7";
})
(fetchNuGet {
pname = "System.Runtime.CompilerServices.Unsafe";
version = "4.7.1";
sha256 = "119br3pd85lq8zcgh4f60jzmv1g976q1kdgi3hvqdlhfbw6siz2j";
})
(fetchNuGet {
pname = "System.Runtime.Extensions";
version = "4.3.0";
sha256 = "1ykp3dnhwvm48nap8q23893hagf665k0kn3cbgsqpwzbijdcgc60";
})
(fetchNuGet {
pname = "System.Runtime.Handles";
version = "4.3.0";
sha256 = "0sw2gfj2xr7sw9qjn0j3l9yw07x73lcs97p8xfc9w1x9h5g5m7i8";
})
(fetchNuGet {
pname = "System.Runtime.InteropServices";
version = "4.3.0";
sha256 = "00hywrn4g7hva1b2qri2s6rabzwgxnbpw9zfxmz28z09cpwwgh7j";
})
(fetchNuGet {
pname = "System.Text.Encoding";
version = "4.3.0";
sha256 = "1f04lkir4iladpp51sdgmis9dj4y8v08cka0mbmsy0frc9a4gjqr";
})
(fetchNuGet {
pname = "System.Text.Encoding.CodePages";
version = "4.5.1";
sha256 = "1z21qyfs6sg76rp68qdx0c9iy57naan89pg7p6i3qpj8kyzn921w";
})
(fetchNuGet {
pname = "System.Text.Encodings.Web";
version = "7.0.0";
sha256 = "1151hbyrcf8kyg1jz8k9awpbic98lwz9x129rg7zk1wrs6vjlpxl";
})
(fetchNuGet {
pname = "System.Text.Json";
version = "7.0.3";
sha256 = "0zjrnc9lshagm6kdb9bdh45dmlnkpwcpyssa896sda93ngbmj8k9";
})
(fetchNuGet {
pname = "System.Threading";
version = "4.3.0";
sha256 = "0rw9wfamvhayp5zh3j7p1yfmx9b5khbf4q50d8k5rk993rskfd34";
})
(fetchNuGet {
pname = "System.Threading.Tasks";
version = "4.3.0";
sha256 = "134z3v9abw3a6jsw17xl3f6hqjpak5l682k2vz39spj4kmydg6k7";
})
(fetchNuGet {
pname = "System.Threading.Tasks.Extensions";
version = "4.5.4";
sha256 = "0y6ncasgfcgnjrhynaf0lwpkpkmv4a07sswwkwbwb5h7riisj153";
})
(fetchNuGet {
pname = "System.ValueTuple";
version = "4.5.0";
sha256 = "00k8ja51d0f9wrq4vv5z2jhq8hy31kac2rg0rv06prylcybzl8cy";
})
(fetchNuGet {
pname = "TestableIO.System.IO.Abstractions";
version = "19.2.69";
sha256 = "1y6xn5fgh4ia5ympjf33pvry4l76hgn7jwimvirbq8bkkc32v4hg";
})
(fetchNuGet {
pname = "TestableIO.System.IO.Abstractions.Wrappers";
version = "19.2.69";
sha256 = "1fjcgya57bx9n00y926d9bwrcii7l41gr470gz00q9ipj726wy30";
})
(fetchNuGet {
pname = "Tmds.DBus.Protocol";
version = "0.15.0";
sha256 = "0d99kcs7r9cp6gpyc7z230czkkyx4164x86dhy0mca73f2ykc2g2";
})
]

View File

@ -0,0 +1,75 @@
{
lib,
fetchFromGitHub,
buildDotnetModule,
dotnetCorePackages,
zlib,
icu,
fontconfig,
openssl,
libX11,
libICE,
libSM,
icoutils,
copyDesktopItems,
makeDesktopItem,
}:
buildDotnetModule rec {
pname = "lumafly";
version = "3.2.0.0";
src = fetchFromGitHub {
owner = "TheMulhima";
repo = "lumafly";
rev = "v${version}";
hash = "sha256-oDSM5Ev9SCjbvCgDZcpzm2bVnzG04yy/WaSwJyh0b18=";
};
projectFile = "Lumafly/Lumafly.csproj";
nugetDeps = ./deps.nix;
dotnet-sdk = dotnetCorePackages.sdk_7_0;
selfContainedBuild = true;
runtimeDeps = [
zlib
icu
fontconfig
openssl
libX11
libICE
libSM
];
nativeBuildInputs = [
icoutils
copyDesktopItems
];
postFixup = ''
# Icon for the desktop file
icotool -x $src/Lumafly/Assets/Lumafly.ico
install -D Lumafly_1_32x32x32.png $out/share/icons/hicolor/32x32/apps/lumafly.png
'';
desktopItems = [(makeDesktopItem {
desktopName = "Lumafly";
name = "lumafly";
exec = "Lumafly";
icon = "lumafly";
comment = meta.description;
type = "Application";
categories = [ "Game" ];
})];
meta = {
description = "A cross platform mod manager for Hollow Knight written in Avalonia";
homepage = "https://themulhima.github.io/Lumafly/";
license = lib.licenses.gpl3Plus;
mainProgram = "Lumafly";
maintainers = with lib.maintainers; [ rohanssrao ];
platforms = lib.platforms.linux;
};
}

View File

@ -23,13 +23,13 @@
stdenv.mkDerivation rec {
pname = "mold";
version = "2.30.0";
version = "2.31.0";
src = fetchFromGitHub {
owner = "rui314";
repo = "mold";
rev = "v${version}";
hash = "sha256-VVgJDKf21V7Mkfalh8tJ0Tx73VG1ong+8C6uPC23154=";
hash = "sha256-CUIk1YACM+eCuxyUqyKaVBF00Ybxr23D+FQuXv45Qrs=";
};
nativeBuildInputs = [

View File

@ -8,15 +8,15 @@
rustPlatform.buildRustPackage rec {
pname = "rwpspread";
version = "0.2.5";
version = "0.2.6";
src = fetchFromGitHub {
owner = "0xk1f0";
repo = "rwpspread";
rev = "v${version}";
hash = "sha256-kISC3fYtwgjNRWCFniIzNaaNLnvlFL+y5J14PdcZ7fQ=";
hash = "sha256-6pYMKBm3f0kH+KD6yWy7/H/bg8v7hNm81KAKHp02HY8=";
};
cargoHash = "sha256-2SjgY9YIHOUXL0+Njkh/peXUWJGlyI0fW8DVvdJXWV8=";
cargoHash = "sha256-/SjSwjrqODx9imtVxmOCrG4KwhXymHokyQ8FSC1SOd8=";
nativeBuildInputs = [ pkg-config ];

View File

@ -9,18 +9,18 @@
buildGoModule rec {
pname = "shopware-cli";
version = "0.4.40";
version = "0.4.42";
src = fetchFromGitHub {
repo = "shopware-cli";
owner = "FriendsOfShopware";
rev = version;
hash = "sha256-ZyLEv9yWBoDDliMcb8DBvq+7VXva50No9GX/xyIZCcM=";
hash = "sha256-+nSX7HUf9o43d3BoPPXebvMSdS1D2J6VVo7FWCwQcSU=";
};
nativeBuildInputs = [ installShellFiles makeWrapper ];
nativeCheckInputs = [ git dart-sass ];
vendorHash = "sha256-K6JcwZ7u/CYCY+Kpi3Ju6b5hZnyjs/fUTkRtZ9IEAS0=";
vendorHash = "sha256-7K56fBX4y2UPofksAl6+u7jBg5tySvtrutUJXDJ/qz4=";
postInstall = ''
export HOME="$(mktemp -d)"

View File

@ -0,0 +1,24 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "ups";
version = "0.2.1";
src = fetchFromGitHub {
owner = "rameshvarun";
repo = "ups";
rev = "v${version}";
sha256 = "sha256-7AuZ1gyp8tAWHM0Ry54tKucPJ3enaGDtvrM1J8uBIT8=";
};
vendorHash = "sha256-c6aE6iD6yCnnuSEDhhr3v1ArcfLmSP8QhS7Cz7rtVHs=";
meta = with lib; {
description = "Command line tool for creating and applying UPS patch files";
homepage = "https://github.com/rameshvarun/ups";
license = licenses.mit;
maintainers = with maintainers; [ ruby0b ];
};
}

View File

@ -4,14 +4,14 @@
}:
stdenvNoCC.mkDerivation rec {
pname = "0xproto";
version = "1.603";
version = "2.000";
src = let
underscoreVersion = builtins.replaceStrings ["."] ["_"] version;
in
fetchzip {
url = "https://github.com/0xType/0xProto/releases/download/${version}/0xProto_${underscoreVersion}.zip";
hash = "sha256-20KqPX6BKlyX+R3zrhDMz3p9Vwgd4RlRe2qhJpic6W4=";
hash = "sha256-ekoCvN3A0mrYUwIG61508bRAvLdOa+MQ4IXPWE5zKHw=";
};
installPhase = ''

View File

@ -5794,7 +5794,6 @@ broken-packages:
- SVD2HS # failure in job https://hydra.nixos.org/build/233248575 at 2023-09-02
- svfactor # failure in job https://hydra.nixos.org/build/233256743 at 2023-09-02
- svg-builder-fork # failure in job https://hydra.nixos.org/build/233224461 at 2023-09-02
- svgsym # failure in job https://hydra.nixos.org/build/233255287 at 2023-09-02
- svgutils # failure in job https://hydra.nixos.org/build/233193438 at 2023-09-02
- svm-light-utils # failure in job https://hydra.nixos.org/build/233219138 at 2023-09-02
- svm-simple # failure in job https://hydra.nixos.org/build/233235871 at 2023-09-02

View File

@ -291012,9 +291012,7 @@ self: {
];
description = "A tool to prune unused symbols from icon SVG files";
license = lib.licenses.gpl3Plus;
hydraPlatforms = lib.platforms.none;
mainProgram = "svgsym";
broken = true;
}) {};
"svgutils" = callPackage

View File

@ -1,6 +1,6 @@
{ mkDerivation }:
mkDerivation {
version = "26.2.4";
sha256 = "sha256-gTyBS5Q5V+bjwQQz+C55ZfYf8iAivn3V5qtvmfCo1XM=";
version = "26.2.5";
sha256 = "sha256-tUAvzkTE51gT4kS7voEZZpsMKVyBQR+wgk6mI0s1Vac=";
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "functionalplus";
version = "0.2.23";
version = "0.2.24";
src = fetchFromGitHub {
owner = "Dobiasd";
repo = "FunctionalPlus";
rev = "v${version}";
sha256 = "sha256-WDufVO0vQyu7O3w9tq+19JioRUFgYlnTbO/AQzg0FnM=";
sha256 = "sha256-iQGvqFiTqejSqXALgUWCBjfH9QO0cg3vnI5PphgVoms=";
};
nativeBuildInputs = [ cmake ];

View File

@ -1,10 +1,11 @@
{ ffmpeg_6-full
, fetchFromGitHub
, fetchpatch
, lib
}:
let
version = "6.0.1-5";
version = "6.0.1-6";
in
(ffmpeg_6-full.override {
@ -13,13 +14,19 @@ in
owner = "jellyfin";
repo = "jellyfin-ffmpeg";
rev = "v${version}";
hash = "sha256-y/J4iBbqtyyMnTb6R3lTVSOQD8oPo8liyVA5GQ5BvmM=";
hash = "sha256-jy5LPurjuSIMZlzVZcuaqAwAZunbYc9/6aJf+hna0Kw=";
};
}).overrideAttrs (old: {
pname = "jellyfin-ffmpeg";
# Clobber upstream patches as they don't apply to the Jellyfin fork
patches = [];
patches = [
(fetchpatch {
name = "fix_build_failure_due_to_libjxl_version_to_new";
url = "https://git.ffmpeg.org/gitweb/ffmpeg.git/patch/75b1a555a70c178a9166629e43ec2f6250219eb2";
hash = "sha256-+2kzfPJf5piim+DqEgDuVEEX5HLwRsxq0dWONJ4ACrU=";
})
];
configureFlags = old.configureFlags ++ [
"--extra-version=Jellyfin"

View File

@ -2,20 +2,24 @@
, gtk-doc, docbook-xsl-nons
, glib, ncurses, libxml2
, buildDocs ? true
, mesonEmulatorHook
}:
stdenv.mkDerivation rec {
pname = "libgnt";
version = "2.14.1";
version = "2.14.3";
outputs = [ "out" "dev" ] ++ lib.optional buildDocs "devdoc";
src = fetchurl {
url = "mirror://sourceforge/pidgin/${pname}-${version}.tar.xz";
sha256 = "1n2bxg0ignn53c08cp69pj4sdg53kwlqn23rincyjmpr327fdhsy";
hash = "sha256-V/VFf3KZnQuxoTmjfydG7BtaAsCU8nEKM52LzqQjYSM=";
};
nativeBuildInputs = [ meson ninja pkg-config ]
++ lib.optionals buildDocs [ gtk-doc docbook-xsl-nons ];
nativeBuildInputs = [ glib meson ninja pkg-config ]
++ lib.optionals buildDocs [ gtk-doc docbook-xsl-nons ]
++ lib.optionals (buildDocs && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [ glib ncurses libxml2 ];
@ -23,9 +27,11 @@ stdenv.mkDerivation rec {
substituteInPlace meson.build --replace \
"ncurses_sys_prefix = '/usr'" \
"ncurses_sys_prefix = '${lib.getDev ncurses}'"
'' + lib.optionalString (!buildDocs) ''
sed "/^subdir('doc')$/d" -i meson.build
'';
mesonFlags = [
(lib.mesonBool "doc" buildDocs)
(lib.mesonBool "python2" false)
];
meta = with lib; {
description = "An ncurses toolkit for creating text-mode graphical user interfaces";

View File

@ -28,7 +28,10 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail '=''${exec_prefix}//' '=/'
'';
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
passthru.tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
versionCheck = true;
};
meta = with lib; {
description = "Single C source file zlib-replacement library";

View File

@ -3,12 +3,12 @@
stdenv.mkDerivation rec {
pname = "poco";
version = "1.13.2";
version = "1.13.3";
src = fetchFromGitHub {
owner = "pocoproject";
repo = "poco";
sha256 = "sha256-GcwkGiui9j9RzMQyEEmqq8dxWzKpv5xWxJgvJpSMdbw=";
sha256 = "sha256-ryBQjzg1DyYd/LBZzjHxq8m/7ZXRSKNNGRkIII0eHK0=";
rev = "poco-${version}-release";
};

View File

@ -66,7 +66,8 @@ stdenv.mkDerivation rec {
patchInterpreter "$1"
wrapProgram "$out/libexec/genymotion/$1" \
--set "LD_LIBRARY_PATH" "${libPath}" \
--unset "QML2_IMPORT_PATH"
--unset "QML2_IMPORT_PATH" \
--unset "QT_PLUGIN_PATH"
}
patchTool() {
@ -77,8 +78,8 @@ stdenv.mkDerivation rec {
patchExecutable genymotion
patchExecutable player
patchExecutable qemu/x86_64/bin/qemu-img
patchExecutable qemu/x86_64/bin/qemu-system-x86_64
patchInterpreter qemu/x86_64/bin/qemu-img
patchInterpreter qemu/x86_64/bin/qemu-system-x86_64
patchTool adb
patchTool aapt

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, buildPythonPackage
, fetchpatch
, clarabel
, cvxopt
, ecos
@ -30,16 +29,6 @@ buildPythonPackage rec {
hash = "sha256-sbB4yMBZI60Sjn2BSwvhwzesBSYqeLdXqOb5V2SK2VM=";
};
patches = [
# fix QP tests. remove on next update
# https://github.com/cvxpy/cvxpy/pull/2343
(fetchpatch {
name = "fix-QP-tests.patch";
url = "https://github.com/cvxpy/cvxpy/commit/4c8549b9820e64c1b06f5d71c5d3f36528dd4a76.patch";
hash = "sha256-43zjS1STEBaGgj1jEOlX3XzMsE4wjoKAk8ApJo98AzY=";
})
];
# we need to patch out numpy version caps from upstream
postPatch = ''
sed -i 's/\(numpy>=[0-9.]*\),<[0-9.]*;/\1;/g' pyproject.toml

View File

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "langsmith";
version = "0.1.52";
version = "0.1.53";
pyproject = true;
disabled = pythonOlder "3.8";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "langchain-ai";
repo = "langsmith-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-kTl+H1odRYDZc1KEuopZV9PvOQBd4QioWMhb3pD6xKE=";
hash = "sha256-C18a1FxDwsW/x10x3ups/9hCGn3Ku1QydDGN9DlEXBk=";
};
sourceRoot = "${src.name}/python";

View File

@ -21,7 +21,7 @@
buildPythonPackage rec {
pname = "playwrightcapture";
version = "1.24.7";
version = "1.24.8";
pyproject = true;
disabled = pythonOlder "3.8";
@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "Lookyloo";
repo = "PlaywrightCapture";
rev = "refs/tags/v${version}";
hash = "sha256-mCwV5rgJLns4LvCVwnGAJeqs426GK/8rfp93YKH34VA=";
hash = "sha256-91EVR4cW383HiwcAg4BuhuC5jlwLwP1IFodD1iIo1j4=";
};
pythonRelaxDeps = [

View File

@ -1,15 +1,18 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "py-zabbix";
version = "1.1.7";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
@ -29,17 +32,21 @@ buildPythonPackage rec {
})
];
nativeCheckInputs = [
pytestCheckHook
];
build-system = [ setuptools ];
pythonImportsCheck = [
"pyzabbix"
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyzabbix" ];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# AttributeError: 'RawConfigParser' object has no attribute 'readfp'
"config"
];
meta = with lib; {
description = "Python module to interact with Zabbix";
homepage = "https://github.com/adubkov/py-zabbix";
changelog = "https://github.com/adubkov/py-zabbix/releases/tag/${version}";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};

View File

@ -1,28 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, pyjwt
, pythonOlder
, requests
, requests-toolbelt
{
lib,
buildPythonPackage,
fetchFromGitHub,
future,
pyjwt,
pythonOlder,
requests,
requests-toolbelt,
setuptools,
versioneer,
}:
buildPythonPackage rec {
pname = "webexteamssdk";
version = "1.6.1";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CiscoDevNet";
repo = pname;
rev = "v${version}";
repo = "webexteamssdk";
rev = "refs/tags/v${version}";
hash = "sha256-xlkmXl4tVm48drXmkUijv9GNXzJcDnfSKbOMciPIRRo=";
};
propagatedBuildInputs = [
postPatch = ''
# Remove vendorized versioneer
rm versioneer.py
'';
build-system = [
setuptools
versioneer
];
dependencies = [
future
pyjwt
requests
@ -32,13 +45,12 @@ buildPythonPackage rec {
# Tests require a Webex Teams test domain
doCheck = false;
pythonImportsCheck = [
"webexteamssdk"
];
pythonImportsCheck = [ "webexteamssdk" ];
meta = with lib; {
description = "Python module for Webex Teams APIs";
homepage = "https://github.com/CiscoDevNet/webexteamssdk";
changelog = "https://github.com/WebexCommunity/WebexPythonSDK/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};

View File

@ -22,13 +22,13 @@ assert builtins.all (x: builtins.elem x [ "node20" ]) nodeRuntimes;
buildDotnetModule rec {
pname = "github-runner";
version = "2.316.0";
version = "2.316.1";
src = fetchFromGitHub {
owner = "actions";
repo = "runner";
rev = "v${version}";
hash = "sha256-LoXVe4ZuVIFoqz+N8WK950Wm8zssCoKVj6HSkPvDFYU=";
hash = "sha256-y7HU71Pk0SrZ+IPaVa/XyMeHylfjUSEju+gp1vyVKtQ=";
leaveDotGit = true;
postFetch = ''
git -C $out rev-parse --short HEAD > $out/.git-revision

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "scc";
version = "3.2.0";
version = "3.3.0";
src = fetchFromGitHub {
owner = "boyter";
repo = "scc";
rev = "v${version}";
hash = "sha256-ZQIOV7TznaIrgSUgc5Pyc4sz2d5MFO+RgczQq3gZevk=";
hash = "sha256-WZWFgbC/Yz+KNYK+bjm+rlf3MJVPMbL+7hyFOSaSewA=";
};
vendorHash = null;

View File

@ -1,7 +1,7 @@
{ version, sha256, patches ? [] }:
{ lib, stdenv, buildPackages, fetchurl, perl, xz, libintl, bash
, gnulib, gawk
, gnulib, gawk, libiconv
# we are a dependency of gcc, this simplifies bootstraping
, interactive ? false, ncurses, procps
@ -13,11 +13,10 @@
# files.
let
inherit (lib) getDev getLib optional optionals optionalString;
crossBuildTools = stdenv.hostPlatform != stdenv.buildPlatform;
in
with lib;
stdenv.mkDerivation {
pname = "texinfo${optionalString interactive "-interactive"}";
inherit version;
@ -83,7 +82,7 @@ stdenv.mkDerivation {
done
'';
meta = {
meta = with lib; {
description = "The GNU documentation system";
homepage = "https://www.gnu.org/software/texinfo/";
changelog = "https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS";

View File

@ -1,6 +1,6 @@
{ lib, fetchgit, formats }:
with lib;
let
inherit (lib) concatStrings listToAttrs makeOverridable mapAttrsToList nameValuePair;
json = formats.json { };
in rec {

View File

@ -61,4 +61,9 @@ in
version = "7.4.3";
hash = "sha256-655DUH+Dbu8uMoAtRt08+S7KPVR7pLZA/aWbQHzbG4g=";
};
# EOL 2025-03-15
varnish75 = common {
version = "7.5.0";
hash = "sha256-/KYbmDE54arGHEVG0SoaOrmAfbsdgxRXHjFIyT/3K10=";
};
}

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, varnish, docutils, removeReferencesTo }:
let
common = { version, sha256, extraNativeBuildInputs ? [] }:
common = { version, hash, extraNativeBuildInputs ? [] }:
stdenv.mkDerivation rec {
pname = "${varnish.name}-modules";
inherit version;
@ -9,7 +9,7 @@ let
owner = "varnish";
repo = "varnish-modules";
rev = version;
inherit sha256;
inherit hash;
};
nativeBuildInputs = [
@ -39,10 +39,14 @@ in
{
modules15 = common {
version = "0.15.1";
sha256 = "1lwgjhgr5yw0d17kbqwlaj5pkn70wvaqqjpa1i0n459nx5cf5pqj";
hash = "1lwgjhgr5yw0d17kbqwlaj5pkn70wvaqqjpa1i0n459nx5cf5pqj";
};
modules23 = common {
version = "0.23.0";
sha256 = "sha256-Dd1pLMmRC59iRRpReDeQJ8Sv00ojb8InvaMrb+iRv4I=";
hash = "sha256-Dd1pLMmRC59iRRpReDeQJ8Sv00ojb8InvaMrb+iRv4I=";
};
modules24 = common {
version = "0.24.0";
hash = "sha256-2MfcrhhkBz9GyQxEWzjipdn1CBEqnCvC3t1G2YSauak=";
};
}

View File

@ -1,4 +1,4 @@
{ callPackages, callPackage, varnish60, varnish74, fetchFromGitHub }: {
{ callPackages, callPackage, varnish60, varnish74, varnish75, fetchFromGitHub }: {
varnish60Packages = rec {
varnish = varnish60;
modules = (callPackages ./modules.nix { inherit varnish; }).modules15;
@ -17,4 +17,8 @@
varnish = varnish74;
modules = (callPackages ./modules.nix { inherit varnish; }).modules23;
};
varnish75Packages = rec {
varnish = varnish75;
modules = (callPackages ./modules.nix { inherit varnish; }).modules24;
};
}

View File

@ -1,4 +1,4 @@
{ fetchCrate, lib, rustPlatform, pkg-config, stdenv, Security, SystemConfiguration }:
{ fetchCrate, installShellFiles, lib, rustPlatform, pkg-config, stdenv, Security, SystemConfiguration, buildPackages }:
rustPlatform.buildRustPackage rec {
pname = "vrc-get";
@ -9,12 +9,25 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-+xbHw1DpFmapjsFoUvxUqTok8TKMebMw3gYjO/rx/iU=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
cargoHash = "sha256-iuLhDcii+wXDNUsUMo8lj4kfJve5RAz7FT5Pxs9yFPQ=";
# Execute the resulting binary to generate shell completions, using emulation if necessary when cross-compiling.
# If no emulator is available, then give up on generating shell completions
postInstall =
let
vrc-get = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/vrc-get";
in
lib.optionalString (stdenv.hostPlatform.emulatorAvailable buildPackages) ''
installShellCompletion --cmd vrc-get \
--bash <(${vrc-get} completion bash) \
--fish <(${vrc-get} completion fish) \
--zsh <(${vrc-get} completion zsh)
'';
meta = with lib; {
description = "Command line client of VRChat Package Manager, the main feature of VRChat Creator Companion (VCC)";
homepage = "https://github.com/vrc-get/vrc-get";

View File

@ -1,29 +1,29 @@
{ lib
, fetchFromGitHub
, git
, python3
{
lib,
fetchFromGitHub,
git,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "ggshield";
version = "1.25.0";
version = "1.27.0";
pyproject = true;
src = fetchFromGitHub {
owner = "GitGuardian";
repo = "ggshield";
rev = "refs/tags/v${version}";
hash = "sha256-D6+0ZYuOiCy5LonP1Ob7PlWmBXvLwU3PODOT6F+70HY=";
hash = "sha256-esrDJar9J7V0ZIupfyURFWeGigV04Kxo06o/jMz17Fk=";
};
pythonRelaxDeps = true;
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
setuptools
];
build-system = with python3.pkgs; [ setuptools ];
propagatedBuildInputs = with python3.pkgs; [
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
dependencies = with python3.pkgs; [
appdirs
charset-normalizer
click
@ -40,25 +40,27 @@ python3.pkgs.buildPythonApplication rec {
rich
];
nativeCheckInputs = [
git
] ++ (with python3.pkgs; [
jsonschema
pyfakefs
pytest-mock
pytest-voluptuous
pytestCheckHook
snapshottest
vcrpy
]);
nativeCheckInputs =
[ git ]
++ (with python3.pkgs; [
jsonschema
pyfakefs
pytest-mock
pytest-voluptuous
pytestCheckHook
snapshottest
vcrpy
]);
pythonImportsCheck = [
"ggshield"
];
pythonImportsCheck = [ "ggshield" ];
disabledTestPaths = [
# Don't run functional tests
"tests/functional/"
"tests/unit/cmd/honeytoken"
"tests/unit/cmd/iac"
"tests/unit/cmd/sca/"
"tests/unit/cmd/scan/"
];
disabledTests = [
@ -77,10 +79,10 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Tool to find and fix various types of hardcoded secrets and infrastructure-as-code misconfigurations";
mainProgram = "ggshield";
homepage = "https://github.com/GitGuardian/ggshield";
changelog = "https://github.com/GitGuardian/ggshield/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "ggshield";
};
}

View File

@ -11,16 +11,16 @@
rustPlatform.buildRustPackage rec {
pname = "rustscan";
version = "2.2.2";
version = "2.2.3";
src = fetchFromGitHub {
owner = "RustScan";
repo = "RustScan";
rev = "refs/tags/${version}";
hash = "sha256-67XNEKzR72NOYlPbz2E9yf+THa1XN6muFJG2/iJa8AU=";
hash = "sha256-GOoyq2GgVGNUxxy0KQeRvkISb3FJqwWK5XpmoBAw/tk=";
};
cargoHash = "sha256-U9Kn9xAG+emyi8cWUCNP32z7f19MK8AGgGR6vFJd62Q=";
cargoHash = "sha256-K9NFm++jBsrn7U+rZkTOWhrUuL4CA0NR7SlSyhSIwSc=";
postPatch = ''
substituteInPlace src/scripts/mod.rs \

View File

@ -14618,9 +14618,9 @@ with pkgs;
valum = callPackage ../development/web/valum { };
inherit (callPackages ../servers/varnish { })
varnish60 varnish74;
varnish60 varnish74 varnish75;
inherit (callPackages ../servers/varnish/packages.nix { })
varnish60Packages varnish74Packages;
varnish60Packages varnish74Packages varnish75Packages;
varnishPackages = varnish74Packages;
varnish = varnishPackages.varnish;
@ -19209,7 +19209,7 @@ with pkgs;
modd = callPackage ../development/tools/modd { };
mold = callPackage ../development/tools/mold {
mold = callPackage ../by-name/mo/mold/package.nix {
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
tbb = tbb_2021_11;
};

View File

@ -29045,10 +29045,10 @@ with self; {
YAMLLibYAML = buildPerlPackage {
pname = "YAML-LibYAML";
version = "0.88";
version = "0.89";
src = fetchurl {
url = "mirror://cpan/authors/id/I/IN/INGY/YAML-LibYAML-0.88.tar.gz";
hash = "sha256-qKJzjMzDMqj3VJxMJ/PgCQyasR7vD2yFZEUXc5gTVng=";
url = "mirror://cpan/authors/id/T/TI/TINITA/YAML-LibYAML-0.89.tar.gz";
hash = "sha256-FVq4NnU0XFCt0DMRrPndkVlVcH+Qmiq9ixfXeShZsuw=";
};
meta = {
description = "Perl YAML Serialization using XS and libyaml";

View File

@ -93,7 +93,6 @@ let
windowsCommon = recursiveUpdate gnuCommon {
boehmgc = nativePlatforms;
guile_1_8 = nativePlatforms;
libffi = nativePlatforms;
libtool = nativePlatforms;
libunistring = nativePlatforms;