Merge branch 'master' into staging-next

This commit is contained in:
Weijia Wang 2023-11-04 17:27:09 +01:00
commit 9627659c22
53 changed files with 267 additions and 206 deletions

View File

@ -220,7 +220,7 @@ in
"catch_workers_output" = true; "catch_workers_output" = true;
}; };
phpEnv = { phpEnv = {
FRESHRSS_DATA_PATH = "${cfg.dataDir}"; DATA_PATH = "${cfg.dataDir}";
}; };
}; };
}; };
@ -267,7 +267,7 @@ in
WorkingDirectory = cfg.package; WorkingDirectory = cfg.package;
}; };
environment = { environment = {
FRESHRSS_DATA_PATH = cfg.dataDir; DATA_PATH = cfg.dataDir;
}; };
script = script =
@ -302,7 +302,7 @@ in
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
startAt = "*:0/5"; startAt = "*:0/5";
environment = { environment = {
FRESHRSS_DATA_PATH = cfg.dataDir; DATA_PATH = cfg.dataDir;
}; };
serviceConfig = defaultServiceConfig //{ serviceConfig = defaultServiceConfig //{
ExecStart = "${cfg.package}/app/actualize_script.php"; ExecStart = "${cfg.package}/app/actualize_script.php";

View File

@ -29,7 +29,7 @@ let
libsForQt5 = pkgs.plasma5Packages; libsForQt5 = pkgs.plasma5Packages;
inherit (libsForQt5) kdeGear kdeFrameworks plasma5; inherit (libsForQt5) kdeGear kdeFrameworks plasma5;
inherit (lib) inherit (lib)
getBin optionalString literalExpression getBin optionalAttrs optionalString literalExpression
mkRemovedOptionModule mkRenamedOptionModule mkRemovedOptionModule mkRenamedOptionModule
mkDefault mkIf mkMerge mkOption mkPackageOptionMD types; mkDefault mkIf mkMerge mkOption mkPackageOptionMD types;
@ -178,7 +178,7 @@ in
capabilities = "cap_sys_nice+ep"; capabilities = "cap_sys_nice+ep";
source = "${getBin plasma5.kwin}/bin/kwin_wayland"; source = "${getBin plasma5.kwin}/bin/kwin_wayland";
}; };
} // mkIf (!cfg.runUsingSystemd) { } // optionalAttrs (!cfg.runUsingSystemd) {
start_kdeinit = { start_kdeinit = {
setuid = true; setuid = true;
owner = "root"; owner = "root";

View File

@ -38,13 +38,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cudatext"; pname = "cudatext";
version = "1.200.0"; version = "1.201.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Alexey-T"; owner = "Alexey-T";
repo = "CudaText"; repo = "CudaText";
rev = version; rev = version;
hash = "sha256-0+bjp9JOR06wLzA3CJqtGjCK1M0qPdzoLRt6+fV8tJ0="; hash = "sha256-Do2JPNZtoi7zbUnJomQAZ8zR/WPB6+G051xZWmeUBP4=";
}; };
postPatch = '' postPatch = ''

View File

@ -11,13 +11,13 @@
}, },
"ATFlatControls": { "ATFlatControls": {
"owner": "Alexey-T", "owner": "Alexey-T",
"rev": "2023.10.02", "rev": "2023.10.30",
"hash": "sha256-9oV8xqkqpCfA7rk4UMxWFBIFQQ9slClFbaENRldFb8Q=" "hash": "sha256-fuTQnnuWjIsABx457y+n6luLxQf+b9TiZGLXYjNsUrw="
}, },
"ATSynEdit": { "ATSynEdit": {
"owner": "Alexey-T", "owner": "Alexey-T",
"rev": "2023.10.03", "rev": "2023.10.30",
"hash": "sha256-dJYpsvJNwQg6/NeXT23cpWFXwcfIYnWkHYoDItiUeOo=" "hash": "sha256-xsJ02zGzi7ByFBXql4lLWWLiPVWwtOLXzixmv4AeC2I="
}, },
"ATSynEdit_Cmp": { "ATSynEdit_Cmp": {
"owner": "Alexey-T", "owner": "Alexey-T",
@ -36,7 +36,7 @@
}, },
"Python-for-Lazarus": { "Python-for-Lazarus": {
"owner": "Alexey-T", "owner": "Alexey-T",
"rev": "2023.06.29", "rev": "2023.06.30",
"hash": "sha256-mO8/RNJjy9KtFuDUmV2Y8Ff+Jjm9yRd7GSrI6mOONUc=" "hash": "sha256-mO8/RNJjy9KtFuDUmV2Y8Ff+Jjm9yRd7GSrI6mOONUc="
}, },
"Emmet-Pascal": { "Emmet-Pascal": {

View File

@ -27,6 +27,12 @@ mkDerivation rec {
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/krita/-/raw/acd9a818660e86b14a66fceac295c2bab318c671/exiv2-0.28.patch"; url = "https://gitlab.archlinux.org/archlinux/packaging/packages/krita/-/raw/acd9a818660e86b14a66fceac295c2bab318c671/exiv2-0.28.patch";
hash = "sha256-iD2pyid513ThJVeotUlVDrwYANofnEiZmWINNUm/saw="; hash = "sha256-iD2pyid513ThJVeotUlVDrwYANofnEiZmWINNUm/saw=";
}) })
(fetchpatch {
name = "krita-opencolorio-2.3-compat.patch";
url = "https://invent.kde.org/graphics/krita/-/commit/520c633c2c868f2236d8e56eefecdcb6e3ebd840.patch";
hash = "sha256-eXsgBN8OnKjZOQsOxViPypts6CVh3L+IYKMB/mDUcfQ=";
includes = [ "plugins/dockers/lut/ocio_display_filter_vfx2021.cpp" ];
})
]; ];
nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip makeWrapper ]; nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip makeWrapper ];

View File

@ -8,13 +8,13 @@ let config-module = "github.com/f1bonacc1/process-compose/src/config";
in in
buildGoModule rec { buildGoModule rec {
pname = "process-compose"; pname = "process-compose";
version = "0.65.1"; version = "0.69.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "F1bonacc1"; owner = "F1bonacc1";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-wlsZV9yE9486EBbIwVOcA4KBf9tfI0Ao1JSIPjJAcEU="; hash = "sha256-YVNcr8oYEOsy0KLOsPdWTZcXYTqyz4RYG9MCEngLn7c=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -43,7 +43,7 @@ buildGoModule rec {
installShellFiles installShellFiles
]; ];
vendorHash = "sha256-Z5vCxzdpd2OmlZ/woHhlLN2QMgqa9mm873QGuqDToiM="; vendorHash = "sha256-lU21nRfIi4/eobnHhX/fCWnWtoiQBiWvTUOjBL0I4X4=";
doCheck = false; doCheck = false;

View File

@ -10,14 +10,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "pyrosimple"; pname = "pyrosimple";
version = "2.11.4"; version = "2.12.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kannibalox"; owner = "kannibalox";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-jzLckRFdjivWcyM3NWSVBauT5/7A1jTICtK2j65Wojo="; hash = "sha256-6TDfNkEqtSrPpyExJ/68GAalIo9pSNiIDo7KdqwoulQ=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "appflowy"; pname = "appflowy";
version = "0.3.6"; version = "0.3.7";
src = fetchzip { src = fetchzip {
url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-${version}-linux-x86_64.tar.gz"; url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-${version}-linux-x86_64.tar.gz";
hash = "sha256-MH5NLppwe/W5d0duNwyQtUBryqDzfV3u0LqWI40GqLQ="; hash = "sha256-Z2iNYNpf0a3kXBLaJeGVYIW5EGiBuMPdFNK2jSpnmws=";
stripRoot = false; stripRoot = false;
}; };

View File

@ -8,16 +8,16 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "cloudlog"; pname = "cloudlog";
version = "2.4.11"; version = "2.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "magicbug"; owner = "magicbug";
repo = "Cloudlog"; repo = "Cloudlog";
rev = version; rev = version;
hash = "sha256-w1QCEow0K8uzbHlyASCggw2U+1RXjPbmxd5XRSdp6yE="; hash = "sha256-4+aP+y7TNCq7zGOK3HCrl1NQOmpOHezfbL9B1vW2AUo=";
}; };
postPath = '' postPatch = ''
substituteInPlace index.php \ substituteInPlace index.php \
--replace "define('ENVIRONMENT', 'development');" "define('ENVIRONMENT', 'production');" --replace "define('ENVIRONMENT', 'development');" "define('ENVIRONMENT', 'production');"
''; '';

View File

@ -21,10 +21,10 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gwyddion"; pname = "gwyddion";
version = "2.63"; version = "2.64";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/gwyddion/gwyddion-${version}.tar.xz"; url = "mirror://sourceforge/gwyddion/gwyddion-${version}.tar.xz";
sha256 = "sha256-FSs/Dbnr1shEw/W51DhUFPb61tM+0atc6wxY81EiTdM="; sha256 = "sha256-FDL4XDHH6WYF47OsnhxpM7s7YadutiCDjcJKCF8ZlCw=";
}; };
nativeBuildInputs = [ pkg-config file ]; nativeBuildInputs = [ pkg-config file ];

View File

@ -10,13 +10,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "UHDM"; pname = "UHDM";
# When updating this package, also consider updating science/logic/surelog # When updating this package, also consider updating science/logic/surelog
version = "1.76"; version = "1.77";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chipsalliance"; owner = "chipsalliance";
repo = finalAttrs.pname; repo = finalAttrs.pname;
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-Q/u5lvILYDT5iScES3CTPIm/B5apoOHXOQmCsZ73NlU="; hash = "sha256-JKhpcPG4hWlcn2C+Wlx7yNIMXXurAMxLSK4xWN2akMQ=";
fetchSubmodules = false; # we use all dependencies from nix fetchSubmodules = false; # we use all dependencies from nix
}; };

View File

@ -27,7 +27,7 @@
}: }:
let let
version = "1.16.1"; version = "1.16.2";
# build stimuli file for PGO build and the script to generate it # build stimuli file for PGO build and the script to generate it
# independently of the foot's build, so we can cache the result # independently of the foot's build, so we can cache the result
@ -99,7 +99,7 @@ stdenv.mkDerivation {
owner = "dnkl"; owner = "dnkl";
repo = "foot"; repo = "foot";
rev = version; rev = version;
hash = "sha256-laE4Ytt64ao1vvF05g4l1AkEnKPwKRYCVCybsX1Ae9U="; hash = "sha256-hT+btlfqfwGBDWTssYl8KN6SbR9/Y2ors4ipECliigM=";
}; };
separateDebugInfo = true; separateDebugInfo = true;

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pkg-config , pkg-config
, which , which
, frei0r , frei0r
@ -34,12 +35,19 @@ stdenv.mkDerivation {
"-DBUILD_QT6=1" "-DBUILD_QT6=1"
]; ];
patches = [
(fetchpatch {
# Taken from https://github.com/olive-editor/olive/pull/2294.
name = "olive-editor-openimageio-2.3-compat.patch";
url = "https://github.com/olive-editor/olive/commit/311eeb72944f93f873d1cd1784ee2bf423e1e7c2.patch";
hash = "sha256-lswWn4DbXGH1qPvPla0jSgUJQXuqU7LQGHIPoXAE8ag=";
})
];
# https://github.com/olive-editor/olive/issues/2200 # https://github.com/olive-editor/olive/issues/2200
patchPhase = '' postPatch = ''
runHook prePatch
substituteInPlace ./app/node/project/serializer/serializer230220.cpp \ substituteInPlace ./app/node/project/serializer/serializer230220.cpp \
--replace 'QStringRef' 'QStringView' --replace 'QStringRef' 'QStringView'
runHook postPatch
''; '';
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -11,13 +11,13 @@
buildGoModule rec { buildGoModule rec {
pname = "containerd"; pname = "containerd";
version = "1.7.7"; version = "1.7.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containerd"; owner = "containerd";
repo = "containerd"; repo = "containerd";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-5Tw7xltrsp+yGrdJ0O4MoFUvIaEiCQpMip5X1kfV/iM="; hash = "sha256-p16qHJD0i0ZNEFGEbfmbxiedX9/uHkZxhCeB3x/5iLM=";
}; };
vendorHash = null; vendorHash = null;

View File

@ -11,11 +11,11 @@
gsmakeDerivation rec { gsmakeDerivation rec {
pname = "gnustep-back"; pname = "gnustep-back";
version = "0.29.0"; version = "0.30.0";
src = fetchzip { src = fetchzip {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/${pname}-${version}.tar.gz"; url = "ftp://ftp.gnustep.org/pub/gnustep/core/${pname}-${version}.tar.gz";
sha256 = "sha256-4n2SC68G0dpSz9nqCL5Kz76nyoRxWcRTWDwZsnMoHSM="; sha256 = "sha256-HD4PLdkE573nPWqFwffUmcHw8VYIl5rLiPKWrbnwpCI=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnustep-make"; pname = "gnustep-make";
version = "2.9.0"; version = "2.9.1";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz"; url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
sha256 = "sha256-oLBmwRJXh5x8hTEd6mnGf23HQe8znbZRT4W2SZLEDSo="; sha256 = "sha256-w9bnDPFWsn59HtJQHFffP5bidIjOLzUbk+R5xYwB6uc=";
}; };
configureFlags = [ configureFlags = [

View File

@ -581,7 +581,7 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
mv $out/share/doc/* $out/share/doc/python${pythonVersion}-${version} mv $out/share/doc/* $out/share/doc/python${pythonVersion}-${version}
''; '';
nativeBuildInputs = with pkgsBuildBuild.python3.pkgs; [ sphinxHook python_docs_theme ]; nativeBuildInputs = with pkgsBuildBuild.python3.pkgs; [ sphinxHook python-docs-theme ];
}; };
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;

View File

@ -8,11 +8,11 @@ assert odbcSupport -> unixODBC != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "freetds"; pname = "freetds";
version = "1.4.2"; version = "1.4.6";
src = fetchurl { src = fetchurl {
url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2"; url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2";
hash = "sha256-is0TOZicZHCYA+In0ggretJkvmauvU26LGmnaKy4ZxM="; hash = "sha256-gTgCoca8Av4WlrbqMapTUiVxl3dza1v8I6OheFiVasA=";
}; };
buildInputs = [ buildInputs = [

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "intel-gmmlib"; pname = "intel-gmmlib";
version = "22.3.11"; version = "22.3.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "gmmlib"; repo = "gmmlib";
rev = "intel-gmmlib-${version}"; rev = "intel-gmmlib-${version}";
sha256 = "sha256-pweKUf/KW64neJkEZwjePh7ft8KEBu1I9zCIx/lMQT8="; sha256 = "sha256-BfMH3gFInWiBCuFZC0bZzpoZCEQzv/+tMvRH9ep5rLk=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -23,7 +23,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mediastreamer2"; pname = "mediastreamer2";
version = "5.2.98"; version = "5.2.109";
dontWrapQtApps = true; dontWrapQtApps = true;
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
group = "BC"; group = "BC";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-02e1nGSwlhEHwQH6WqBSKBlWQWAYa7lKdZaZ8/0SAxs="; hash = "sha256-uiuT53mM/dUw5tOYKsBEqEbvYRFKEyyTDKCLYaQvMAs=";
}; };
patches = [ patches = [

View File

@ -0,0 +1,17 @@
diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
index c122b013..04f36bf0 100644
--- a/src/cmake/Config.cmake.in
+++ b/src/cmake/Config.cmake.in
@@ -43,11 +43,7 @@ if (NOT @BUILD_SHARED_LIBS@) # NOT @BUILD_SHARED_LIBS@
# ZLIB_VERSION_STRING is still available for backward compatibility.
# See https://cmake.org/cmake/help/git-stage/module/FindZLIB.html
- if (@ZLIB_VERSION@) # @ZLIB_VERSION@
- find_dependency(ZLIB @ZLIB_VERSION@)
- else()
- find_dependency(ZLIB @ZLIB_VERSION_STRING@)
- endif()
+ find_dependency(ZLIB)
endif()
if (NOT TARGET MINIZIP::minizip-ng)

View File

@ -27,32 +27,25 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "opencolorio"; pname = "opencolorio";
version = "2.2.0"; version = "2.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AcademySoftwareFoundation"; owner = "AcademySoftwareFoundation";
repo = "OpenColorIO"; repo = "OpenColorIO";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-l5UUysHdP/gb4Mn5A64XEoHOkthl6Mlb95CuI0l4vXQ="; sha256 = "sha256-E4TmMEFzI3nKqiDFaAkNx44uo84sacvZqjbfWe3A8fE=";
}; };
patches = [ patches = [
(fetchpatch { (fetchpatch {
name = "darwin-no-hidden-l.patch"; # Taken from https://github.com/AcademySoftwareFoundation/OpenColorIO/pull/1891.
url = "https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/48bab7c643ed8d108524d718e5038d836f906682.patch"; name = "opencolorio-yaml-cpp-8.0-compat.patch";
revert = true; url = "https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/e99b4afcf0408d8ec56fdf2b9380327c9284db00.patch";
sha256 = "sha256-0DF+lwi2nfkUFG0wYvL3HYbhZS6SqGtPWoOabrFS1Eo="; sha256 = "sha256-7eIvVWKcpE0lmuYdNqFQFHkW/sSSzQ//LNIMOC28KZg=";
})
(fetchpatch {
name = "pkg-config-absolute-path.patch";
url = "https://github.com/AcademySoftwareFoundation/OpenColorIO/commit/332462e7f5051b7e26ee3d8c22890cd5e71e7c30.patch";
sha256 = "sha256-7xHALhnOkKszgFBgPIbiZQaORnEJ+1M6RyoZdFgjElM=";
})
(fetchpatch {
name = "minizip-ng-4.patch";
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/opencolorio/-/raw/5fc40f42f5c05d905793610c37b46ca3649245f3/minizip-ng-4.patch";
hash = "sha256-B+dbBVRn0EuGtJaWxz5ah9el0RN7cLb81hgqnKkvhew=";
}) })
# Workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/25200.
# Needed for zlib >= 1.3 && cmake < 3.27.4.
./broken-cmake-zlib-version.patch
]; ];
postPatch = lib.optionalString stdenv.isDarwin '' postPatch = lib.optionalString stdenv.isDarwin ''
@ -81,14 +74,17 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DOCIO_INSTALL_EXT_PACKAGES=NONE" "-DOCIO_INSTALL_EXT_PACKAGES=NONE"
"-DOCIO_USE_SSE2NEON=OFF"
# GPU test fails with: freeglut (GPU tests): failed to open display '' # GPU test fails with: freeglut (GPU tests): failed to open display ''
"-DOCIO_BUILD_GPU_TESTS=OFF" "-DOCIO_BUILD_GPU_TESTS=OFF"
"-Dminizip-ng_INCLUDE_DIR=${minizip-ng}/include" "-Dminizip-ng_INCLUDE_DIR=${minizip-ng}/include/minizip-ng"
] ++ lib.optional (!pythonBindings) "-DOCIO_BUILD_PYTHON=OFF" ] ++ lib.optional (!pythonBindings) "-DOCIO_BUILD_PYTHON=OFF"
++ lib.optional (!buildApps) "-DOCIO_BUILD_APPS=OFF"; ++ lib.optional (!buildApps) "-DOCIO_BUILD_APPS=OFF";
# precision issues on non-x86 # precision issues on non-x86
doCheck = stdenv.isx86_64; doCheck = stdenv.isx86_64;
# Tends to fail otherwise.
enableParallelChecking = false;
meta = with lib; { meta = with lib; {
homepage = "https://opencolorio.org"; homepage = "https://opencolorio.org";

View File

@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
hash = "sha256-I2/JPmUBDb0bw7qbSZcAkYHB2q2Uo7En7ZurMwWhg/M="; hash = "sha256-I2/JPmUBDb0bw7qbSZcAkYHB2q2Uo7En7ZurMwWhg/M=";
}; };
# Workaround broken zlib version detecion in CMake < 3.37.
postPatch = ''
substituteInPlace ./src/cmake/Config.cmake.in \
--replace " @ZLIB_VERSION@" ""
'';
outputs = [ "bin" "out" "dev" "doc" ]; outputs = [ "bin" "out" "dev" "doc" ];
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -25,6 +25,7 @@
, withData ? true, poppler_data , withData ? true, poppler_data
, qt5Support ? false, qt6Support ? false, qtbase ? null , qt5Support ? false, qt6Support ? false, qtbase ? null
, introspectionSupport ? false, gobject-introspection ? null , introspectionSupport ? false, gobject-introspection ? null
, gpgmeSupport ? false, gpgme ? null
, utils ? false, nss ? null , utils ? false, nss ? null
, minimal ? false , minimal ? false
, suffix ? "glib" , suffix ? "glib"
@ -47,13 +48,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: rec { stdenv.mkDerivation (finalAttrs: rec {
pname = "poppler-${suffix}"; pname = "poppler-${suffix}";
version = "23.08.0"; # beware: updates often break cups-filters build, check texlive and scribus too! version = "23.11.0"; # beware: updates often break cups-filters build, check scribus too!
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz"; url = "https://poppler.freedesktop.org/poppler-${version}.tar.xz";
hash = "sha256-Skv3/JA7nxoqt9BLfF2CINubxiYcxz/bmoJtwnL0mqg="; hash = "sha256-+ZzKZ5nLnLbJL8Hg63hUe2EctzN1CrfLBHyw5sJGU5w=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -88,6 +89,8 @@ stdenv.mkDerivation (finalAttrs: rec {
qtbase qtbase
] ++ lib.optionals introspectionSupport [ ] ++ lib.optionals introspectionSupport [
gobject-introspection gobject-introspection
] ++ lib.optionals gpgmeSupport [
gpgme
]; ];
cmakeFlags = [ cmakeFlags = [
@ -95,9 +98,13 @@ stdenv.mkDerivation (finalAttrs: rec {
(mkFlag (!minimal) "GLIB") (mkFlag (!minimal) "GLIB")
(mkFlag (!minimal) "CPP") (mkFlag (!minimal) "CPP")
(mkFlag (!minimal) "LIBCURL") (mkFlag (!minimal) "LIBCURL")
(mkFlag (!minimal) "LCMS")
(mkFlag (!minimal) "LIBTIFF")
(mkFlag (!minimal) "NSS3")
(mkFlag utils "UTILS") (mkFlag utils "UTILS")
(mkFlag qt5Support "QT5") (mkFlag qt5Support "QT5")
(mkFlag qt6Support "QT6") (mkFlag qt6Support "QT6")
(mkFlag gpgmeSupport "GPGME")
] ++ lib.optionals finalAttrs.doCheck [ ] ++ lib.optionals finalAttrs.doCheck [
"-DTESTDATADIR=${testData}" "-DTESTDATADIR=${testData}"
]; ];
@ -110,13 +117,24 @@ stdenv.mkDerivation (finalAttrs: rec {
sed -i -e '1i cmake_policy(SET CMP0025 NEW)' CMakeLists.txt sed -i -e '1i cmake_policy(SET CMP0025 NEW)' CMakeLists.txt
''; '';
# Work around gpgme trying to write to $HOME during qt5 and qt6 tests:
preCheck = lib.optionalString gpgmeSupport ''
HOME_orig="$HOME"
export HOME="$(mktemp -d)"
'';
postCheck = lib.optionalString gpgmeSupport ''
export HOME="$HOME_orig"
unset -v HOME_orig
'';
doCheck = true; doCheck = true;
passthru = { passthru = {
inherit testData; inherit testData;
tests = { tests = {
# These depend on internal poppler code that frequently changes. # These depend on internal poppler code that frequently changes.
inherit inkscape cups-filters texlive scribus; inherit inkscape cups-filters scribus;
}; };
}; };

View File

@ -3,36 +3,19 @@
, fetchFromGitHub , fetchFromGitHub
, gitUpdater , gitUpdater
, cmake , cmake
, fetchpatch
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yaml-cpp"; pname = "yaml-cpp";
version = "0.7.0"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jbeder"; owner = "jbeder";
repo = "yaml-cpp"; repo = "yaml-cpp";
rev = "yaml-cpp-${version}"; rev = version;
hash = "sha256-2tFWccifn0c2lU/U1WNg2FHrBohjx8CXMllPJCevaNk="; hash = "sha256-J87oS6Az1/vNdyXu3L7KmUGWzU0IAkGrGMUUha+xDXI=";
}; };
patches = [
# https://github.com/jbeder/yaml-cpp/issues/774
# https://github.com/jbeder/yaml-cpp/pull/1037
(fetchpatch {
name = "yaml-cpp-Fix-generated-cmake-config.patch";
url = "https://github.com/jbeder/yaml-cpp/commit/4f48727b365962e31451cd91027bd797bc7d2ee7.patch";
hash = "sha256-jarZAh7NgwL3xXzxijDiAQmC/EC2WYfNMkYHEIQBPhM=";
})
# TODO: Remove with the next release, when https://github.com/jbeder/yaml-cpp/pull/1058 is available
(fetchpatch {
name = "yaml-cpp-Fix-pc-paths-for-absolute-GNUInstallDirs.patch";
url = "https://github.com/jbeder/yaml-cpp/commit/328d2d85e833be7cb5a0ab246cc3f5d7e16fc67a.patch";
hash = "sha256-1M2rxfbVOrRH9kiImcwcEolXOP8DeDW9Cbu03+mB5Yk=";
})
];
strictDeps = true; strictDeps = true;
nativeBuildInputs = [ nativeBuildInputs = [
@ -47,9 +30,7 @@ stdenv.mkDerivation rec {
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
passthru.updateScript = gitUpdater { passthru.updateScript = gitUpdater { };
rev-prefix = "yaml-cpp-";
};
meta = with lib; { meta = with lib; {
description = "A YAML parser and emitter for C++"; description = "A YAML parser and emitter for C++";

View File

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "apipkg"; pname = "apipkg";
version = "3.0.1"; version = "3.0.2";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pytest-dev"; owner = "pytest-dev";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-gf84SzfuKLGYfI88IzPRJCqMZWwowUR10FgIbwXjwuY="; hash = "sha256-ANLD7fUMKN3RmAVjVkcpwUH6U9ASalXdwKtPpoC8Urs=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View File

@ -1,12 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, argparse-addons, humanfriendly, pyelftools }: { lib
, buildPythonPackage
, fetchPypi
, argparse-addons
, humanfriendly
, pyelftools
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bincopy"; pname = "bincopy";
version = "19.1.0"; version = "20.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-aDVkrTBEhrTP1Oc/kiE9ZsJ+8fDGXcb2+FSMQP0X0lY="; hash = "sha256-FM+0z5cie/Kx9bhWI99MdnrSGa/cn+BzLdLP3/RGr98=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -15,7 +25,9 @@ buildPythonPackage rec {
pyelftools pyelftools
]; ];
pythonImportsCheck = [ "bincopy" ]; pythonImportsCheck = [
"bincopy"
];
meta = with lib; { meta = with lib; {
description = "Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, ELF and binary files)"; description = "Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, ELF and binary files)";

View File

@ -1,37 +1,32 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub
, pythonOlder
, ecdsa
, coincurve
, pynacl
, crcmod
, ed25519-blake2b
, py-sr25519-bindings
, cbor2 , cbor2
, coincurve
, crcmod
, ecdsa
, ed25519-blake2b
, fetchFromGitHub
, py-sr25519-bindings
, pycryptodome , pycryptodome
, pynacl
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bip-utils"; pname = "bip-utils";
version = "2.7.1"; version = "2.8.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ebellocchia"; owner = "ebellocchia";
repo = "bip_utils"; repo = "bip_utils";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-QrCkLiGBdZTQCnbWSTN0PeoAsQfg2CoSGdZcbhqTvOk="; hash = "sha256-FW3ni7kPB0VeVK/uWjDEeWgilP9dNiuvSaboUpG5DLo=";
}; };
postPatch = ''
substituteInPlace requirements.txt \
--replace "coincurve>=15.0.1,<18.0.0" "coincurve"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
ecdsa ecdsa
cbor2 cbor2

View File

@ -6,7 +6,7 @@
let let
pname = "boilerpy3"; pname = "boilerpy3";
version = "1.0.6"; version = "1.0.7";
in in
buildPythonPackage { buildPythonPackage {
inherit pname version; inherit pname version;
@ -18,7 +18,7 @@ buildPythonPackage {
owner = "jmriebold"; owner = "jmriebold";
repo = "BoilerPy3"; repo = "BoilerPy3";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hl2+XpSvVaHpq9RGMnSzWHCA8TtBQnYwDtEOia1Rl/A="; hash = "sha256-dhAB0VbBGsSrgYGUlZEYaKA6sQB/f9Bb3alsRuQ8opo=";
}; };
postPatch = '' postPatch = ''

View File

@ -6,14 +6,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bsdiff4"; pname = "bsdiff4";
version = "1.2.3"; version = "1.2.4";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-G5XOk7nzBoRvbJHJ0OPrZZCkyFrCu+crX2DZ24KtKhw="; hash = "sha256-HXEpqBIYYHMejM4pAdMYPhSuxwJE9k6PdFYyddw4gGc=";
}; };
pythonImportsCheck = [ pythonImportsCheck = [

View File

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "clarifai-grpc"; pname = "clarifai-grpc";
version = "9.9.3"; version = "9.10.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-9h/d1w5toxWMHMvVkQiuHySf3+IjeumD4EipgI1kaEs="; hash = "sha256-8jx2OP1VcQtGmen58r1k/w7srjSJC/53sNxFrRm7IXs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ical"; pname = "ical";
version = "5.1.0"; version = "5.1.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "allenporter"; owner = "allenporter";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ffNgYtwErt9tzfDWQnt0h7QHQL+gMvFpP8zH6FSoHEM="; hash = "sha256-ewKQzjtVgx9c6h67epgFNhY4MjR7kFNCr4EKZ+UF2xA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "publicsuffixlist"; pname = "publicsuffixlist";
version = "0.10.0.20231030"; version = "0.10.0.20231104";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-1yRv6zg9mKJTinR57QHvCx/0mi0b2O3CkcoH1v4QuNo="; hash = "sha256-p+sOaRfp2IDdXL6eotCrSHu91i+mAwavmqELa5nDB7c=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pythonOlder
, sphinx
}:
buildPythonPackage rec {
pname = "python-docs-theme";
version = "2023.9";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "python";
repo = "python-docs-theme";
rev = "refs/tags/${version}";
hash = "sha256-XVwMEfprTNdNnaW38HMCAu4CswdVjBXYtNWBgqXfbno=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
sphinx
];
pythonImportsCheck = [
"python_docs_theme"
];
meta = with lib; {
description = "Sphinx theme for CPython project";
homepage = "https://github.com/python/python-docs-theme";
changelog = "https://github.com/python/python-docs-theme/blob/${version}/CHANGELOG.rst";
license = licenses.psfl;
maintainers = with maintainers; [ kaction ];
};
}

View File

@ -1,27 +0,0 @@
{ lib, buildPythonPackage, fetchFromGitHub, flit-core, sphinx }:
buildPythonPackage rec {
pname = "python_docs_theme";
version = "2023.9";
format = "pyproject";
src = fetchFromGitHub {
owner = "python";
repo = "python-docs-theme";
rev = "refs/tags/${version}";
sha256 = "sha256-XVwMEfprTNdNnaW38HMCAu4CswdVjBXYtNWBgqXfbno=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ sphinx ];
pythonImportsCheck = [ "python_docs_theme" ];
meta = with lib; {
homepage = "https://github.com/python/python-docs-theme";
description = "Sphinx theme for CPython project";
license = licenses.psfl;
maintainers = with maintainers; [ kaction ];
};
}

View File

@ -12,14 +12,13 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "radio_beam"; pname = "radio-beam";
version = "0.3.4"; version = "0.3.6";
format = "pyproject"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit pname version;
pname = "radio-beam"; hash = "sha256-U+IjOTt7x9uzUl7IcQRu2s+MBKF/OR+sLddvHmp9hqU=";
sha256 = "e032257f1501303873f251c00c74b1188180785c79677fb4443098d517852309";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,12 +38,16 @@ buildPythonPackage rec {
pytest-astropy pytest-astropy
]; ];
meta = { pythonImportsCheck = [
"radio_beam"
];
meta = with lib; {
description = "Tools for Beam IO and Manipulation"; description = "Tools for Beam IO and Manipulation";
homepage = "http://radio-astro-tools.github.io"; homepage = "http://radio-astro-tools.github.io";
license = lib.licenses.bsd3; changelog = "https://github.com/radio-astro-tools/radio-beam/releases/tag/v${version}";
platforms = lib.platforms.all; license = licenses.bsd3;
maintainers = with lib.maintainers; [ smaret ]; maintainers = with maintainers; [ smaret ];
}; };
} }

View File

@ -11,7 +11,7 @@
, pytest-astropy , pytest-astropy
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, radio_beam , radio-beam
, setuptools-scm , setuptools-scm
}: }:
@ -36,7 +36,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
astropy astropy
casa-formats-io casa-formats-io
radio_beam radio-beam
joblib joblib
dask dask
]; ];

View File

@ -7,16 +7,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "stdlibs"; pname = "stdlibs";
version = "2022.10.9"; version = "2023.11.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "omnilib"; owner = "omnilib";
repo = "stdlibs"; repo = "stdlibs";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-HkGZw58gQGd8mHnCP4aF6JWXxlpIIfe7B//HJiHVwA4="; hash = "sha256-084px8p+pOHonSiOvi/BklaccudSlw9URtCaalWlI0o=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,13 +1,13 @@
{ detekt, lib, stdenv, fetchurl, makeWrapper, jre_headless, testers }: { detekt, lib, stdenv, fetchurl, makeWrapper, jre_headless, testers }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "detekt"; pname = "detekt";
version = "1.23.1"; version = "1.23.3";
jarfilename = "${pname}-${version}-executable.jar"; jarfilename = "${pname}-${version}-executable.jar";
src = fetchurl { src = fetchurl {
url = "https://github.com/detekt/detekt/releases/download/v${version}/detekt-cli-${version}-all.jar"; url = "https://github.com/detekt/detekt/releases/download/v${version}/detekt-cli-${version}-all.jar";
sha256 = "sha256-CJwVQF7FVjrbooXQnOzP8Efrx4iLi7w6OGu8bGdE14g="; sha256 = "sha256-Lm9z8XB7BdB7ikiyJyuVtV8eqlPucxmMNNC90E99qpA=";
}; };
dontUnpack = true; dontUnpack = true;

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "jql"; pname = "jql";
version = "7.0.4"; version = "7.0.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "yamafaktory"; owner = "yamafaktory";
repo = pname; repo = pname;
rev = "jql-v${version}"; rev = "jql-v${version}";
hash = "sha256-Qy4ozTRdDF8ENyk4AB2a/4AuMSLJd/3w/q9TjGgrkPE="; hash = "sha256-D+69R63er4OIMOdyoCuGVvVcUlM2PhLKEyUat1yEmLU=";
}; };
cargoHash = "sha256-or69dz+wMhp8CPLzip6c6S7HpilAE2DAVkv/3IJMJWQ="; cargoHash = "sha256-2/0gUavyrNxhc2j+ECPsvMLKCkZdSClivEcJVE1zFgA=";
meta = with lib; { meta = with lib; {
description = "A JSON Query Language CLI tool built with Rust"; description = "A JSON Query Language CLI tool built with Rust";

View File

@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
changelog = "https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md"; changelog = "https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md";
maintainers = with maintainers; [ tadfisher SubhrajyotiSen ]; maintainers = with maintainers; [ tadfisher SubhrajyotiSen ];
sourceProvenance = with sourceTypes; [ binaryBytecode ]; sourceProvenance = with sourceTypes; [ binaryBytecode ];
mainProgram = "ktlint";
}; };
} }

View File

@ -1,15 +1,20 @@
{ buildGoModule, fetchFromGitHub, lib }: { buildGoModule
, fetchFromGitHub
, lib
, testers
, symfony-cli
}:
buildGoModule rec { buildGoModule rec {
pname = "symfony-cli"; pname = "symfony-cli";
version = "5.6.0"; version = "5.7.0";
vendorHash = "sha256-1BqgnWFMk8hWwra75a5o6Rwbj5wiCUIdSnsAcB+7Mno="; vendorHash = "sha256-Sq3Cr/iVW3OSHLujnR2fE5ZtJhYLiobkmKXKz8hjSus=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "symfony-cli"; owner = "symfony-cli";
repo = "symfony-cli"; repo = "symfony-cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-AtHRuzpKXp+WlFser0J5MR63rbO0xO4N/L3U0Q3iax8="; hash = "sha256-wq+4czVQXQHV2Ci0zUV66+RiRREWawjH4i1i18T8RrA=";
}; };
ldflags = [ ldflags = [
@ -23,11 +28,16 @@ buildGoModule rec {
''; '';
# Tests requires network access # Tests requires network access
checkPhase = '' doCheck = false;
$GOPATH/bin/symfony-cli
''; passthru.tests.version = testers.testVersion {
inherit version;
package = symfony-cli;
command = "symfony version --no-ansi";
};
meta = { meta = {
changelog = "https://github.com/symfony-cli/symfony-cli/releases/tag/v${version}";
description = "Symfony CLI"; description = "Symfony CLI";
homepage = "https://github.com/symfony-cli/symfony-cli"; homepage = "https://github.com/symfony-cli/symfony-cli";
license = lib.licenses.agpl3Plus; license = lib.licenses.agpl3Plus;

View File

@ -10,14 +10,14 @@
with lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "3.0.0"; version = "3.1.0";
pname = "tengine"; pname = "tengine";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alibaba"; owner = "alibaba";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-nUwPT7374dfE/T6yuCUynObq6LxBHDp90Dj2JGwJ4+M="; hash = "sha256-cClSNBlresMHqJrqSFWvUo589TlwJ2tL5FWJG9QBuis=";
}; };
buildInputs = buildInputs =

View File

@ -9,16 +9,16 @@
buildGoModule rec { buildGoModule rec {
pname = "mautrix-discord"; pname = "mautrix-discord";
version = "0.6.2"; version = "0.6.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mautrix"; owner = "mautrix";
repo = "discord"; repo = "discord";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-194AB7r63gijTyeh8mn5N/AgVBeh39YMwdmvuAi3c9k="; hash = "sha256-hksnD1RWK83JjVIZsKeK8bQobNmzIbm9drgU0VjiqLs=";
}; };
vendorHash = "sha256-389ewqgpdFNRGAyka+oumx0RVadCSt1BXsXxIGTQwW0="; vendorHash = "sha256-+dmlJZPc2Tw9G64MeLPY5Rgml3UKEqAtgGI1ImRvMBU=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View File

@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "systemd_exporter"; pname = "systemd_exporter";
version = "0.5.0"; version = "0.6.0";
vendorHash = "sha256-XkwBhj2M1poirPkWzS71NbRTshc8dTKwaHoDfFxpykU="; vendorHash = "sha256-D5ASUP6XHNeHZqH/ui5GvxWis/NQrRpN/+wkO4fKkA8=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "prometheus-community"; owner = "prometheus-community";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-q6rnD8JCtB1zTkUfZt6f2Uyo91uFi3HYI7WFlZdzpBM="; sha256 = "sha256-zLg4cOZUh50OFPp4mKR/FY0JfzVmXmDFcKkhB6DalGc=";
}; };
ldflags = [ ldflags = [

View File

@ -8,13 +8,13 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "FreshRSS"; pname = "FreshRSS";
version = "1.21.0"; version = "1.22.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FreshRSS"; owner = "FreshRSS";
repo = "FreshRSS"; repo = "FreshRSS";
rev = version; rev = version;
hash = "sha256-0+fMZ5ps0CkBbS+fcxlYrrkQi28tmrKTyl3kPuofqyI="; hash = "sha256-e4+ZkhncgDIWE5NH2eYun2FeWxz1suM//6T6P3V4nQU=";
}; };
passthru.tests = { passthru.tests = {
@ -26,12 +26,6 @@ stdenvNoCC.mkDerivation rec {
# There's nothing to build. # There's nothing to build.
dontBuild = true; dontBuild = true;
# the data folder is no in this package and thereby declared by an env-var
overrideConfig = pkgs.writeText "constants.local.php" ''
<?php
define('DATA_PATH', getenv('FRESHRSS_DATA_PATH'));
'';
postPatch = '' postPatch = ''
patchShebangs cli/*.php app/actualize_script.php patchShebangs cli/*.php app/actualize_script.php
''; '';
@ -39,8 +33,6 @@ stdenvNoCC.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
cp -vr * $out/ cp -vr * $out/
cp $overrideConfig $out/constants.local.php
''; '';
meta = with lib; { meta = with lib; {

View File

@ -5,17 +5,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "pokeget-rs"; pname = "pokeget-rs";
version = "1.3.0"; version = "1.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "talwat"; owner = "talwat";
repo = "pokeget-rs"; repo = "pokeget-rs";
rev = version; rev = version;
hash = "sha256-UAkSMdHukwxDzOU/sIOuTazBbD68ORIGAWuwRxoC+EY="; hash = "sha256-C7pEe9nScJ/ORJJrUDo6pADKceKoagHGP/X/asR1PcM=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoHash = "sha256-A5bDZU/L3G2RWbc3Y6KEQAmLS4RuNSG+ROypxINlwLk="; cargoHash = "sha256-gPPtVFSaaSL0QBXxHpslVdon3XVCVx1E5cfEP1Ffa9g=";
meta = with lib; { meta = with lib; {
description = "A better rust version of pokeget"; description = "A better rust version of pokeget";

View File

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "flannel"; pname = "flannel";
version = "0.22.3"; version = "0.23.0";
rev = "v${version}"; rev = "v${version}";
vendorHash = "sha256-2P9gEbItK7rCtveXIZkFMcvppjK4GLzTSoLrkMPeCig="; vendorHash = "sha256-U4mFFxVVLHvgY2YQN1nEsFiTpfBpmhftLoVoGEzb2Fs=";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; inherit rev;
owner = "flannel-io"; owner = "flannel-io";
repo = "flannel"; repo = "flannel";
sha256 = "sha256-sO3iFs6pAmnqpc9+hxx2WZQWOP37/4XS1m5U4nerVLI="; sha256 = "sha256-8KUfmnDShhb8eFukU/dUo/PCrFlQDBh+gAV2rqqB7mE=";
}; };
ldflags = [ "-X github.com/flannel-io/flannel/pkg/version.Version=${rev}" ]; ldflags = [ "-X github.com/flannel-io/flannel/pkg/version.Version=${rev}" ];

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "dt"; pname = "dt";
version = "1.2.5"; version = "1.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "so-dang-cool"; owner = "so-dang-cool";
repo = "dt"; repo = "dt";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-i8oMrsPcINVK5kXzrN+lcPqBfxIeed8W+NF7Qd0crrk="; hash = "sha256-qHfvHf4T0wWnzqp5FfLg7n7te24xc2aMEdTK3Iia8Q0=";
}; };
nativeBuildInputs = [ zig_0_11.hook ]; nativeBuildInputs = [ zig_0_11.hook ];

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mdbook-admonish"; pname = "mdbook-admonish";
version = "1.13.0"; version = "1.13.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tommilligan"; owner = "tommilligan";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-jr77WC6b5PrPANivd6diAFfVqudtviIWBE7I8eFmCfs="; hash = "sha256-wRRBasHnTelLCiHjjrMmXv/2V3P91n4kZ1aAt1tZx/Y=";
}; };
cargoHash = "sha256-gBkRA8QRha46y5cp5aY2R+ekdfjUX5tDuNawCwzKFi4="; cargoHash = "sha256-KAcZyHanmbOKK+55dkINss9uOxk6P+r38M6qftYQwpw=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];

View File

@ -24589,7 +24589,6 @@ with pkgs;
}); });
poppler_min = poppler.override { # TODO: maybe reduce even more poppler_min = poppler.override { # TODO: maybe reduce even more
# this is currently only used by texlive.bin.
minimal = true; minimal = true;
suffix = "min"; suffix = "min";
}; };

View File

@ -335,6 +335,7 @@ mapAliases ({
pytestrunner = pytest-runner; # added 2021-01-04 pytestrunner = pytest-runner; # added 2021-01-04
python-forecastio = throw "python-forecastio has been removed, as the Dark Sky service was shut down."; # added 2023-04-05 python-forecastio = throw "python-forecastio has been removed, as the Dark Sky service was shut down."; # added 2023-04-05
python-igraph = igraph; # added 2021-11-11 python-igraph = igraph; # added 2021-11-11
python_docs_theme = python-docs-theme; # added 2023-11-04
python_keyczar = throw "python_keyczar has been removed because it's been archived upstream and deprecated"; # added 2023-05-16 python_keyczar = throw "python_keyczar has been removed because it's been archived upstream and deprecated"; # added 2023-05-16
python-lz4 = lz4; # added 2018-06-01 python-lz4 = lz4; # added 2018-06-01
python_magic = python-magic; # added 2022-05-07 python_magic = python-magic; # added 2022-05-07
@ -359,6 +360,7 @@ mapAliases ({
Quandl = quandl; # added 2023-02-19 Quandl = quandl; # added 2023-02-19
qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages"; qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01 rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01
radio_beam = radio-beam; # added 2023-11-04
ratelimiter = throw "ratelimiter has been removed, since it is unmaintained and broken"; # added 2023-10-21 ratelimiter = throw "ratelimiter has been removed, since it is unmaintained and broken"; # added 2023-10-21
rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05 rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
recaptcha_client = throw "recaptcha_client has been removed since it is no longer maintained"; # added 2023-10-20 recaptcha_client = throw "recaptcha_client has been removed since it is no longer maintained"; # added 2023-10-20

View File

@ -8667,7 +8667,7 @@ self: super: with self; {
pallets-sphinx-themes = callPackage ../development/python-modules/pallets-sphinx-themes { }; pallets-sphinx-themes = callPackage ../development/python-modules/pallets-sphinx-themes { };
python_docs_theme = callPackage ../development/python-modules/python_docs_theme { }; python-docs-theme = callPackage ../development/python-modules/python-docs-theme { };
pamela = callPackage ../development/python-modules/pamela { }; pamela = callPackage ../development/python-modules/pamela { };
@ -11989,7 +11989,7 @@ self: super: with self; {
radian = callPackage ../development/python-modules/radian { }; radian = callPackage ../development/python-modules/radian { };
radio_beam = callPackage ../development/python-modules/radio_beam { }; radio-beam = callPackage ../development/python-modules/radio-beam { };
radios = callPackage ../development/python-modules/radios { }; radios = callPackage ../development/python-modules/radios { };