Merge master into staging-next

Changed files
+681 -312
doc
languages-frameworks
nixos
doc
manual
release-notes
modules
services
web-apps
pkgs
applications
audio
ardour
blockchains
display-managers
lightdm-slick-greeter
editors
emacs
misc
dbx
deadd-notification-center
feedbackd
phoc
shell-genie
syncthingtray
valent
networking
cluster
terraform-providers
video
window-managers
phosh
development
libraries
gvm-libs
nim-packages
build-nim-package
sdl2
python-modules
apispec-webframeworks
coinmetrics-api-client
dvc-data
elkm1-lib
fakeredis
filedepot
openaiauth
publicsuffixlist
pygnmi
pylion
rstcheck
simplekv
spacy
sqltrie
teslajsonpy
typer
tools
gendef
games
mudlet
unciv
os-specific
linux
servers
minio
web-apps
jitsi-meet
tools
archivers
arc_unpacker
backup
borgmatic
misc
security
cloudfox
system
top-level
+16 -24
doc/languages-frameworks/nim.section.md
···
The following example shows a Nim program that depends only on Nim libraries:
```nix
-
{ lib, nimPackages, fetchurl }:
-
-
nimPackages.buildNimPackage rec {
-
pname = "hottext";
-
version = "1.4";
+
{ lib, nimPackages, fetchFromGitHub }:
+
nimPackages.buildNimPackage (finalAttrs: {
+
pname = "ttop";
+
version = "1.0.1";
nimBinOnly = true;
-
src = fetchurl {
-
url = "https://git.sr.ht/~ehmry/hottext/archive/v${version}.tar.gz";
-
hash = "sha256-hIUofi81zowSMbt1lUsxCnVzfJGN3FEiTtN8CEFpwzY=";
+
src = fetchFromGitHub {
+
owner = "inv2004";
+
repo = "ttop";
+
rev = "v${finalAttrs.version}";
+
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
};
-
buildInputs = with nimPackages; [
-
bumpy
-
chroma
-
flatty
-
nimsimd
-
pixie
-
sdl2
-
typography
-
vmath
-
zippy
-
];
-
}
+
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
+
})
```
## Nim library packages in Nixpkgs {#nim-library-packages-in-nixpkgs}
···
```nix
{ lib, buildNimPackage, fetchNimble, SDL2 }:
-
buildNimPackage rec {
+
buildNimPackage (finalAttrs: {
pname = "sdl2";
version = "2.0.4";
src = fetchNimble {
-
inherit pname version;
-
hash = "sha256-qDtVSnf+7rTq36WAxgsUZ8XoUk4sKwHyt8EJcY5WP+o=";
+
inherit (finalAttrs) pname version;
+
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
};
propagatedBuildInputs = [ SDL2 ];
-
}
+
doCheck = true;
+
})
```
## `buildNimPackage` parameters {#buildnimpackage-parameters}
+1 -1
nixos/doc/manual/release-notes/rl-2305.section.md
···
- `buildDunePackage` now defaults to `strictDeps = true` which means that any library should go into `buildInputs` or `checkInputs`. Any executable that is run on the building machine should go into `nativeBuildInputs` or `nativeCheckInputs` respectively. Example of executables are `ocaml`, `findlib` and `menhir`. PPXs are libraries which are built by dune and should therefore not go into `nativeBuildInputs`.
-
- `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChrootenv` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs.
+
- `buildFHSUserEnv` is now called `buildFHSEnv` and uses FlatPak's Bubblewrap sandboxing tool rather than Nixpkgs' own chrootenv. The old chrootenv-based implemenation is still available via `buildFHSEnvChroot` but is considered deprecated and will be removed when the remaining uses inside Nixpkgs have been migrated. If your FHSEnv-wrapped application misbehaves when using the new bubblewrap implementation, please create an issue in Nixpkgs.
- Top-level `buildPlatform`, `hostPlatform`, `targetPlatform` have been deprecated, use `stdenv.X` instead.
+2 -1
nixos/modules/services/web-apps/nextcloud.nix
···
type = types.str;
description = lib.mdDoc ''
The full path to a file that contains the admin's password. Must be
-
readable by user `nextcloud`.
+
readable by user `nextcloud`. The password is set only in the initial
+
setup of nextcloud by the systemd `nextcloud-setup.service`.
'';
};
+2 -2
pkgs/applications/audio/ardour/default.nix
···
}:
stdenv.mkDerivation rec {
pname = "ardour";
-
version = "7.3";
+
version = "7.4";
# We can't use `fetchFromGitea` here, as attempting to fetch release archives from git.ardour.org
# result in an empty archive. See https://tracker.ardour.org/view.php?id=7328 for more info.
src = fetchgit {
url = "git://git.ardour.org/ardour/ardour.git";
rev = version;
-
hash = "sha256-fDZGmKQ6qgENkq8NY/J67Jym+IXoOYs8DT4xyPXLcC4=";
+
hash = "sha256-CUGhJi3ji0F6v41Y08sQvo7oKITOJ96ojdJL+FyCxmw=";
};
bundledContent = fetchzip {
+3 -3
pkgs/applications/blockchains/lnd/default.nix
···
buildGoModule rec {
pname = "lnd";
-
version = "0.16.2-beta";
+
version = "0.16.3-beta";
src = fetchFromGitHub {
owner = "lightningnetwork";
repo = "lnd";
rev = "v${version}";
-
sha256 = "sha256-s0m/aS99uB6LZb0+73SQ++mF0Ukg6IYIL+jbEi8ezW0=";
+
hash = "sha256-/seSpWnlQmeU4vQtlHMOSedPXP9HJp1GyxcB1LqHayA=";
};
-
vendorSha256 = "sha256-7Ydl56Z6aOMBQ1RamFzjD/yp3zgQLkF5WEoOQe1Urv0=";
+
vendorHash = "sha256-obrSVMqTwHe7231wa0OuoT6ANBqkQbkHIy93J2f68Zk=";
subPackages = [ "cmd/lncli" "cmd/lnd" ];
+10 -2
pkgs/applications/display-managers/lightdm-slick-greeter/default.nix
···
, intltool
, autoreconfHook
, wrapGAppsHook
+
, cinnamon
, lightdm
, gtk3
, pixman
, libcanberra
+
, libgnomekbd
, libX11
, libXext
, linkFarm
···
stdenv.mkDerivation rec {
pname = "lightdm-slick-greeter";
-
version = "1.6.1";
+
version = "1.8.1";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "slick-greeter";
rev = version;
-
sha256 = "sha256-k/E3bR63kesHQ/we+ctC0UEYE5YdZ6Lv5lYuXqCOvKA=";
+
sha256 = "sha256-40RyGWn32ppPjsuPljGBO6o7bu2rKYBweDycRS7xAVA=";
};
nativeBuildInputs = [
···
];
buildInputs = [
+
cinnamon.xapp
lightdm
gtk3
pixman
libcanberra
+
libgnomekbd # needed by XApp.KbdLayoutController
libX11
libXext
];
···
substituteInPlace src/session-list.vala \
--replace "/usr/share" "${placeholder "out"}/share"
+
+
# We prefer stable path here.
+
substituteInPlace data/x.dm.slick-greeter.gschema.xml \
+
--replace "/usr/share/onboard" "/run/current-system/sw/share/onboard"
patchShebangs files/usr/bin/*
'';
+1 -1
pkgs/applications/editors/emacs/generic.nix
···
, withWebP ? lib.versionAtLeast version "29"
, withX ? !(stdenv.isDarwin || noGui || withPgtk)
, withXinput2 ? withX && lib.versionAtLeast version "29"
-
, withXwidgets ? !noGui && (withGTK3 || withPgtk)
+
, withXwidgets ? !stdenv.isDarwin && !noGui && (withGTK3 || withPgtk)
# Options
, siteStart ? ./site-start.el
+12 -5
pkgs/applications/misc/dbx/default.nix
···
hash = "sha256-dArR1z3wkGDd3Y1WHK0sLjhuaKHAcsx6cCH2rgVdUGs=";
};
-
postPatch = ''
-
substituteInPlace setup.py \
-
--replace "mlflow-skinny>=1.28.0,<3.0.0" "mlflow" \
-
--replace "rich==12.6.0" "rich"
-
'';
+
pythonRelaxDeps = [
+
"rich"
+
"typer"
+
];
+
+
pythonRemoveDeps = [
+
"mlflow-skinny"
+
];
+
+
nativeBuildInputs = with python3.pkgs; [
+
pythonRelaxDepsHook
+
];
propagatedBuildInputs = with python3.pkgs; [
aiohttp
+5 -5
pkgs/applications/misc/deadd-notification-center/default.nix
···
'';
in mkDerivation rec {
pname = "deadd-notification-center";
-
version = "unstable-2022-11-07";
+
version = "2.0.3";
src = fetchFromGitHub {
owner = "phuhl";
repo = "linux_notification_center";
-
rev = "f4b8e2b724d86def9e7b0e12ea624f95760352d5";
-
hash = "sha256-ClJfWqStULvmj5YRAUDAmn2WOSA2sVtyZsa+qSY51Gk=";
+
rev = "${version}";
+
hash = "sha256-OM4zzKdo0HMvzAl7BG9IuSHmTauSC5rLWoJJOAshDYg=";
};
isLibrary = false;
···
isExecutable = true;
libraryHaskellDepends = with haskellPackages; [
-
base bytestring ConfigFile containers dbus directory env-locale
+
aeson base bytestring ConfigFile containers dbus directory env-locale
filepath gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib gi-gobject
gi-gtk gi-pango haskell-gettext haskell-gi haskell-gi-base
hdaemonize here lens mtl process regex-tdfa setlocale split stm
-
tagsoup text time transformers tuple unix
+
tagsoup text time transformers tuple unix yaml
];
executableHaskellDepends = with haskellPackages; [ base ];
+2 -9
pkgs/applications/misc/feedbackd/default.nix
···
in
stdenv.mkDerivation rec {
pname = "feedbackd";
-
version = "0.1.0";
+
version = "0.2.0";
outputs = [ "out" "dev" "devdoc" ];
···
owner = "Librem5";
repo = "feedbackd";
rev = "v${version}";
-
hash = "sha256-7H5Ah4zo+wLKd0WoKoOgtIm7HcUSw8PTf/KzBlY75oc=";
+
hash = "sha256-l5rfMx3ElW25A5WVqzfKBp57ebaNC9msqV7mvnwv10s=";
fetchSubmodules = true;
};
-
-
patches = [
-
(fetchpatch2 {
-
url = "https://source.puri.sm/Librem5/feedbackd/-/merge_requests/109.patch";
-
hash = "sha256-z3Ud6P2GHYOaGA2vJDD3Sz47+M8p0VcYZ5gbYcGydMk=";
-
})
-
];
depsBuildBuild = [
pkg-config
+2 -2
pkgs/applications/misc/phoc/default.nix
···
});
in stdenv.mkDerivation rec {
pname = "phoc";
-
version = "0.25.0";
+
version = "0.27.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
···
owner = "Phosh";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-1cbv4vzQ+RcRoT1pOT8Q0nxuZzKUlec38KCNMYaceeE=";
+
sha256 = "sha256-4/Fxo72KXLy3gxXMS+PrTUbZl0EFt2GPMXg8+/fE7MY=";
fetchSubmodules = true;
};
+5
pkgs/applications/misc/shell-genie/default.nix
···
hash = "sha256-z7LiAq2jLzqjg4Q/r9o7M6VbedeT34NyPpgctfqBp+8=";
};
+
pythonRelaxDeps = [
+
"typer"
+
];
+
nativeBuildInputs = [
poetry-core
+
pythonRelaxDepsHook
];
propagatedBuildInputs = [
+2 -2
pkgs/applications/misc/syncthingtray/default.nix
···
}:
mkDerivation rec {
-
version = "1.4.1";
+
version = "1.4.3";
pname = "syncthingtray";
src = fetchFromGitHub {
owner = "Martchus";
repo = "syncthingtray";
rev = "v${version}";
-
sha256 = "sha256-6s78vytYxU7FWGQRO56qgmtZBlHbXMz3iVAbBXycDmI=";
+
sha256 = "sha256-6J/P/DDD17QtXAISQn77EDIYqQu1hY7EnIX0FC6H/20=";
};
buildInputs = [
+3 -3
pkgs/applications/misc/valent/default.nix
···
stdenv.mkDerivation rec {
pname = "valent";
-
version = "unstable-2023-05-01";
+
version = "unstable-2023-06-11";
src = fetchFromGitHub {
owner = "andyholmes";
repo = "valent";
-
rev = "74f5d9349a60f0d9fcf88cda01713980a221d639";
+
rev = "e6a121efa7eb7b432517d610de4deea6dfa876b0";
fetchSubmodules = true;
-
sha256 = "sha256-wqdujEKizrDFXtsjSTWpFgDL7MH3tsLTc7yd3LFgIQU=";
+
hash = "sha256-8X4Yu8VY5ehptJN1KtsCuoECtEZNLZMzOvU91j8UmDk=";
};
nativeBuildInputs = [
+14 -14
pkgs/applications/networking/cluster/terraform-providers/providers.json
···
"vendorHash": null
},
"aws": {
-
"hash": "sha256-hu4+FAqub+dah9is4iCyy784L8kIiFqkyrcZzll8LoU=",
+
"hash": "sha256-+0La1Gx8uBnz5WEidTfW5yqyNT2Ii+UaJJxWh05VAks=",
"homepage": "https://registry.terraform.io/providers/hashicorp/aws",
"owner": "hashicorp",
"repo": "terraform-provider-aws",
-
"rev": "v5.2.0",
+
"rev": "v5.3.0",
"spdx": "MPL-2.0",
-
"vendorHash": "sha256-y4JNZ4cMqXwvRNys+llQNGw91EuU/dzGY6Ifs/0cX8c="
+
"vendorHash": "sha256-stvcLz/5DosG+c9syv5i2diTp8cCnCMfW1vngsXl7fQ="
},
"azuread": {
"hash": "sha256-wBNS2a6O1QJgssbAWhSRSfxaVZ35zgT/qNdpE++NQ8U=",
···
"vendorHash": null
},
"azurerm": {
-
"hash": "sha256-OEybd46MRwtxnE11oy6KKg9uEqkzzUxrrMwbF0RkjUg=",
+
"hash": "sha256-YrAEwWHlxh8e0uH9UEy7F5wZkOzbqXUfy2g2uVwBrxA=",
"homepage": "https://registry.terraform.io/providers/hashicorp/azurerm",
"owner": "hashicorp",
"repo": "terraform-provider-azurerm",
-
"rev": "v3.60.0",
+
"rev": "v3.61.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
···
"vendorHash": "sha256-E1gzdES/YVxQq2J47E2zosvud2C/ViBeQ8+RfNHMBAg="
},
"fastly": {
-
"hash": "sha256-zjeiA09kTc9qE+YGGrmMhken7oh3pX309t6VKE/fKN0=",
+
"hash": "sha256-ZskfmyYqUFa848uAl+ejBUaYiD0dWdwUyWBw5TKRrHg=",
"homepage": "https://registry.terraform.io/providers/fastly/fastly",
"owner": "fastly",
"repo": "terraform-provider-fastly",
-
"rev": "v5.0.0",
+
"rev": "v5.1.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
···
"vendorHash": null
},
"hcloud": {
-
"hash": "sha256-aqx6oMIqMUgpVMInZPxGFPT9i+pBdU3ufjM6YUSiOss=",
+
"hash": "sha256-PAsXAZMCo4mXLLh2h40xN9SuTnCnScwdjAT2j5HvNrI=",
"homepage": "https://registry.terraform.io/providers/hetznercloud/hcloud",
"owner": "hetznercloud",
"repo": "terraform-provider-hcloud",
-
"rev": "v1.39.0",
+
"rev": "v1.40.0",
"spdx": "MPL-2.0",
-
"vendorHash": "sha256-qa6DUmzL+JB/WTJM+a5VDvBCsrbt8gq/LeqzdAHLm0Q="
+
"vendorHash": "sha256-dORrQ0gmSLOfyPOuFE84h9OkFI9yslRBfYhwnZM3iQc="
},
"helm": {
"hash": "sha256-mGrQ5YKNsv1+Vkan5ohMXnTYofhCQPuTFjemXF/g+tA=",
···
"vendorHash": "sha256-73Hpp4OLJyFmbiczVmFzCi++W0te6G9LSb8LhNwSDUg="
},
"huaweicloud": {
-
"hash": "sha256-2N8BmYd/8Mf65ARYeQcbMKLjNlxP6uZe+3+lsNZbiZg=",
+
"hash": "sha256-ullp0qBo2BFokbXMek5Y5s7qN2Ig3L5ekXSlbLhvrWU=",
"homepage": "https://registry.terraform.io/providers/huaweicloud/huaweicloud",
"owner": "huaweicloud",
"repo": "terraform-provider-huaweicloud",
-
"rev": "v1.49.0",
+
"rev": "v1.50.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
···
"vendorHash": null
},
"snowflake": {
-
"hash": "sha256-1a2zGEZgMdmH6/dBJ+19VHDMfOs7Xwd4wJ/CA/mVI3g=",
+
"hash": "sha256-0TnsoK1B6npf4zkaG2hkE8WVXgrI7DsFZFuqFd8kz/4=",
"homepage": "https://registry.terraform.io/providers/Snowflake-Labs/snowflake",
"owner": "Snowflake-Labs",
"repo": "terraform-provider-snowflake",
-
"rev": "v0.66.1",
+
"rev": "v0.66.2",
"spdx": "MIT",
"vendorHash": "sha256-ZNkZ2GMSBZHz+L626VqT7pTeb8fSYkaCi84O5ggd1FM="
},
-20
pkgs/applications/video/natron/config.pri
···
-
boost: LIBS += -lboost_serialization
-
expat: LIBS += -lexpat
-
expat: PKGCONFIG -= expat
-
cairo {
-
PKGCONFIG += cairo
-
LIBS -= $$system(pkg-config --variable=libdir cairo)/libcairo.a
-
}
-
pyside {
-
PKGCONFIG -= pyside
-
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)
-
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)/QtCore
-
INCLUDEPATH += $$system(pkg-config --variable=includedir pyside)/QtGui
-
INCLUDEPATH += $$system(pkg-config --variable=includedir QtGui)
-
LIBS += -lpyside-python2.7
-
}
-
shiboken {
-
PKGCONFIG -= shiboken
-
INCLUDEPATH += $$system(pkg-config --variable=includedir shiboken)
-
LIBS += -lshiboken-python2.7
-
}
+48 -103
pkgs/applications/video/natron/default.nix
···
-
{ lib, stdenv, fetchurl, qt4, pkg-config, boost, expat, cairo, python2Packages,
-
cmake, flex, bison, pango, librsvg, librevenge, libxml2, libcdr, libzip,
-
poppler, imagemagick, openexr, ffmpeg, opencolorio_1, openimageio_1,
-
qmake4Hook, libpng, libGL, lndir, libraw, openjpeg, libwebp, fetchFromGitHub }:
+
{ lib
+
, stdenv
+
, fetchFromGitHub
+
, cmake
+
, pkg-config
+
, wrapQtAppsHook
+
, boost
+
, cairo
+
, ceres-solver
+
, expat
+
, extra-cmake-modules
+
, glog
+
, libXdmcp
+
, python3
+
, wayland
+
}:
let
-
minorVersion = "2.3";
-
version = "${minorVersion}.15";
-
OpenColorIO-Configs = fetchurl {
-
url = "https://github.com/NatronGitHub/OpenColorIO-Configs/archive/Natron-v${minorVersion}.tar.gz";
-
sha256 = "AZK9J+RnMyxOYcAQOAQZj5QciPQ999m6jrtBt5rdpkA=";
-
};
-
seexpr = stdenv.mkDerivation rec {
-
version = "1.0.1";
-
pname = "seexpr";
-
src = fetchurl {
-
url = "https://github.com/wdas/SeExpr/archive/rel-${version}.tar.gz";
-
sha256 = "1ackh0xs4ip7mk34bam8zd4qdymkdk0dgv8x0f2mf6gbyzzyh7lp";
-
};
-
nativeBuildInputs = [ cmake ];
-
buildInputs = [ libpng flex bison ];
-
};
-
buildPlugin = { pluginName, sha256, nativeBuildInputs ? [], buildInputs ? [], preConfigure ? "", postPatch ? "" }:
-
stdenv.mkDerivation {
-
pname = "openfx-${pluginName}";
-
version = version;
-
src = fetchurl {
-
url = "https://github.com/NatronGitHub/openfx-${pluginName}/releases/download/Natron-${version}/openfx-${pluginName}-Natron-${version}.tar.xz";
-
inherit sha256;
-
};
-
inherit nativeBuildInputs buildInputs postPatch;
-
preConfigure = ''
-
makeFlagsArray+=("CONFIG=release")
-
makeFlagsArray+=("PLUGINPATH=$out/Plugins/OFX/Natron")
-
${preConfigure}
-
'';
-
};
-
lodepngcpp = fetchurl {
-
url = "https://raw.githubusercontent.com/lvandeve/lodepng/a70c086077c0eaecbae3845e4da4424de5f43361/lodepng.cpp";
-
sha256 = "1dxkkr4jbmvlwfr7m16i1mgcj1pqxg9s1a7y3aavs9rrk0ki8ys2";
-
};
-
lodepngh = fetchurl {
-
url = "https://raw.githubusercontent.com/lvandeve/lodepng/a70c086077c0eaecbae3845e4da4424de5f43361/lodepng.h";
-
sha256 = "14drdikd0vws3wwpyqq7zzm5z3kg98svv4q4w0hr45q6zh6hs0bq";
+
minorVersion = "2.5";
+
version = "${minorVersion}.0";
+
OpenColorIO-Configs = fetchFromGitHub {
+
owner = "NatronGitHub";
+
repo = "OpenColorIO-Configs";
+
rev = "Natron-v${minorVersion}";
+
hash = "sha256-TD7Uge9kKbFxOmOCn+TSQovnKTmFS3uERTu5lmZFHbc=";
};
-
cimgversion = "89b9d062ec472df3d33989e6d5d2a8b50ba0775c";
-
CImgh = fetchurl {
-
url = "https://raw.githubusercontent.com/dtschump/CImg/${cimgversion}/CImg.h";
-
sha256 = "sha256-NbYpZDNj2oZ+wqoEkRwwCjiujdr+iGOLA0Pa0Ynso6U=";
-
};
-
inpainth = fetchurl {
-
url = "https://raw.githubusercontent.com/dtschump/CImg/${cimgversion}/plugins/inpaint.h";
-
sha256 = "sha256-cd28a3VOs5002GkthHkbIUrxZfKuGhqIYO4Oxe/2HIQ=";
-
};
-
plugins = map buildPlugin [
-
({
-
pluginName = "arena";
-
sha256 = "tUb6myG03mRieUAfgRZfv5Ap+cLvbpNrLMYCGTiAq8c=";
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [
-
pango librsvg librevenge libcdr opencolorio_1 libxml2 libzip
-
poppler imagemagick
-
];
-
preConfigure = ''
-
sed -i 's|pkg-config poppler-glib|pkg-config poppler poppler-glib|g' Makefile.master
-
for i in Extra Bundle; do
-
cp ${lodepngcpp} $i/lodepng.cpp
-
cp ${lodepngh} $i/lodepng.h
-
done
-
'';
-
})
-
({
-
pluginName = "io";
-
sha256 = "OQg6a5wNy9TFFySjmgd1subvXRxY/ZnSOCkaoUo+ZaA=";
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [
-
libpng ffmpeg openexr opencolorio_1 openimageio_1 boost libGL
-
seexpr libraw openjpeg libwebp
-
];
-
})
-
({
-
pluginName = "misc";
-
sha256 = "XkdQyWI9ilF6IoP3yuHulNUZRPLX1m4lq/+RbXsrFEQ=";
-
buildInputs = [
-
libGL
-
];
-
postPatch = ''
-
cp '${inpainth}' CImg/Inpaint/inpaint.h
-
patch -p0 -dCImg < CImg/Inpaint/inpaint.h.patch # taken from the Makefile; it gets skipped if the file already exists
-
cp '${CImgh}' CImg/CImg.h
-
'';
-
})
-
];
in
stdenv.mkDerivation {
inherit version;
···
repo = "Natron";
rev = "v${version}";
fetchSubmodules = true;
-
sha256 = "sha256-KuXJmmIsvwl4uqmAxXqWU+273jsdWrCuUSwWn5vuu8M=";
+
hash = "sha256-dgScbfyulZPlrngqSw7xwipldoRd8uFO8VP9mlJyhQ8=";
};
-
nativeBuildInputs = [ qmake4Hook pkg-config python2Packages.wrapPython ];
+
cmakeFlags = [ "-DNATRON_SYSTEM_LIBS=ON" ];
+
+
nativeBuildInputs = [
+
cmake
+
pkg-config
+
wrapQtAppsHook
+
];
buildInputs = [
-
qt4 boost expat cairo python2Packages.pyside python2Packages.pysideShiboken
+
boost
+
expat
+
cairo
+
python3
+
python3.pkgs.pyside2
+
python3.pkgs.shiboken2
+
extra-cmake-modules
+
wayland
+
glog
+
ceres-solver
+
libXdmcp
];
-
preConfigure = ''
-
export MAKEFLAGS=-j$NIX_BUILD_CORES
-
cp ${./config.pri} config.pri
-
mkdir OpenColorIO-Configs
-
tar -xf ${OpenColorIO-Configs} --strip-components=1 -C OpenColorIO-Configs
+
postInstall = ''
+
mkdir -p $out/share
+
cp -r ${OpenColorIO-Configs} $out/share/OpenColorIO-Configs
'';
postFixup = ''
-
for i in ${lib.escapeShellArgs plugins}; do
-
${lndir}/bin/lndir $i $out
-
done
wrapProgram $out/bin/Natron \
-
--set PYTHONPATH "$PYTHONPATH"
+
--prefix PYTHONPATH : "${python3.pkgs.makePythonPath [ python3.pkgs.qtpy python3.pkgs.pyside2 ]}" \
+
--set-default OCIO "$out/share/OpenColorIO-Configs/blender/config.ocio"
'';
meta = with lib; {
···
license = lib.licenses.gpl2;
maintainers = [ maintainers.puffnfresh ];
platforms = platforms.linux;
-
broken = true; # Last evaluated on Hydra on 2021-05-18
+
broken = stdenv.isLinux && stdenv.isAarch64;
};
}
+2 -2
pkgs/applications/window-managers/phosh/default.nix
···
stdenv.mkDerivation rec {
pname = "phosh";
-
version = "0.25.1";
+
version = "0.27.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
···
repo = pname;
rev = "v${version}";
fetchSubmodules = true; # including gvc and libcall-ui which are designated as subprojects
-
sha256 = "sha256-ysAZdmkFEuqJDTPe246F2I4Qp+fjtomia42PS8BuMM8=";
+
sha256 = "sha256-dnSYeXn3aPwvxeIjjk+PsnOVKyuGlxXMXGWDdrRrIM0=";
};
nativeBuildInputs = [
+2 -2
pkgs/development/libraries/gvm-libs/default.nix
···
stdenv.mkDerivation rec {
pname = "gvm-libs";
-
version = "22.5.0";
+
version = "22.6.2";
src = fetchFromGitHub {
owner = "greenbone";
repo = pname;
rev = "refs/tags/v${version}";
-
hash = "sha256-QHAkPZoLQG+UQ1YNdad+XYOywqLqIW1vBmcFkuf3pXU=";
+
hash = "sha256-b7a9LD291LT28TujOQ3DE76+wtmBYeAGrXZXTM0quWw=";
};
nativeBuildInputs = [
+39 -40
pkgs/development/nim-packages/build-nim-package/default.nix
···
{ lib, stdenv, nim, nim_builder }:
+
pkgArgs:
-
{ strictDeps ? true, depsBuildBuild ? [ ], nativeBuildInputs ? [ ]
-
, configurePhase ? null, buildPhase ? null, checkPhase ? null
-
, installPhase ? null, enableParallelBuilding ? true, meta ? { }, ... }@attrs:
+
let
+
baseAttrs = {
+
strictDeps = true;
+
enableParallelBuilding = true;
+
configurePhase = ''
+
runHook preConfigure
+
export NIX_NIM_BUILD_INPUTS=''${pkgsHostTarget[@]} $NIX_NIM_BUILD_INPUTS
+
nim_builder --phase:configure
+
runHook postConfigure
+
'';
+
buildPhase = ''
+
runHook preBuild
+
nim_builder --phase:build
+
runHook postBuild
+
'';
+
checkPhase = ''
+
runHook preCheck
+
nim_builder --phase:check
+
runHook postCheck
+
'';
+
installPhase = ''
+
runHook preInstall
+
nim_builder --phase:install
+
runHook postInstall
+
'';
+
meta = { inherit (nim.meta) maintainers platforms; };
+
};
-
stdenv.mkDerivation (attrs // {
-
inherit strictDeps enableParallelBuilding;
-
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
-
nativeBuildInputs = [ nim ] ++ nativeBuildInputs;
+
inputsOverride =
+
{ depsBuildBuild ? [ ], nativeBuildInputs ? [ ], meta, ... }: {
+
depsBuildBuild = [ nim_builder ] ++ depsBuildBuild;
+
nativeBuildInputs = [ nim ] ++ nativeBuildInputs;
+
};
-
configurePhase = if (configurePhase == null) then ''
-
runHook preConfigure
-
export NIX_NIM_BUILD_INPUTS=''${pkgsHostTarget[@]} $NIX_NIM_BUILD_INPUTS
-
nim_builder --phase:configure
-
runHook postConfigure
-
'' else
-
configurePhase;
-
-
buildPhase = if (buildPhase == null) then ''
-
runHook preBuild
-
nim_builder --phase:build
-
runHook postBuild
-
'' else
-
buildPhase;
+
composition = finalAttrs:
+
let
+
asFunc = x: if builtins.isFunction x then x else (_: x);
+
prev = baseAttrs // (asFunc ((asFunc pkgArgs) finalAttrs)) baseAttrs;
+
in prev // inputsOverride prev;
-
checkPhase = if (checkPhase == null) then ''
-
runHook preCheck
-
nim_builder --phase:check
-
runHook postCheck
-
'' else
-
checkPhase;
-
-
installPhase = if (installPhase == null) then ''
-
runHook preInstall
-
nim_builder --phase:install
-
runHook postInstall
-
'' else
-
installPhase;
-
-
meta = meta // {
-
platforms = meta.platforms or nim.meta.platforms;
-
maintainers = (meta.maintainers or [ ]) ++ [ lib.maintainers.ehmry ];
-
};
-
})
+
in stdenv.mkDerivation composition
+3 -3
pkgs/development/nim-packages/sdl2/default.nix
···
{ lib, buildNimPackage, fetchNimble, SDL2 }:
-
buildNimPackage rec {
+
buildNimPackage (finalAttrs: {
pname = "sdl2";
version = "2.0.4";
src = fetchNimble {
-
inherit pname version;
+
inherit (finalAttrs) pname version;
hash = "sha256-Vtcj8goI4zZPQs2TbFoBFlcR5UqDtOldaXSH/+/xULk=";
};
propagatedBuildInputs = [ SDL2 ];
···
platforms = lib.platforms.linux; # Problems with Darwin.
license = [ lib.licenses.mit ];
};
-
}
+
})
+50
pkgs/development/python-modules/apispec-webframeworks/default.nix
···
+
{ lib
+
, apispec
+
, bottle
+
, buildPythonPackage
+
, fetchFromGitHub
+
, flask
+
, mock
+
, pytestCheckHook
+
, pythonOlder
+
, tornado
+
}:
+
+
buildPythonPackage rec {
+
pname = "apispec-webframeworks";
+
version = "0.5.2";
+
format = "setuptools";
+
+
disabled = pythonOlder "3.7";
+
+
src = fetchFromGitHub {
+
owner = "marshmallow-code";
+
repo = "apispec-webframeworks";
+
rev = version;
+
hash = "sha256-ByNmmBLO99njw9JrT+cCW/K4NJBH92smAiIgg47Cvkk=";
+
};
+
+
propagatedBuildInputs = [
+
apispec
+
] ++ apispec.optional-dependencies.yaml;
+
+
nativeCheckInputs = [
+
bottle
+
flask
+
mock
+
pytestCheckHook
+
tornado
+
];
+
+
pythonImportsCheck = [
+
"apispec_webframeworks"
+
];
+
+
meta = with lib; {
+
description = "Web framework plugins for apispec";
+
homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
+
changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
+
license = licenses.mit;
+
maintainers = with maintainers; [ fab ];
+
};
+
}
+13 -5
pkgs/development/python-modules/coinmetrics-api-client/default.nix
···
, orjson
, pandas
, poetry-core
+
, pytest-mock
, pytestCheckHook
-
, pytest-mock
+
, python-dateutil
, pythonOlder
-
, python-dateutil
+
, pythonRelaxDepsHook
, requests
, typer
, websocket-client
···
buildPythonPackage rec {
pname = "coinmetrics-api-client";
-
version = "2023.5.26.17";
+
version = "2023.6.8.20";
format = "pyproject";
disabled = pythonOlder "3.9";
···
src = fetchPypi {
inherit version;
pname = "coinmetrics_api_client";
-
hash = "sha256-GCHXraeH6WWTlCnw9B1Xwtb6jwcxcvW1siy2T/8x14Q=";
+
hash = "sha256-Koll0pod0vSW/F3veGTn8JYOMQI61REUW6Eh+TDJKNI=";
};
+
pythonRelaxDeps = [
+
"typer"
+
];
+
nativeBuildInputs = [
poetry-core
+
pythonRelaxDepsHook
];
propagatedBuildInputs = [
···
passthru = {
optional-dependencies = {
-
pandas = [ pandas ];
+
pandas = [
+
pandas
+
];
};
updateScript = nix-update-script { };
};
+2 -2
pkgs/development/python-modules/dvc-data/default.nix
···
buildPythonPackage rec {
pname = "dvc-data";
-
version = "0.55.0";
+
version = "1.7.0";
format = "pyproject";
disabled = pythonOlder "3.8";
···
owner = "iterative";
repo = pname;
rev = "refs/tags/${version}";
-
hash = "sha256-eE1cVzhwyClVYmaotw37sG46g5W1ToUE/f3pZ2CCcE0=";
+
hash = "sha256-vZPhlCY7KWM521C/uFx8nddpLD/72tX0g1JRb2KeIfA=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/elkm1-lib/default.nix
···
buildPythonPackage rec {
pname = "elkm1-lib";
-
version = "2.2.4";
+
version = "2.2.5";
format = "pyproject";
disabled = pythonOlder "3.9";
···
owner = "gwww";
repo = "elkm1";
rev = "refs/tags/${version}";
-
hash = "sha256-qqkKsVSspVBVxX96vlM8+6SqfdIBTcVyODJzQ4Ga+6g=";
+
hash = "sha256-8Mzxaww6a+vi3i8H4W9jRgY+5mpTGaJbNBXPDPn8sl4=";
};
nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/fakeredis/default.nix
···
buildPythonPackage rec {
pname = "fakeredis";
-
version = "2.12.1";
+
version = "2.14.1";
format = "pyproject";
disabled = pythonOlder "3.7";
···
owner = "dsoftwareinc";
repo = "fakeredis-py";
rev = "refs/tags/v${version}";
-
hash = "sha256-WF3dITWCrTQDORfaGWPpJBQFkPrUN6faHohjvBuOW7I=";
+
hash = "sha256-kLCCCUbre/Bi0DFv/+PVHvw1NXn2HhQx5kYtEaOqP58=";
};
nativeBuildInputs = [
+64
pkgs/development/python-modules/filedepot/default.nix
···
+
{ lib
+
, anyascii
+
, buildPythonPackage
+
, fetchFromGitHub
+
, flaky
+
, mock
+
, paste
+
, pillow
+
, pymongo
+
, pytestCheckHook
+
, pythonOlder
+
, requests
+
, sqlalchemy
+
}:
+
+
buildPythonPackage rec {
+
pname = "filedepot";
+
version = "0.9.0";
+
format = "setuptools";
+
+
disabled = pythonOlder "3.7";
+
+
src = fetchFromGitHub {
+
owner = "amol-";
+
repo = "depot";
+
rev = "refs/tags/${version}";
+
hash = "sha256-OJc4Qwar3sKhKKF1WldwaueRG7FCboWT2wXYldHJbPU=";
+
};
+
+
propagatedBuildInputs = [
+
anyascii
+
];
+
+
nativeCheckInputs = [
+
flaky
+
mock
+
paste
+
pillow
+
pymongo
+
pytestCheckHook
+
requests
+
sqlalchemy
+
];
+
+
disabledTestPaths = [
+
# The examples have tests
+
"examples"
+
# Missing dependencies (TurboGears2 and ming)
+
"tests/test_fields_ming.py"
+
"tests/test_wsgi_middleware.py"
+
];
+
+
pythonImportsCheck = [
+
"depot"
+
];
+
+
meta = with lib; {
+
description = "Toolkit for storing files and attachments in web applications";
+
homepage = "https://github.com/amol-/depot";
+
changelog = "https://github.com/amol-/depot/releases/tag/${version}";
+
license = licenses.mit;
+
maintainers = with maintainers; [ fab ];
+
};
+
}
+2 -2
pkgs/development/python-modules/openaiauth/default.nix
···
buildPythonPackage rec {
pname = "openaiauth";
-
version = "0.3.6";
+
version = "1.0.2";
src = fetchPypi {
inherit version;
pname = "OpenAIAuth";
-
hash = "sha256-SaiTqs2HVv5ajUkrLJv24ed1+iJg5HqsCNe0IETkA00=";
+
hash = "sha256-0Vd8gvE2guHNlrPBahu23NpUFrJHvm6Q6NSNawX9gbY=";
};
propagatedBuildInputs = [ requests ];
+2 -2
pkgs/development/python-modules/publicsuffixlist/default.nix
···
buildPythonPackage rec {
pname = "publicsuffixlist";
-
version = "0.10.0.20230611";
+
version = "0.10.0.20230614";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-z5mh/8sFulky9LX0LPwBuYWebjsqWc0EsPjDZMuTCX8=";
+
hash = "sha256-8tB95lcW4IQBeU5cY0YFfLKW3a0g1SQH9sJbn0cduho=";
};
passthru.optional-dependencies = {
+46
pkgs/development/python-modules/pygnmi/default.nix
···
+
{ lib
+
, buildPythonPackage
+
, fetchFromGitHub
+
, cryptography
+
, dictdiffer
+
, grpcio
+
, protobuf
+
, pytestCheckHook
+
}:
+
+
buildPythonPackage rec {
+
pname = "pygnmi";
+
version = "0.8.12";
+
format = "setuptools";
+
+
src = fetchFromGitHub {
+
owner = "akarneliuk";
+
repo = "pygnmi";
+
rev = "v${version}";
+
sha256 = "sha256-5dAjN/HDFKQmJIjhergBjSmHQKhBxqy/Jneh1pLCHrw=";
+
};
+
+
propagatedBuildInputs = [
+
cryptography
+
dictdiffer
+
grpcio
+
protobuf
+
];
+
+
# almost all tests fail with:
+
# TypeError: expected string or bytes-like object
+
doCheck = false;
+
+
nativeCheckInputs = [
+
pytestCheckHook
+
];
+
+
pythonImportsCheck = [ "pygnmi" ];
+
+
meta = with lib; {
+
description = "Pure Python gNMI client to manage network functions and collect telemetry";
+
homepage = "https://github.com/akarneliuk/pygnmi";
+
license = licenses.bsd3;
+
maintainers = with maintainers; [ SuperSandro2000 ];
+
};
+
}
+55
pkgs/development/python-modules/pylion/default.nix
···
+
{ lib
+
, buildPythonPackage
+
, fetchFromBitbucket
+
, h5py
+
, termcolor
+
, pexpect
+
, jinja2
+
, sphinxHook
+
, sphinx-rtd-theme
+
}:
+
+
buildPythonPackage {
+
pname = "pylion";
+
version = "0.5.2";
+
format = "setuptools";
+
+
src = fetchFromBitbucket {
+
owner = "dtrypogeorgos";
+
repo = "pylion";
+
# Version is set in setup.cfg, but not in a git tag / bitbucket release
+
rev = "8945a7b6f1912ae6b9c705f8a2bd521101f5ba59";
+
hash = "sha256-4AdJkoQ1hAssDUpgmARGmN+ihQqRPPOncWJ5ErQyWII=";
+
};
+
+
# Docs are not available online, besides the article:
+
# http://dx.doi.org/10.1016/j.cpc.2020.107187
+
nativeBuildInputs = [
+
sphinxHook
+
sphinx-rtd-theme
+
];
+
+
propagatedBuildInputs = [
+
h5py
+
termcolor
+
pexpect
+
jinja2
+
];
+
+
pythonImportsCheck = [ "pylion" ];
+
+
# Tests fail from some reason - some files seem to be missing from the repo.
+
doCheck = false;
+
+
postInstall = ''
+
mkdir -p $out/share/doc/$name
+
cp -r examples $out/share/doc/$name/examples
+
'';
+
+
meta = with lib; {
+
description = "A LAMMPS wrapper for molecular dynamics simulations of trapped ions";
+
homepage = "https://bitbucket.org/dtrypogeorgos/pylion";
+
license = licenses.mit;
+
maintainers = with maintainers; [ doronbehar ];
+
};
+
}
+6
pkgs/development/python-modules/rstcheck/default.nix
···
, pydantic
, pytestCheckHook
, pythonOlder
+
, pythonRelaxDepsHook
, rstcheck-core
, typer
, types-docutils
···
hash = "sha256-UMByfnnP1va3v1IgyQL0f3kC+W6HoiWScb7U2FAvWkU=";
};
+
pythonRelaxDeps = [
+
"typer"
+
];
+
nativeBuildInputs = [
poetry-core
+
pythonRelaxDepsHook
];
propagatedBuildInputs = [
+48
pkgs/development/python-modules/simplekv/default.nix
···
+
{ lib
+
, buildPythonPackage
+
, dulwich
+
, fetchFromGitHub
+
, mock
+
, pytestCheckHook
+
, pythonOlder
+
, six
+
}:
+
+
buildPythonPackage rec {
+
pname = "simplekv";
+
version = "0.14.1";
+
format = "setuptools";
+
+
disabled = pythonOlder "3.7";
+
+
src = fetchFromGitHub {
+
owner = "mbr";
+
repo = "simplekv";
+
rev = "refs/tags/${version}";
+
hash = "sha256-seUGDj2q84+AjDFM1pxMLlHbe9uBgEhmqA96UHjnCmo=";
+
};
+
+
nativeCheckInputs = [
+
dulwich
+
mock
+
pytestCheckHook
+
six
+
];
+
+
pythonImportsCheck = [
+
"simplekv"
+
];
+
+
disabledTests = [
+
# Issue with fixture
+
"test_concurrent_mkdir"
+
];
+
+
meta = with lib; {
+
description = "A simple key-value store for binary data";
+
homepage = "https://github.com/mbr/simplekv";
+
changelog = "https://github.com/mbr/simplekv/releases/tag/${version}";
+
license = licenses.mit;
+
maintainers = with maintainers; [ fab ];
+
};
+
}
+14 -6
pkgs/development/python-modules/spacy/default.nix
···
{ lib
+
, stdenv
, blis
, buildPythonPackage
, callPackage
···
, pytest
, python
, pythonOlder
+
, pythonRelaxDepsHook
, requests
, setuptools
, spacy-legacy
···
, typing-extensions
, wasabi
, writeScript
-
, stdenv
, nix
, git
, nix-update
···
buildPythonPackage rec {
pname = "spacy";
-
version = "3.5.2";
+
version = "3.5.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-IsH/qrKFt0dwA9S1sDhBTMMkaKaQ1HkBW5ppjFMcgTs=";
+
hash = "sha256-NZcdZyFXZTjWxCPGagnOAL9m4Q5AcmpXt6gZkxgMJIw=";
};
+
pythonRelaxDeps = [
+
"typer"
+
];
+
+
nativeBuildInputs = [
+
pythonRelaxDepsHook
+
];
+
propagatedBuildInputs = [
blis
catalogue
···
wasabi
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
-
];
-
-
postPatch = ''
+
]; postPatch = ''
substituteInPlace setup.cfg \
--replace "typer>=0.3.0,<0.5.0" "typer>=0.3.0"
'';
···
];
doCheck = false;
+
checkPhase = ''
${python.interpreter} -m pytest spacy/tests --vectors --models --slow
'';
+2 -2
pkgs/development/python-modules/sqltrie/default.nix
···
buildPythonPackage rec {
pname = "sqltrie";
-
version = "0.5.0";
+
version = "0.6.0";
format = "pyproject";
disabled = pythonOlder "3.8";
···
owner = "iterative";
repo = pname;
rev = "refs/tags/${version}";
-
hash = "sha256-caCzFHQG0fnSmIdesk4k1W/VheY1DWxZb2W8/Xen/ZU=";
+
hash = "sha256-f3nQMkDI4n/hORW038KL+LQcyc6Hzx1MDrcChk7W8t4=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/teslajsonpy/default.nix
···
buildPythonPackage rec {
pname = "teslajsonpy";
-
version = "3.8.1";
+
version = "3.9.0";
format = "pyproject";
disabled = pythonOlder "3.7";
···
owner = "zabuldon";
repo = pname;
rev = "refs/tags/v${version}";
-
hash = "sha256-RPR1ek1gpbermSRaGqT2v31UVB6044E2ZxIqv1yr2bs=";
+
hash = "sha256-6H8miS0tKB99ZkiBvqJ77NIsswJ+ivYt1VZOLwTQr24=";
};
nativeBuildInputs = [
+14 -13
pkgs/development/python-modules/typer/default.nix
···
{ lib
, stdenv
, buildPythonPackage
+
, click
, colorama
+
, coverage
, fetchpatch
, fetchPypi
, flit-core
-
, click
+
, pytest-sugar
+
, pytest-xdist
, pytestCheckHook
+
, pythonOlder
, rich
, shellingham
-
, pytest-xdist
-
, pytest-sugar
-
, coverage
-
, pythonOlder
+
, typing-extensions
}:
buildPythonPackage rec {
pname = "typer";
-
version = "0.7.0";
+
version = "0.9.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-/3l4RleKnyogG1NEKu3rVDMZRmhw++HHAeq2bddoEWU=";
+
hash = "sha256-UJIv15rqL0dRqOBAj/ENJmK9DIu/qEdVppnzutopeLI=";
};
-
-
postPatch = ''
-
substituteInPlace pyproject.toml \
-
--replace "rich >=10.11.0,<13.0.0" "rich"
-
'';
nativeBuildInputs = [
flit-core
···
propagatedBuildInputs = [
click
+
typing-extensions
];
passthru.optional-dependencies = {
···
preCheck = ''
export HOME=$(mktemp -d);
'';
-
disabledTests = lib.optionals stdenv.isDarwin [
+
+
disabledTests = [
+
"test_scripts"
+
] ++ lib.optionals stdenv.isDarwin [
# likely related to https://github.com/sarugaku/shellingham/issues/35
"test_show_completion"
"test_install_completion"
···
meta = with lib; {
description = "Library for building CLI applications";
homepage = "https://typer.tiangolo.com/";
+
changelog = "https://github.com/tiangolo/typer/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ winpat ];
};
+22
pkgs/development/tools/gendef/default.nix
···
+
{ fetchgit, lib, stdenv }:
+
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "gendef";
+
version = "11.0.1";
+
+
src = fetchgit {
+
url = "https://git.code.sf.net/p/mingw-w64/mingw-w64.git";
+
rev = "v${finalAttrs.version}";
+
hash = "sha256-0vbAHSN+uwxoXXZtbuycP67PxjcB8Ftxd/Oij1gqE3Y=";
+
};
+
+
sourceRoot = "mingw-w64/mingw-w64-tools/gendef";
+
+
meta = {
+
description = "A tool which generate def files from DLLs";
+
homepage = "https://sourceforge.net/p/mingw-w64/wiki2/gendef/";
+
license = lib.licenses.gpl3Plus;
+
maintainers = with lib.maintainers; [ hughobrien ];
+
platforms = lib.platforms.linux;
+
};
+
})
+4 -2
pkgs/games/mudlet/default.nix
···
in
stdenv.mkDerivation rec {
pname = "mudlet";
-
version = "4.17.0";
+
version = "4.17.2";
src = fetchFromGitHub {
owner = "Mudlet";
repo = "Mudlet";
rev = "Mudlet-${version}";
fetchSubmodules = true;
-
hash = "sha256-j0d37C1TTb6ggXk1wTaqEcBKwsxE/B7Io90gTkc2q0M=";
+
hash = "sha256-K75frptePKfHeGQNXaX4lKsLwO6Rs6AAka6hvP8MA+k=";
};
nativeBuildInputs = [
···
mkdir -pv $out/share/pixmaps
cp -r ../mudlet.png $out/share/pixmaps/
+
+
cp -r ../translations $out/share/
makeQtWrapper $out/mudlet $out/bin/mudlet \
--set LUA_CPATH "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \
+2 -2
pkgs/games/unciv/default.nix
···
in
stdenv.mkDerivation rec {
pname = "unciv";
-
version = "4.6.15";
+
version = "4.6.19";
src = fetchurl {
url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar";
-
hash = "sha256-69JEf5dG3Nf4CLT8eKfeo/8givyyxb9QpQSAZ2dG7TI=";
+
hash = "sha256-21Pge/b6pZ4csGVr2J0V6rwZGKBEEqEkuef+7imGtl4=";
};
dontUnpack = true;
-1
pkgs/os-specific/linux/apfs/default.nix
···
homepage = "https://github.com/linux-apfs/linux-apfs-rw";
license = licenses.gpl2Only;
platforms = platforms.linux;
-
broken = kernel.kernelOlder "4.9";
maintainers = with maintainers; [ Luflosi ];
};
}
+3 -3
pkgs/servers/minio/default.nix
···
in
buildGoModule rec {
pname = "minio";
-
version = "2023-05-27T05-56-19Z";
+
version = "2023-06-09T07-32-12Z";
src = fetchFromGitHub {
owner = "minio";
repo = "minio";
rev = "RELEASE.${version}";
-
sha256 = "sha256-HwyPrXywhJ0D/eelcPOE8CPrEeJkaLr7wMdW5O+8cZA=";
+
sha256 = "sha256-YhABdJ+4KU/UGRukCR4iQ4ClHUz/icbIO/yd8rGIs48=";
};
-
vendorHash = "sha256-jvJM4I5ruDYwJsB258aZ3UP9FjtzYc0XSYpXdjqafMI=";
+
vendorHash = "sha256-c2rB8Or4tt84caEmfbwcHCow3/fllk0mNW0R/MwB5Vg=";
doCheck = false;
+2 -2
pkgs/servers/web-apps/jitsi-meet/default.nix
···
stdenv.mkDerivation rec {
pname = "jitsi-meet";
-
version = "1.0.7235";
+
version = "1.0.7322";
src = fetchurl {
url = "https://download.jitsi.org/jitsi-meet/src/jitsi-meet-${version}.tar.bz2";
-
sha256 = "OlAInpGl6I5rKgIsO3nXUQfksU326lsSDdiZdCYM3NU=";
+
sha256 = "BjoNu1cQOw9JjX6i2R/K8Txx6m6ndVRnWPjze9y14pQ=";
};
dontBuild = true;
+39 -5
pkgs/tools/archivers/arc_unpacker/default.nix
···
-
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, boost, libpng, libiconv
-
, libjpeg, zlib, openssl, libwebp, catch2 }:
+
{ lib
+
, stdenv
+
, fetchFromGitHub
+
, fetchpatch
+
, cmake
+
, makeWrapper
+
, boost
+
, libpng
+
, libiconv
+
, libjpeg
+
, zlib
+
, openssl
+
, libwebp
+
, catch2
+
}:
-
stdenv.mkDerivation rec {
+
stdenv.mkDerivation {
pname = "arc_unpacker";
version = "unstable-2021-08-06";
···
hash = "sha256-STbdWH7Mr3gpOrZvujblYrIIKEWBHzy1/BaNuh4teI8=";
};
-
nativeBuildInputs = [ cmake makeWrapper catch2 ];
-
buildInputs = [ boost libiconv libjpeg libpng libwebp openssl zlib ];
+
patches = [
+
(fetchpatch {
+
name = "failing_tests.patch";
+
url = "https://aur.archlinux.org/cgit/aur.git/plain/failing_tests.patch?h=arc_unpacker-git&id=bda1ad9f69e6802e703b2e6913d71a36d76cfef9";
+
hash = "sha256-bClACsf/+SktyLAPtt7EcSqprkw8JVIi1ZLpcJcv9IE=";
+
})
+
];
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp tests/test_support/catch.h
sed '1i#include <limits>' -i src/dec/eagls/pak_archive_decoder.cc # gcc12
'';
+
+
nativeBuildInputs = [
+
cmake
+
makeWrapper
+
catch2
+
];
+
+
buildInputs = [
+
boost
+
libiconv
+
libjpeg
+
libpng
+
libwebp
+
openssl
+
zlib
+
];
checkPhase = ''
runHook preCheck
+2 -2
pkgs/tools/backup/borgmatic/default.nix
···
python3Packages.buildPythonApplication rec {
pname = "borgmatic";
-
version = "1.7.9";
+
version = "1.7.14";
src = fetchPypi {
inherit pname version;
-
sha256 = "sha256-v3Qxwy7V6rqX90G4/Xp6mVTUkrqDXmudgh3th0GCjuk=";
+
sha256 = "sha256-rABJfdrV+D2v6yHpAbzj/0MSGc9bo49pwXEC45Mmmlk=";
};
nativeCheckInputs = with python3Packages; [ flexmock pytestCheckHook pytest-cov ];
+33 -2
pkgs/tools/misc/ffsend/default.nix
···
-
{ lib, stdenv, fetchFromGitLab, rustPlatform, pkg-config, openssl
+
{ lib, stdenv, fetchFromGitLab, fetchpatch, rustPlatform, pkg-config, openssl
, installShellFiles
, Security, AppKit
···
sha256 = "sha256-L1j1lXPxy9nWMeED9uzQHV5y7XTE6+DB57rDnXa4kMo=";
};
-
cargoSha256 = "sha256-zNLU9QnBGna5qb+iu2imOUvCIw3ZWRFsQlpFo5ECtKo=";
+
cargoHash = "sha256-r1yIPV2sW/EpHJpdaJyi6pzE+rtNkBIxSUJF+XA8kbA=";
+
+
cargoPatches = [
+
+
# Update dependencies (needed for the below patch to merge cleanly)
+
(fetchpatch {
+
name = "Update-dependencies-1";
+
url = "https://github.com/timvisee/ffsend/commit/afb004680b9ed672c7e87ff23f16bb2c51fea06e.patch";
+
hash = "sha256-eDcbyi05aOq+muVWdLmlLzLXUKcrv/9Y0R+0aHgL4+s=";
+
})
+
+
# Disable unused features in prettytable-rs crate (needed for the below patch to merge cleanly)
+
(fetchpatch {
+
name = "Disable-unused-features";
+
url = "https://github.com/timvisee/ffsend/commit/9b8dee12ea839f911ed207ff9602d929cab5d34b.patch";
+
hash = "sha256-6LK1Fqov+zEbPZ4+B6JCLXtXmgSad9vr9YO2oYodBSM=";
+
})
+
+
# Update dependencies (needed for the below patch to merge cleanly)
+
(fetchpatch {
+
name = "Update-dependencies-2";
+
url = "https://github.com/timvisee/ffsend/commit/fd5b38f9ab9cbc5f962d1024f4809eb36ba8986c.patch";
+
hash = "sha256-BDZKrVtQHpOewmB2Lb6kUfy02swcNK+CYZ3lj3kwFV4=";
+
})
+
+
# Fix seg fault
+
(fetchpatch {
+
name = "Fix-segfault";
+
url = "https://github.com/timvisee/ffsend/commit/3c1c2dc28ca1d88c45f87496a7a96052f5c37858.patch";
+
hash = "sha256-2hWlFXDopNy26Df74nJoB1J8qzPEOpf61wEOEtxOVx8=";
+
})
+
];
nativeBuildInputs = [ installShellFiles ]
++ lib.optionals stdenv.isLinux [ pkg-config ];
+53
pkgs/tools/misc/ugs/default.nix
···
+
{ stdenv
+
, lib
+
, copyDesktopItems
+
, makeDesktopItem
+
, makeWrapper
+
, jre
+
, fetchzip
+
, bash
+
}:
+
let
+
desktopItem = makeDesktopItem {
+
name = "ugs";
+
exec = "ugs";
+
comment = "A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.";
+
desktopName = "Universal-G-Code-Sender";
+
categories = [ "Game" ];
+
};
+
+
in
+
stdenv.mkDerivation rec {
+
pname = "ugs";
+
version = "2.0.17";
+
+
src = fetchzip {
+
url = "https://github.com/winder/Universal-G-Code-Sender/releases/download/v${version}/UniversalGcodeSender.zip";
+
hash = "sha256-m4oD0ibrlVwP8ZS1pjnu/QaWmQMQlAWtZV2MGhB9X1A=";
+
};
+
+
dontUnpack = true;
+
+
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
+
+
installPhase = ''
+
runHook preInstall
+
+
makeWrapper ${jre}/bin/java $out/bin/ugs \
+
--prefix PATH : ${lib.makeBinPath [ jre ]} \
+
--add-flags "-jar ${src}/UniversalGcodeSender.jar"
+
+
runHook postInstall
+
'';
+
+
desktopItems = [ desktopItem ];
+
+
meta = with lib; {
+
description = "A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.";
+
homepage = "https://github.com/winder/Universal-G-Code-Sender";
+
maintainers = with maintainers; [ matthewcroughan ];
+
sourceProvenance = with sourceTypes; [ binaryBytecode ];
+
license = licenses.gpl3;
+
platforms = platforms.all;
+
};
+
}
+3 -3
pkgs/tools/security/cloudfox/default.nix
···
buildGoModule rec {
pname = "cloudfox";
-
version = "1.10.3";
+
version = "1.11.1";
src = fetchFromGitHub {
owner = "BishopFox";
repo = pname;
rev = "refs/tags/v${version}";
-
hash = "sha256-XLn2GwoVNPoGTgXZx/q9dEmWigKB1BNylzxO9dBT3Zg=";
+
hash = "sha256-46w0/Da5sJkw2jLEGiFICEaX9bvCs0sbad1RyDCxINw=";
};
-
vendorHash = "sha256-v8rEsp2mDgfjCO2VvWNIxex8F350MDnZ40bR4szv+3o=";
+
vendorHash = "sha256-lgccNq1cSg8rrHW0aMLcC5HrZXf8TvdFSmk6pbGXNqQ=";
# Some tests are failing because of wrong filename/path
doCheck = false;
+4 -4
pkgs/tools/system/ttop/default.nix
···
{ lib, nimPackages, fetchFromGitHub }:
-
nimPackages.buildNimPackage rec {
+
nimPackages.buildNimPackage (finalAttrs: {
pname = "ttop";
version = "1.0.1";
nimBinOnly = true;
···
src = fetchFromGitHub {
owner = "inv2004";
repo = "ttop";
-
rev = "v${version}";
+
rev = "v${finalAttrs.version}";
hash = "sha256-x4Uczksh6p3XX/IMrOFtBxIleVHdAPX9e8n32VAUTC4=";
};
buildInputs = with nimPackages; [ asciigraph illwill parsetoml zippy ];
meta = with lib;
-
src.meta // {
+
finalAttrs.src.meta // {
description = "Top-like system monitoring tool";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ sikmir ];
};
-
}
+
})
+6 -4
pkgs/top-level/all-packages.nix
···
functiontrace-server = callPackage ../development/tools/functiontrace-server { };
+
gendef = callPackage ../development/tools/gendef { };
+
glade = callPackage ../development/tools/glade { };
goda = callPackage ../development/tools/goda { };
···
type = "OPN";
};
-
arc_unpacker = callPackage ../tools/archivers/arc_unpacker {
-
boost = boost175; # checkPhase fails with Boost 1.77
-
};
+
arc_unpacker = callPackage ../tools/archivers/arc_unpacker { };
adminer = callPackage ../servers/adminer { };
···
uget-integrator = callPackage ../tools/networking/uget-integrator { };
ugrep = callPackage ../tools/text/ugrep { };
+
+
ugs = callPackage ../tools/misc/ugs { };
uhk-agent = callPackage ../os-specific/linux/uhk-agent { };
···
neomutt = callPackage ../applications/networking/mailreaders/neomutt { };
-
natron = callPackage ../applications/video/natron { };
+
natron = libsForQt5.callPackage ../applications/video/natron { };
natural-docs = callPackage ../applications/misc/natural-docs { };
+10
pkgs/top-level/python-packages.nix
···
apispec = callPackage ../development/python-modules/apispec { };
+
apispec-webframeworks = callPackage ../development/python-modules/apispec-webframeworks { };
+
aplpy = callPackage ../development/python-modules/aplpy { };
app-model = callPackage ../development/python-modules/app-model { };
···
filebytes = callPackage ../development/python-modules/filebytes { };
filecheck = callPackage ../development/python-modules/filecheck { };
+
+
filedepot = callPackage ../development/python-modules/filedepot { };
filelock = callPackage ../development/python-modules/filelock { };
···
pygments-style-github = callPackage ../development/python-modules/pygments-style-github { };
+
pygnmi = callPackage ../development/python-modules/pygnmi { };
+
pygti = callPackage ../development/python-modules/pygti { };
pyheos = callPackage ../development/python-modules/pyheos { };
···
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };
pylint-venv = callPackage ../development/python-modules/pylint-venv { };
+
+
pylion = callPackage ../development/python-modules/pylion { };
pylitterbot = callPackage ../development/python-modules/pylitterbot { };
···
simplejson = callPackage ../development/python-modules/simplejson { };
simplekml = callPackage ../development/python-modules/simplekml { };
+
+
simplekv = callPackage ../development/python-modules/simplekv { };
simplenote = callPackage ../development/python-modules/simplenote { };