Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2024-12-03 00:16:58 +00:00
committed by GitHub
104 changed files with 2099 additions and 3667 deletions
+17 -5
View File
@@ -109,11 +109,23 @@ def diff($before; $after):
| ($after[0] | expand_system) as $after
| .attrdiff = diff($before; $after)
| .rebuildsByKernel = (
.attrdiff.changed
| map({
key: .,
value: diff($before."\(.)"; $after."\(.)").changed
})
[
(
.attrdiff.changed[]
| {
key: .,
value: diff($before."\(.)"; $after."\(.)").changed
}
)
,
(
.attrdiff.added[]
| {
key: .,
value: ($after."\(.)" | keys)
}
)
]
| from_entries
| transpose
)
+2 -2
View File
@@ -1,4 +1,4 @@
{
"rev": "4de4818c1ffa76d57787af936e8a23648bda6be4",
"sha256": "0l3b9jr5ydzqgvd10j12imc9jqb6jv5v2bdi1gyy5cwkwplfay67"
"rev": "31d66ae40417bb13765b0ad75dd200400e98de84",
"sha256": "0fwsqd05bnk635niqnx9vqkdbinjq0ffdrbk66xllfyrnx4fvmpc"
}
+1 -1
View File
@@ -121,7 +121,7 @@ let
inherit (self.customisation) overrideDerivation makeOverridable
callPackageWith callPackagesWith extendDerivation hydraJob
makeScope makeScopeWithSplicing makeScopeWithSplicing';
inherit (self.derivations) lazyDerivation optionalDrvAttr;
inherit (self.derivations) lazyDerivation optionalDrvAttr warnOnInstantiate;
inherit (self.meta) addMetaAttrs dontDistribute setName updateName
appendToName mapDerivationAttrset setPrio lowPrio lowPrioSet hiPrio
hiPrioSet licensesSpdx getLicenseFromSpdxId getLicenseFromSpdxIdOr
+36
View File
@@ -4,6 +4,8 @@ let
inherit (lib)
genAttrs
isString
mapAttrs
removeAttrs
throwIfNot
;
@@ -206,4 +208,38 @@ in
optionalDrvAttr =
cond:
value: if cond then value else null;
/**
Wrap a derivation such that instantiating it produces a warning.
All attributes apart from `meta`, `name`, and `type` (which are used by
`nix search`) will be wrapped in `lib.warn`.
# Inputs
`msg`
: The warning message to emit (via `lib.warn`).
`drv`
: The derivation to wrap.
# Examples
:::{.example}
## `lib.derivations.warnOnInstantiate` usage example
```nix
{
myPackage = warnOnInstantiate "myPackage has been renamed to my-package" my-package;
}
```
:::
*/
warnOnInstantiate =
msg: drv:
let
drvToWrap = removeAttrs drv [ "meta" "name" "type" ];
in
drv
// mapAttrs (_: lib.warn msg) drvToWrap;
}
+13 -6
View File
@@ -4993,6 +4993,12 @@
githubId = 7589338;
name = "Daniel Șerbănescu";
};
daspk04 = {
email = "dpratyush.k@gmail.com";
github = "daspk04";
githubId = 28738918;
name = "Pratyush Das";
};
datafoo = {
github = "datafoo";
githubId = 34766150;
@@ -7062,12 +7068,6 @@
githubId = 878822;
name = "Tristan Helmich";
};
falsifian = {
email = "james.cook@utoronto.ca";
github = "falsifian";
githubId = 225893;
name = "James Cook";
};
fangpen = {
email = "hello@fangpenlin.com";
github = "fangpenlin";
@@ -7307,6 +7307,13 @@
github = "fkautz";
githubId = 135706;
};
flacks = {
name = "Jean Lucas";
email = "jean@4ray.co";
github = "flacks";
githubId = 2135469;
matrix = "@flacks:matrix.org";
};
FlafyDev = {
name = "Flafy Arazi";
email = "flafyarazi@gmail.com";
@@ -25,7 +25,7 @@ let
'';
in
{
meta.maintainers = with lib.maintainers; [ ambroisie ];
meta.maintainers = with lib.maintainers; [ ];
options.services.tandoor-recipes = {
enable = lib.mkOption {
@@ -274,6 +274,7 @@ let
};
};
# https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
promTypes.scrape_config = types.submodule {
options = {
authorization = mkOption {
@@ -299,6 +300,15 @@ let
globally configured default.
'';
scrape_protocols = mkOpt (types.listOf types.str) ''
The protocols to negotiate during a scrape with the client.
'';
fallback_scrape_protocol = mkOpt types.str ''
Fallback protocol to use if a scrape returns blank, unparseable, or otherwise
invalid Content-Type.
'';
metrics_path = mkDefOpt types.str "/metrics" ''
The HTTP resource path on which to fetch metrics from targets.
'';
+2 -2
View File
@@ -281,8 +281,8 @@ in
options = {
http-host = mkOption {
type = str;
default = "0.0.0.0";
example = "127.0.0.1";
default = "::";
example = "::1";
description = ''
On which address Keycloak should accept new connections.
'';
+1 -1
View File
@@ -1,6 +1,6 @@
import ./make-test-python.nix ({ lib, ... }: {
name = "tandoor-recipes";
meta.maintainers = with lib.maintainers; [ ambroisie ];
meta.maintainers = with lib.maintainers; [ ];
nodes.machine = { pkgs, ... }: {
services.tandoor-recipes = {
+2 -2
View File
@@ -57,13 +57,13 @@
mkDerivation rec {
pname = "mixxx";
version = "2.4.1";
version = "2.4.2";
src = fetchFromGitHub {
owner = "mixxxdj";
repo = "mixxx";
rev = version;
hash = "sha256-BOdXgA+z3sFE4ngAEhSbp1gDbsti1STJY2Yy6Hp+zTE=";
hash = "sha256-foY4K1rSth0GUjM1xpctI3fpavVjGoPMnRN2tT4Lsqg=";
};
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook3 ];
@@ -1,6 +1,9 @@
{ callPackage
, cling
, fetchurl
, jq
, makeWrapper
, python3
, stdenv
}:
@@ -11,48 +14,81 @@
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions = { cpp17 = cpp17-kernel; }; }'
let
xeus-cling = callPackage ./xeus-cling.nix {};
xeus-cling-unwrapped = callPackage ./xeus-cling.nix {};
mkDefinition = std:
let
versionSuffix =
if std == "c++11" then " 11"
else if std == "c++14" then " 14"
else if std == "c++17" then " 17"
else if std == "c++17" then " 17"
else if std == "c++2a" then " 2a"
else throw "Unexpected C++ std for cling: ${std}";
in
xeus-cling = xeus-cling-unwrapped.overrideAttrs (oldAttrs: {
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [makeWrapper];
# xcpp needs a collection of flags to start up properly, so wrap it by default.
# We'll provide the unwrapped version as a passthru
flags = cling.flags ++ [
"-resource-dir" "${cling.unwrapped}"
"-L" "${cling.unwrapped}/lib"
"-l" "${cling.unwrapped}/lib/cling.so"
];
fixupPhase = ''
runHook preFixup
wrapProgram $out/bin/xcpp --add-flags "$flags"
runHook postFixup
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preCheck
# Smoke check: run a test notebook using Papermill by creating a simple kernelspec
mkdir -p kernels/cpp17
export JUPYTER_PATH="$(pwd)"
cat << EOF > kernels/cpp17/kernel.json
{
displayName = "C++" + versionSuffix;
argv = [
"${xeus-cling}/bin/xcpp"
]
++ cling.flags
++ [
"-resource-dir" "${cling.unwrapped}"
"-L" "${cling.unwrapped}/lib"
"-l" "${cling.unwrapped}/lib/cling.so"
"-std=${std}"
# "-v"
"-f" "{connection_file}"
];
language = "cpp";
logo32 = fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/32px-ISO_C%2B%2B_Logo.svg.png";
hash = "sha256-cr0TB8/j2mkcFhfCkz9F7ZANOuTlWA2OcWtDcXyOjHw=";
};
logo64 = fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/64px-ISO_C%2B%2B_Logo.svg.png";
hash = "sha256-nZtJ4bR7GmQttvqEJC9KejOxphrjjxT36L9yOIITFLk=";
};
};
"argv": ["$out/bin/xcpp", "-std=c++17", "-f", "{connection_file}"],
"language": "cpp17"
}
EOF
${python3.pkgs.papermill}/bin/papermill ${./test.ipynb} out.ipynb
result="$(cat out.ipynb | ${jq}/bin/jq -r '.cells[0].outputs[0].text[0]')"
if [[ "$result" != "Hello world." ]]; then
echo "Kernel test gave '$result'. Expected: 'Hello world.'"
exit 1
fi
runHook postCheck
'';
passthru = (oldAttrs.passthru or {}) // {
unwrapped = xeus-cling-unwrapped;
};
});
mkKernelSpec = std: {
displayName = builtins.replaceStrings ["c++"] ["C++ "] std;
argv = [
"${xeus-cling}/bin/xcpp"
"-std=${std}"
"-f" "{connection_file}"
];
language = "cpp";
logo32 = fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/32px-ISO_C%2B%2B_Logo.svg.png";
hash = "sha256-+TKtwXybKw4oAHfgOsDxvL4ucItPguF76HJHdFTd3s0=";
};
logo64 = fetchurl {
url = "https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/ISO_C%2B%2B_Logo.svg/64px-ISO_C%2B%2B_Logo.svg.png";
hash = "sha256-7SjOcSaSPUHIKnjBxMdn+KSjviL69IXhX7eJsacYeGE=";
};
};
in
{
cpp11-kernel = mkDefinition "c++11";
cpp14-kernel = mkDefinition "c++14";
cpp17-kernel = mkDefinition "c++17";
cpp2a-kernel = mkDefinition "c++2a";
cpp11-kernel = mkKernelSpec "c++11";
cpp14-kernel = mkKernelSpec "c++14";
cpp17-kernel = mkKernelSpec "c++17";
cpp2a-kernel = mkKernelSpec "c++2a";
inherit xeus-cling;
}
@@ -0,0 +1,24 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "574ed398-7bfe-4a34-a7dd-9fa85535aed2",
"metadata": {},
"outputs": [],
"source": [
"#include <iostream>\n",
"std::cout << \"Hello world.\";"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "C++ 17",
"language": "cpp",
"name": "cpp17"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
@@ -4636,8 +4636,8 @@ let
mktplcRef = {
name = "code-spell-checker";
publisher = "streetsidesoftware";
version = "4.0.16";
hash = "sha256-1GH3liiExURy5e6owSRr5UJ7UXa8KUgglIzfGsSPARg=";
version = "4.0.21";
hash = "sha256-AcZAhmJeAD4nGDhBXieUxldzNZhTPCOg6W44Sc7W4H0=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/streetsidesoftware.code-spell-checker/changelog";
@@ -14,6 +14,6 @@ rec {
meta = with lib; {
homepage = "https://tandoor.dev/";
license = licenses.agpl3Only;
maintainers = with maintainers; [ ambroisie ];
maintainers = with maintainers; [ ];
};
}
@@ -29,7 +29,8 @@ let
paths = [ opencv4 ];
postBuild = ''
for so in ${opencv4}/lib/*.so; do
ln -s "$so" $out/lib/$(basename "$so").407
ln -s "$so" $out/lib/$(basename "$so").407 || true
ln -s "$so" $out/lib/$(basename "$so").410 || true
done
'';
};
@@ -201,7 +202,7 @@ stdenv.mkDerivation rec {
rm $out/opt/citrix-icaclient/lib/UIDialogLibWebKit.so || true
# We support only Gstreamer 1.0
rm $ICAInstDir/util/{gst_aud_{play,read},gst_*0.10,libgstflatstm0.10.so}
rm $ICAInstDir/util/{gst_aud_{play,read},gst_*0.10,libgstflatstm0.10.so} || true
ln -sf $ICAInstDir/util/gst_play1.0 $ICAInstDir/util/gst_play
ln -sf $ICAInstDir/util/gst_read1.0 $ICAInstDir/util/gst_read
@@ -238,7 +239,7 @@ stdenv.mkDerivation rec {
description = "Citrix Workspace";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ] ++ optional (versionOlder version "24") "i686-linux";
maintainers = [ ];
maintainers = with maintainers; [ flacks ];
inherit homepage;
};
}
@@ -57,6 +57,17 @@ let
x86suffix = "";
homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html";
};
"24.08.0" = {
major = "24";
minor = "8";
patch = "0";
x64hash = "1jb22n6gcv4pv8khg98sv663yfpi47dpkvqgifbhps98iw5zrkbp";
x86hash = "";
x64suffix = "98";
x86suffix = "";
homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html";
};
};
# Retain attribute-names for abandoned versions of Citrix workspace to
@@ -1,20 +1,20 @@
{ stdenv, lib, fetchFromGitHub
, qtbase, qttools, qtquickcontrols2, opencascade-occt, libGLU, cmake, wrapQtAppsHook
, qtbase, qttools, qtsvg, qt5compat, opencascade-occt, libGLU, cmake, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "librepcb";
version = "1.1.0";
version = "1.2.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
hash = "sha256-Vyp7asVqvKFkkEb67LXapMkT1AQSburN3+B2dXIPcEU=";
hash = "sha256-/Hw7ZTv2CbDcKuyI27wC46IxCcTnrXDS/Mf7csUTc7w=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake qttools wrapQtAppsHook qtquickcontrols2 opencascade-occt libGLU ];
nativeBuildInputs = [ cmake qttools qtsvg qt5compat wrapQtAppsHook opencascade-occt libGLU ];
buildInputs = [ qtbase ];
meta = with lib; {
@@ -5,7 +5,7 @@
, writeText
, writeShellScriptBin
, pkgs
, pkgsi686Linux
, pkgsHostTarget
}:
{ profile ? ""
@@ -36,6 +36,10 @@
# /lib will link to /lib64
let
# The splicing code does not handle `pkgsi686Linux` well, so we have to be
# explicit about which package set it's coming from.
inherit (pkgsHostTarget) pkgsi686Linux;
name = if (args ? pname && args ? version)
then "${args.pname}-${args.version}"
else args.name;
@@ -212,7 +216,7 @@ let
ln -fsr $d/glib-2.0/schemas/*.xml $out/usr/share/glib-2.0/schemas
ln -fsr $d/glib-2.0/schemas/*.gschema.override $out/usr/share/glib-2.0/schemas
done
${pkgs.glib.dev}/bin/glib-compile-schemas $out/usr/share/glib-2.0/schemas
${pkgs.pkgsBuildBuild.glib.dev}/bin/glib-compile-schemas $out/usr/share/glib-2.0/schemas
fi
${extraBuildCommands}
@@ -4,7 +4,7 @@
, runCommandLocal
, writeShellScript
, glibc
, pkgsi686Linux
, pkgsHostTarget
, runCommandCC
, coreutils
, bubblewrap
@@ -42,6 +42,10 @@ let
inherit (lib.attrsets) removeAttrs;
# The splicing code does not handle `pkgsi686Linux` well, so we have to be
# explicit about which package set it's coming from.
inherit (pkgsHostTarget) pkgsi686Linux;
name = args.name or "${args.pname}-${args.version}";
executableName = args.pname or args.name;
# we don't know which have been supplied, and want to avoid defaulting missing attrs to null. Passed into runCommandLocal
@@ -1,5 +1,7 @@
{ lib
, stdenv
, apple-sdk_11
, darwinMinVersionHook
, glibcLocales
# The GraalVM derivation to use
, graalvmDrv
@@ -30,6 +32,8 @@ let
extraArgs = builtins.removeAttrs args [
"lib"
"stdenv"
"apple-sdk_11"
"darwinMinVersionHook"
"glibcLocales"
"jar"
"dontUnpack"
@@ -48,6 +52,11 @@ stdenv.mkDerivation ({
nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ graalvmDrv glibcLocales removeReferencesTo ];
buildInputs = lib.optionals (stdenv.hostPlatform.isDarwin) [
apple-sdk_11
(darwinMinVersionHook "11.0")
];
nativeImageBuildArgs = nativeImageBuildArgs ++ extraNativeImageBuildArgs ++ [ graalvmXmx ];
buildPhase = args.buildPhase or ''
+4 -2
View File
@@ -12,7 +12,7 @@ let
self = python3;
packageOverrides = _: super: { tree-sitter = super.tree-sitter_0_21; };
};
version = "0.65.0";
version = "0.66.0";
aider-chat = python3.pkgs.buildPythonApplication {
pname = "aider-chat";
inherit version;
@@ -22,7 +22,7 @@ let
owner = "Aider-AI";
repo = "aider";
rev = "refs/tags/v${version}";
hash = "sha256-crQnkTOujflBcAAOY8rjgSEioM/9Vxud3UfgipJ07uA=";
hash = "sha256-6wD8wBDV6Roo3J+oEYiBzZ7i1iGOZhcoiKXHV7AJjDk=";
};
pythonRelaxDeps = true;
@@ -156,10 +156,12 @@ let
makeWrapperArgs = [
"--set AIDER_CHECK_UPDATE false"
"--set AIDER_ANALYTICS false"
];
preCheck = ''
export HOME=$(mktemp -d)
export AIDER_ANALYTICS="false"
'';
optional-dependencies = with python3.pkgs; {
+8 -4
View File
@@ -7,10 +7,10 @@
, wget
, git
, ripgrep
, single-file-cli
, postlight-parser
, readability-extractor
, chromium
, yt-dlp
}:
let
@@ -34,6 +34,7 @@ let
"CVE-2022-28346"
];
};
dependencies = (old.dependencies or [ ]) ++ (lib.optionals (python.pythonAtLeast "3.12") [ python.pkgs.distutils ]);
});
django-extensions = super.django-extensions.overridePythonAttrs (old: rec {
version = "3.1.5";
@@ -44,6 +45,8 @@ let
rev = "e43f383dae3a35237e42f6acfe1207a8e7e7bdf5";
hash = "sha256-NAMa78KhAuoJfp0Cb0Codz84sRfRQ1JhSLNYRI4GBPM=";
};
patches = [ ];
postPatch = null;
# possibly a real issue, but that version is not supported anymore
doCheck = false;
@@ -62,11 +65,11 @@ python.pkgs.buildPythonApplication rec {
hash = "sha256-hdBUEX2tOWN2b11w6aG3x7MP7KQTj4Rwc2w8XvABGf4=";
};
nativeBuildInputs = with python.pkgs; [
build-system = with python.pkgs; [
pdm-backend
];
propagatedBuildInputs = with python.pkgs; [
dependencies = with python.pkgs; [
croniter
dateparser
django
@@ -87,7 +90,8 @@ python.pkgs.buildPythonApplication rec {
"--set RIPGREP_BINARY ${lib.meta.getExe ripgrep}"
"--set WGET_BINARY ${lib.meta.getExe wget}"
"--set GIT_BINARY ${lib.meta.getExe git}"
"--set YOUTUBEDL_BINARY ${lib.meta.getExe yt-dlp}"
"--set YOUTUBEDL_BINARY ${lib.meta.getExe python.pkgs.yt-dlp}"
"--set SINGLEFILE_BINARY ${lib.meta.getExe single-file-cli}"
] ++ (if (lib.meta.availableOn stdenv.hostPlatform chromium) then [
"--set CHROME_BINARY ${chromium}/bin/chromium-browser"
] else [
+2 -2
View File
@@ -17,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "bitwuzla";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitHub {
owner = "bitwuzla";
repo = "bitwuzla";
rev = finalAttrs.version;
hash = "sha256-xO9+hixboGaCAIi01sWuIYtPamIwUpiTujmOD60NEm0=";
hash = "sha256-auW+YeUCpl7SzVAMTyHxrWh6ShwElq6wTEP7Qf2M7jk=";
};
strictDeps = true;
+9 -7
View File
@@ -42,6 +42,8 @@ let
sparseCheckout = ["clang"];
};
llvm = llvmPackages_13.llvm.override { enableSharedLibraries = false; };
unwrapped = stdenv.mkDerivation rec {
pname = "cling-unwrapped";
version = "1.0";
@@ -72,12 +74,12 @@ let
strictDeps = true;
cmakeFlags = [
"-DLLVM_BINARY_DIR=${llvmPackages_13.llvm.out}"
"-DLLVM_CONFIG=${llvmPackages_13.llvm.dev}/bin/llvm-config"
"-DLLVM_LIBRARY_DIR=${llvmPackages_13.llvm.lib}/lib"
"-DLLVM_MAIN_INCLUDE_DIR=${llvmPackages_13.llvm.dev}/include"
"-DLLVM_TABLEGEN_EXE=${llvmPackages_13.llvm.out}/bin/llvm-tblgen"
"-DLLVM_TOOLS_BINARY_DIR=${llvmPackages_13.llvm.out}/bin"
"-DLLVM_BINARY_DIR=${llvm.out}"
"-DLLVM_CONFIG=${llvm.dev}/bin/llvm-config"
"-DLLVM_LIBRARY_DIR=${llvm.lib}/lib"
"-DLLVM_MAIN_INCLUDE_DIR=${llvm.dev}/include"
"-DLLVM_TABLEGEN_EXE=${llvm.out}/bin/llvm-tblgen"
"-DLLVM_TOOLS_BINARY_DIR=${llvm.out}/bin"
"-DLLVM_BUILD_TOOLS=Off"
"-DLLVM_TOOL_CLING_BUILD=ON"
@@ -139,7 +141,7 @@ let
"-nostdinc"
"-nostdinc++"
"-resource-dir" "${llvmPackages_13.llvm.lib}/lib"
"-resource-dir" "${llvm.lib}/lib"
"-isystem" "${lib.getLib unwrapped}/lib/clang/${llvmPackages_13.clang.version}/include"
]
+3 -3
View File
@@ -7,17 +7,17 @@
rustPlatform.buildRustPackage rec {
pname = "comet-gog";
version = "0.1.2";
version = "0.2.0";
src = fetchFromGitHub {
owner = "imLinguin";
repo = "comet";
rev = "refs/tags/v${version}";
hash = "sha256-TdIqdNn5HnIED7LMn4qAzKPHlA5t/Q1Dn+W+ulx5qOU=";
hash = "sha256-LAEt2i/SRABrz+y2CTMudrugifLgHNxkMSdC8PXYF0E=";
fetchSubmodules = true;
};
cargoHash = "sha256-gAGCpcVjOkUZa/CobOjOt07WMHpvE5/q1bw+z4yBeNE=";
cargoHash = "sha256-eXPVImew1EOT1DcoeIVPhqQ2buqHnlpqT6A0eaqG7tI=";
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''
+3 -3
View File
@@ -11,16 +11,16 @@
buildGoModule rec {
pname = "coroot";
version = "1.5.11";
version = "1.6.3";
src = fetchFromGitHub {
owner = "coroot";
repo = "coroot";
rev = "v${version}";
hash = "sha256-lHzTKmD3HCwosvs1x6XxmRdiW/ENNGQiR0hzWzdU8EM=";
hash = "sha256-i5tML5cQPtZ5dKWJQENRSLQM5m9b5vd1h+OtRYbv9qo=";
};
vendorHash = "sha256-YqZHhoaAgubI2+O2CTULXeQocLaz9WGpWRhETIzU7MU=";
vendorHash = "sha256-wyxNT8g5TUCjlxauL7NmCf4HZ91V2nD64L1L/rYH864=";
npmDeps = fetchNpmDeps {
src = "${src}/front";
hash = "sha256-inZV+iv837+7ntBae/oLSNLxpzoqEcJNPNdBE+osJHQ=";
+8
View File
@@ -61,6 +61,9 @@ if stdenv.hostPlatform.isDarwin then
'';
}
else
let
appimageContents = appimageTools.extract { inherit pname src version; };
in
appimageTools.wrapType2 {
inherit
pname
@@ -68,4 +71,9 @@ else
src
meta
;
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
substituteInPlace $out/share/applications/${pname}.desktop --replace-warn "Exec=AppRun --no-sandbox" "Exec=$out/bin/${pname}"
cp -r ${appimageContents}/usr/share/icons $out/share
'';
}
+65
View File
@@ -0,0 +1,65 @@
{
lib,
stdenv,
fetchurl,
# nativeBuildInputs
zstd,
pkg-config,
jq,
cargo,
rustc,
rustPlatform,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "decasify";
version = "0.8.0";
src = fetchurl {
url = "https://github.com/alerque/decasify/releases/download/v${finalAttrs.version}/decasify-${finalAttrs.version}.tar.zst";
hash = "sha256-HTUAb/yL3H4B/n/Ecd/fDpnTYiqwco/E07sa6pFIIU4=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) pname version src;
nativeBuildInputs = [ zstd ];
# so the cargo fetcher won't try to run the `./configure` script
dontConfigure = true;
hash = "sha256-bD8MYufI87j//7dIAnCzmp4yoOaT81Zv1i7rjWpjPlc=";
};
nativeBuildInputs = [
zstd
pkg-config
jq
cargo
rustc
rustPlatform.cargoSetupHook
];
outputs = [
"out"
"doc"
"man"
"dev"
];
enableParallelBuilding = true;
meta = {
description = "Utility to change the case of prose strings following natural language style guides";
longDescription = ''
A CLI utility to cast strings to title-case (and other cases) according
to locale specific style guides including Turkish support.
'';
homepage = "https://github.com/alerque/decasify";
changelog = "https://github.com/alerque/decasify/raw/v${finalAttrs.version}/CHANGELOG.md";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
alerque
];
license = lib.licenses.lgpl3Only;
mainProgram = "decasify";
};
})
+3 -3
View File
@@ -5,20 +5,20 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "diswall";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitHub {
owner = "dis-works";
repo = "diswall-rs";
rev = "v${version}";
sha256 = "sha256-jrifO6LRxVhgPoUOAm+7RT+LIhjsw/mEDFBZSJYMv/w=";
sha256 = "sha256-t2ZBi3ab6OUWzc0L0Hq/ay+s3KNDMeu6mkYxti48BuE=";
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Security
];
cargoHash = "sha256-1HxuVZ4J/Ds1aOIIcNa/XGi7PhKgB+iAESMa1muTL48=";
cargoHash = "sha256-aHX3hr5T7kOyQ3S97rE3JOgNQgbtMSiZWdLxfiRSGt8=";
doCheck = false;
+2 -2
View File
@@ -10,13 +10,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dpp";
version = "10.0.32";
version = "10.0.35";
src = fetchFromGitHub {
owner = "brainboxdotcc";
repo = "DPP";
rev = "v${finalAttrs.version}";
hash = "sha256-pr7u4x4xdyydEQcNROjfkoV/ODqixugcTuCWMGeixC8=";
hash = "sha256-gdHcYBIQzVfQsUyC2hxeMkmm5lMDjaY7isBidSxhc80=";
};
nativeBuildInputs = [
+1 -1
View File
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
homepage = "https://dump.sourceforge.io/";
description = "Linux Ext2 filesystem dump/restore utilities";
license = licenses.bsd3;
maintainers = with maintainers; [ falsifian ];
maintainers = with maintainers; [ ];
};
}
@@ -31,20 +31,20 @@
stdenv.mkDerivation (finalAttrs: {
pname = "envision-unwrapped";
version = "0-unstable-2024-10-20";
version = "1.1.1";
src = fetchFromGitLab {
owner = "gabmus";
repo = "envision";
rev = "c40a4ad05a8e6ea99eed4a7d7d2098a08686e065";
hash = "sha256-C/m5Hx52fFyuVI87EmHpe5YqjwDWoyveiXA0sJTt2NQ=";
rev = finalAttrs.version;
hash = "sha256-Q6PGBt3vWAp5QhSFsG88gi9ZFHLOQLAYdKpS94wCwCc=";
};
strictDeps = true;
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) pname version src;
hash = "sha256-I9UDCKrqU6TWcmHsSFwt1elplPwU+XTgyXiN2wtw5y0=";
hash = "sha256-JRSTzcurHNUtyISAvhvdLJkokxLnoR+xs42YiRVmZnE=";
};
nativeBuildInputs = [
@@ -81,7 +81,7 @@ stdenv.mkDerivation (finalAttrs: {
--prefix PATH : "${lib.makeBinPath [ gdb ]}"
'';
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch=main" ]; };
passthru.updateScript = nix-update-script { };
meta = {
description = "UI for building, configuring and running Monado, the open source OpenXR runtime";
+35 -16
View File
@@ -1,24 +1,33 @@
{ lib
, buildGoModule
, fetchFromGitea
, testers
, forgejo-runner
, nixosTests
{
stdenv,
lib,
buildGoModule,
fetchFromGitea,
nixosTests,
versionCheckHook,
nix-update-script,
}:
let
# tests which assume network access in some form
disabledTests = [
"Test_runCreateRunnerFile"
"Test_ping"
];
in
buildGoModule rec {
pname = "forgejo-runner";
version = "4.0.1";
version = "5.0.3";
src = fetchFromGitea {
domain = "code.forgejo.org";
owner = "forgejo";
repo = "runner";
rev = "v${version}";
hash = "sha256-hG8gCohf+U8T9A9Abqey9upErJklbCp8HuzHQKFcu3E=";
hash = "sha256-c1s2n4s2LY4KvQrPZJpAnXzJCTe6Fbc0cf1plwHZPiA=";
};
vendorHash = "sha256-yRXI9/LVj4f7qFdScqfpL5WCsK+lJXa6yQmdbUhfrKY=";
vendorHash = "sha256-DQcVknodbVlHygJkrGSfVGPKXR9kLGeyivNjYmjtFNs=";
ldflags = [
"-s"
@@ -26,13 +35,19 @@ buildGoModule rec {
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${src.rev}"
];
doCheck = false; # Test try to lookup code.forgejo.org.
checkFlags = [
"-skip ${lib.concatStringsSep "|" disabledTests}"
];
passthru.tests = {
inherit (nixosTests.forgejo) sqlite3;
version = testers.testVersion {
package = forgejo-runner;
version = src.rev;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
passthru = {
updateScript = nix-update-script { };
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
sqlite3 = nixosTests.forgejo.sqlite3;
};
};
@@ -41,7 +56,11 @@ buildGoModule rec {
homepage = "https://code.forgejo.org/forgejo/runner";
changelog = "https://code.forgejo.org/forgejo/runner/src/tag/${src.rev}/RELEASE-NOTES.md";
license = licenses.mit;
maintainers = with maintainers; [ kranzes emilylange ];
maintainers = with maintainers; [
kranzes
emilylange
christoph-heiss
];
mainProgram = "act_runner";
};
}
+4 -5
View File
@@ -13,7 +13,6 @@
# buildInputs
libgit2,
typos,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -22,14 +21,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://github.com/alerque/git-warp-time/releases/download/v${finalAttrs.version}/git-warp-time-${finalAttrs.version}.tar.zst";
sha256 = "sha256-Xh30nA77cJ7+UfKlIslnyD+93AtnQ+8P3sCFsG0DAUk=";
hash = "sha256-Xh30nA77cJ7+UfKlIslnyD+93AtnQ+8P3sCFsG0DAUk=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
inherit (finalAttrs) pname version src;
nativeBuildInputs = [ zstd ];
# so the cargo fetcher won't try to run the `./configure` script
dontConfigure = true;
hash = "sha256-ozy8Mfl5fTJL2Sr22tCSnK30SOKaC9cL+g4lX6ivi9Q=";
hash = "sha256-bmClqtH1xU2KOKVbCOrgN14jpLKiA2ZMzWwrOiufwnQ=";
};
nativeBuildInputs = [
@@ -43,7 +43,6 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
libgit2
typos
];
env = {
+3 -3
View File
@@ -7,7 +7,7 @@
}:
let
pname = "gitopper";
version = "0.0.16";
version = "0.0.20";
in
buildGoModule {
inherit pname version;
@@ -16,12 +16,12 @@ buildGoModule {
owner = "miekg";
repo = "gitopper";
rev = "v${version}";
hash = "sha256-EAOC54VtGx6axfty5m8JOebcayINTy4cP4NBo5+ioLk=";
hash = "sha256-y0gzoXSIQDQ6TMVsAijPaN0sRqFEtTKyd297YxXAukM=";
};
ldflags = [ "-X main.Version=${version}" ];
vendorHash = "sha256-sxeN7nbNTGfD8ZgNQiEQdYl11rhOvPP8UrnYXs9Ljhc=";
vendorHash = "sha256-b9lLOGk0h0kaWuZb142V8ojfpstRhzC9q2kSu0q7r7I=";
nativeCheckInputs = [
makeWrapper
+2 -2
View File
@@ -7,10 +7,10 @@
}:
stdenv.mkDerivation rec {
pname = "halo";
version = "2.20.5";
version = "2.20.10";
src = fetchurl {
url = "https://github.com/halo-dev/halo/releases/download/v${version}/halo-${version}.jar";
hash = "sha256-VGSSGc2caNO7+IK1ArqjZGz+LaHWZsaO68Jr06BCcfE=";
hash = "sha256-xvUZUT0CpGDKbeS6xx1qARabx0XtB67E8dc8UsnUbK4=";
};
nativeBuildInputs = [
+3 -3
View File
@@ -9,17 +9,17 @@
}:
rustPlatform.buildRustPackage rec {
pname = "kclvm_cli";
version = "0.10.3";
version = "0.10.8";
src = fetchFromGitHub {
owner = "kcl-lang";
repo = "kcl";
rev = "v${version}";
hash = "sha256-qIaDc10NxQKBH7WRzzkQ6bQfkSqsDrFxSwSX+Hf7qS8=";
hash = "sha256-ls/Qe/nw3UIfZTjt7r7tzUwxlb5y4jBK2FQlOsMCttM=";
};
sourceRoot = "${src.name}/cli";
cargoHash = "sha256-mB4qOUj9qZmbstvBIyaWHEzX3DQ7tLhQKDEvea4Bnyk=";
cargoHash = "sha256-elIo986ag7x+q17HwkcoqFnD9+1+Jq66XIHYZNaBB/w=";
cargoPatches = [ ./cargo_lock.patch ];
buildInputs = [ kclvm rustc ] ++ (
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "klog-time-tracker";
version = "6.4";
version = "6.5";
src = fetchFromGitHub {
owner = "jotaen";
repo = "klog";
rev = "v${version}";
hash = "sha256-ouWgmSSqGdbZRZRgCoxG4c4fFoJ4Djfmv0JvhBkEQU4=";
hash = "sha256-xwVbI4rXtcZrnTvp0vdHMbYRoWCsxIuGZF922eC/sfw=";
};
vendorHash = "sha256-L84eKm1wktClye01JeyF0LOV9A8ip6Fr+/h09VVZ56k=";
vendorHash = "sha256-QOS+D/zD5IlJBlb7vrOoHpP/7xS9En1/MFNwLSBrXOg=";
meta = with lib; {
description = "Command line tool for time tracking in a human-readable, plain-text file format";
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "controller-tools";
version = "0.16.4";
version = "0.16.5";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+YDYpTfWWPkAXcCNfkk0PTWqOAGwqiABbop/t6is2nM=";
sha256 = "sha256-6It4C8TWA8V0YwUHoSoJK8IbjZ8yfBzR5iX9lzenIY0=";
};
vendorHash = "sha256-zWvFwYHqECga1E2lWVA+wqY744OLXzRxK6JkniTZN70=";
vendorHash = "sha256-wS1+cUXZzfDz5BRHcqV8T050z54VrJB4FcWqRzwsYrc=";
ldflags = [
"-s"
@@ -8,7 +8,7 @@
darwin,
}:
let
version = "0.18.0";
version = "0.19.0";
in
rustPlatform.buildRustPackage {
pname = "markuplinkchecker";
@@ -18,10 +18,10 @@ rustPlatform.buildRustPackage {
owner = "becheran";
repo = "mlc";
rev = "v${version}";
hash = "sha256-hMS0ZX4Ta1xq5e8R7mvmOQCEW3UCk1nd2TGzWOyOGY8=";
hash = "sha256-Nh+P5+dvl2gBQuvo0iKjsJgz/2OYQqAWSIJBzE7yO6I=";
};
cargoHash = "sha256-adJZcuUynxYpj2h6YKozb6W/2WjNsWq9IwxJaIVl0YI=";
cargoHash = "sha256-1WB8J3AMK4DVHrrrdwV7nFmNJfiIndC2k2VQXzKxEy8=";
nativeBuildInputs = [ pkg-config ];
+2 -2
View File
@@ -9,13 +9,13 @@
stdenvNoCC.mkDerivation rec {
pname = "mint-y-icons";
version = "1.7.8";
version = "1.7.9";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-30Mv6ixNgXK2CbLoX7Dw9i57QCkG8U3RA48WB4e3e8o=";
hash = "sha256-LmFsU6rqkxfZPdvonFgWhoeCfKI+gCSotZ7o2KcGLIs=";
};
propagatedBuildInputs = [
File diff suppressed because it is too large Load Diff
+49 -36
View File
@@ -1,62 +1,75 @@
{ lib
, stdenv
, rustPlatform
, buildNpmPackage
, fetchFromGitHub
, pkg-config
, ncurses
, sqlite
, testers
, moonfire-nvr
, darwin
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
pkg-config,
ncurses,
sqlite,
testers,
moonfire-nvr,
darwin,
nodejs,
pnpm,
}:
let
pname = "moonfire-nvr";
version = "0.7.7";
version = "0.7.17";
src = fetchFromGitHub {
owner = "scottlamb";
repo = "moonfire-nvr";
rev = "v${version}";
hash = "sha256-+7VahlS+NgaO2knP+xqdlZnNEfjz8yyF/VmjWf77KXI=";
rev = "refs/tags/v${version}";
hash = "sha256-kh+SPM08pnVFxKSZ6Gb2LP7Wa8j0VopknZK2urMIFNk=";
};
ui = buildNpmPackage {
ui = stdenv.mkDerivation (finalAttrs: {
inherit version src;
pname = "${pname}-ui";
sourceRoot = "${src.name}/ui";
npmDepsHash = "sha256-IpZWgMo6Y3vRn9h495ifMB3tQxobLeTLC0xXS1vrKLA=";
nativeBuildInputs = [
nodejs
pnpm.configHook
];
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
sourceRoot = "${finalAttrs.src.name}/ui";
hash = "sha256-7fMhUFlV5lz+A9VG8IdWoc49C2CTdLYQlEgBSBqJvtw=";
};
installPhase = ''
runHook preInstall
cp -r build $out
cp -r public $out
runHook postInstall
'';
};
in rustPlatform.buildRustPackage {
});
in
rustPlatform.buildRustPackage {
inherit pname version src;
sourceRoot = "${src.name}/server";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"coded-0.2.0-pre" = "sha256-ICDvLFCsiPCzAzf3nrRhH/McNPVQz1+uVOmj6Uc5teg=";
"hashlink-0.8.1" = "sha256-h7DEapTVy0SSTaOV9rCkdH3em4A9+PS0k1QQh1+0P4c=";
"mp4-0.9.2" = "sha256-mJZJDzD8Ep9c+4QusyBtRoqAArHK9SLdFxG1AR7JydE=";
};
};
useFetchCargoVendor = true;
cargoHash = "sha256-fSzwA4R6Z/Awt52ZYhUvy2jhzrZiLU6IXTN8jvjmbTI=";
env.VERSION = "v${version}";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
ncurses
sqlite
] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
Security
]);
buildInputs =
[
ncurses
sqlite
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
Security
]
);
postInstall = ''
mkdir -p $out/lib/ui
@@ -74,12 +87,12 @@ in rustPlatform.buildRustPackage {
};
};
meta = with lib; {
meta = {
description = "Moonfire NVR, a security camera network video recorder";
homepage = "https://github.com/scottlamb/moonfire-nvr";
changelog = "https://github.com/scottlamb/moonfire-nvr/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ gaelreyrol ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ gaelreyrol ];
mainProgram = "moonfire-nvr";
};
}
+2 -2
View File
@@ -11,11 +11,11 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "opensearch";
version = "2.17.1";
version = "2.18.0";
src = fetchurl {
url = "https://artifacts.opensearch.org/releases/bundle/opensearch/${finalAttrs.version}/opensearch-${finalAttrs.version}-linux-x64.tar.gz";
hash = "sha256-9m7Vt+x4SPOBAqVL88gufSmqhvAiCcnOi7bL43XzCiU=";
hash = "sha256-rjy0EHsuDNu5uYu05fLwGbc2to6ZVELHGORZ05/wHfE=";
};
nativeBuildInputs = [
@@ -0,0 +1,31 @@
diff -burN InsightToolkit-4.10.0.orig/CMake/FindFFTW.cmake InsightToolkit-4.10.0/CMake/FindFFTW.cmake
--- InsightToolkit-4.10.0.orig/CMake/FindFFTW.cmake 2016-06-16 14:21:15.226203872 +0200
+++ InsightToolkit-4.10.0/CMake/FindFFTW.cmake 2016-06-16 14:23:48.966202670 +0200
@@ -35,14 +35,12 @@
set(FFTW_LIB_SEARCHPATH
${FFTW_INSTALL_BASE_PATH}/lib
${FFTW_INSTALL_BASE_PATH}/lib64
- /usr/lib/fftw
- /usr/local/lib/fftw
)
if(ITK_USE_FFTWD)
mark_as_advanced(FFTWD_LIB)
- find_library(FFTWD_LIB fftw3 ${FFTW_LIB_SEARCHPATH}) #Double Precision Lib
- find_library(FFTWD_THREADS_LIB fftw3_threads ${FFTW_LIB_SEARCHPATH}) #Double Precision Lib only if compiled with threads support
+ find_library(FFTWD_LIB fftw3 ${FFTW_LIB_SEARCHPATH} NO_DEFAULT_PATH) #Double Precision Lib
+ find_library(FFTWD_THREADS_LIB fftw3_threads ${FFTW_LIB_SEARCHPATH} NO_DEFAULT_PATH) #Double Precision Lib only if compiled with threads support
if(FFTWD_LIB)
set(FFTWD_FOUND 1)
@@ -55,8 +53,8 @@
if(ITK_USE_FFTWF)
mark_as_advanced(FFTWF_LIB)
- find_library(FFTWF_LIB fftw3f ${FFTW_LIB_SEARCHPATH}) #Single Precision Lib
- find_library(FFTWF_THREADS_LIB fftw3f_threads ${FFTW_LIB_SEARCHPATH}) #Single Precision Lib only if compiled with threads support
+ find_library(FFTWF_LIB fftw3f ${FFTW_LIB_SEARCHPATH} NO_DEFAULT_PATH) #Single Precision Lib
+ find_library(FFTWF_THREADS_LIB fftw3f_threads ${FFTW_LIB_SEARCHPATH} NO_DEFAULT_PATH) #Single Precision Lib only if compiled with threads support
if(FFTWF_LIB)
set(FFTWF_FOUND 1)
@@ -0,0 +1,35 @@
diff -burN InsightToolkit-4.12.0.orig/Modules/ThirdParty/VNL/src/CMakeLists.txt InsightToolkit-4.12.0/Modules/ThirdParty/VNL/src/CMakeLists.txt
--- InsightToolkit-4.12.0.orig/Modules/ThirdParty/VNL/src/CMakeLists.txt 2017-08-22 11:53:55.960938649 +0200
+++ InsightToolkit-4.12.0/Modules/ThirdParty/VNL/src/CMakeLists.txt 2017-08-22 11:56:07.289820954 +0200
@@ -18,10 +18,14 @@
# Retrive the variable type to CACHE.
set(BUILD_EXAMPLES ${BUILD_EXAMPLES} CACHE BOOL "Build the examples from the ITK Software Guide." FORCE)
-foreach(lib itkvcl itkv3p_netlib itktestlib itkvnl itkvnl_algo itknetlib)
+foreach(lib itkvcl itkv3p_netlib itkvnl itkvnl_algo itknetlib)
itk_module_target(${lib} NO_INSTALL)
endforeach()
+if(BUILD_TESTING)
+ itk_module_target(itktestlib NO_INSTALL)
+endif()
+
foreach(exe
netlib_integral_test
netlib_lbfgs_example
diff -burN InsightToolkit-4.12.0.orig/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt InsightToolkit-4.12.0/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt
--- InsightToolkit-4.12.0.orig/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt 2017-08-22 11:53:55.960938649 +0200
+++ InsightToolkit-4.12.0/Modules/ThirdParty/VNL/src/vxl/core/CMakeLists.txt 2017-08-22 11:56:56.410150930 +0200
@@ -131,8 +131,10 @@
set(CORE_VIDEO_FOUND OFF CACHE INTERNAL "VXL core video libraries built")
endif ()
-# common test executable
-add_subdirectory(testlib)
+# common test executable if testing enabled
+if(BUILD_TESTING)
+ add_subdirectory(testlib)
+endif()
# Tests that check and output the vxl configuration
# NOTE: some external projects remove the tests directory (aka ITK)
@@ -0,0 +1,104 @@
--- a/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
+++ b/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
@@ -43,85 +43,7 @@
#endif
#if defined(__GNUC__) && !defined(__ICC) // icc 8.0 defines __GNUC__
-# define VCL_GCC
-# if (__GNUC__ < 4)
-# error "forget it."
-# elif (__GNUC__==4)
-# define VCL_GCC_4
-# if (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_41
-# else
-# define VCL_GCC_40
-# endif
-# elif (__GNUC__==5)
-# define VCL_GCC_5
-# if (__GNUC_MINOR__ > 2 )
-# define VCL_GCC_53
-# elif (__GNUC_MINOR__ > 1 )
-# define VCL_GCC_52
-# elif (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_51
-# else
-# define VCL_GCC_50
-# endif
-# elif (__GNUC__==6)
-# define VCL_GCC_6
-# if (__GNUC_MINOR__ > 2 )
-# define VCL_GCC_63
-# elif (__GNUC_MINOR__ > 1 )
-# define VCL_GCC_62
-# elif (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_61
-# else
-# define VCL_GCC_60
-# endif
-# elif (__GNUC__==7)
-# define VCL_GCC_7
-# if (__GNUC_MINOR__ > 2 )
-# define VCL_GCC_73
-# elif (__GNUC_MINOR__ > 1 )
-# define VCL_GCC_72
-# elif (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_71
-# else
-# define VCL_GCC_70
-# endif
-# elif (__GNUC__==8)
-# define VCL_GCC_8
-# if (__GNUC_MINOR__ > 2 )
-# define VCL_GCC_83
-# elif (__GNUC_MINOR__ > 1 )
-# define VCL_GCC_82
-# elif (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_81
-# else
-# define VCL_GCC_80
-# endif
-# elif (__GNUC__==9)
-# define VCL_GCC_9
-# if (__GNUC_MINOR__ > 2 )
-# define VCL_GCC_93
-# elif (__GNUC_MINOR__ > 1 )
-# define VCL_GCC_92
-# elif (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_91
-# else
-# define VCL_GCC_90
-# endif
-# elif (__GNUC__==10)
-# define VCL_GCC_10
-# if (__GNUC_MINOR__ > 2 )
-# define VCL_GCC_103
-# elif (__GNUC_MINOR__ > 1 )
-# define VCL_GCC_102
-# elif (__GNUC_MINOR__ > 0 )
-# define VCL_GCC_101
-# else
-# define VCL_GCC_100
-# endif
-# else
-# error "Dunno about this gcc"
-# endif
+# define VCL_GCC_73
#endif
#if defined(_WIN32) || defined(WIN32)
--- a/Modules/ThirdParty/VNL/src/vxl/vcl/tests/test_preprocessor.cxx
+++ b/Modules/ThirdParty/VNL/src/vxl/vcl/tests/test_preprocessor.cxx
@@ -64,6 +64,12 @@
++minor_count;
#endif
+#ifdef VCL_GCC_73
+ ++compiler_count;
+ ++major_count;
+ ++minor_count;
+#endif
+
#ifdef VCL_VC
++compiler_count;
#endif
+147
View File
@@ -0,0 +1,147 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
expat,
fftw,
fftwFloat,
hdf5-cpp,
libjpeg,
libtiff,
libpng,
libuuid,
xz,
vtk,
zlib,
}:
# this ITK version is old and is only required for OTB package
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/SuperBuild/CMake/External_itk.cmake?ref_type=heads#L149
stdenv.mkDerivation (finalAttrs: {
pname = "itk";
version = "4.13.3";
src = fetchFromGitHub {
owner = "InsightSoftwareConsortium";
repo = "ITK";
rev = "v${finalAttrs.version}";
hash = "sha256-lcoJ+H+nVlvleBqbmupu+yg+4iZQ4mTs9pt1mQac+xg=";
};
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/tree/develop/SuperBuild/patches/ITK?ref_type=heads
patches = [
./itk-1-fftw-all.diff
./itk-2-itktestlib-all.diff
./itk-3-remove-gcc-version-debian-medteam-all.diff
];
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/SuperBuild/CMake/External_itk.cmake?ref_type=heads
cmakeFlags = [
"-DBUILD_TESTING=OFF"
"-DBUILD_EXAMPLES=OFF"
"-DBUILD_SHARED_LIBS=ON"
"-DITK_BUILD_DEFAULT_MODULES=OFF"
"-DITKGroup_Core=OFF"
"-DITK_FORBID_DOWNLOADS=ON"
"-DITK_USE_SYSTEM_LIBRARIES=ON" # finds common libraries e.g. hdf5, libpng, libtiff, libjpeg, zlib etc
"-DModule_ITKCommon=ON"
"-DModule_ITKFiniteDifference=ON"
"-DModule_ITKGPUCommon=ON"
"-DModule_ITKGPUFiniteDifference=ON"
"-DModule_ITKImageAdaptors=ON"
"-DModule_ITKImageFunction=ON"
"-DModule_ITKMesh=ON"
"-DModule_ITKQuadEdgeMesh=ON"
"-DModule_ITKSpatialObjects=ON"
"-DModule_ITKTransform=ON"
"-DModule_ITKTransformFactory=ON"
"-DModule_ITKIOTransformBase=ON"
"-DModule_ITKIOTransformInsightLegacy=ON"
"-DModule_ITKIOTransformMatlab=ON"
"-DModule_ITKAnisotropicSmoothing=ON"
"-DModule_ITKAntiAlias=ON"
"-DModule_ITKBiasCorrection=ON"
"-DModule_ITKBinaryMathematicalMorphology=ON"
"-DModule_ITKColormap=ON"
"-DModule_ITKConvolution=ON"
"-DModule_ITKCurvatureFlow=ON"
"-DModule_ITKDeconvolution=ON"
"-DModule_ITKDenoising=ON"
"-DModule_ITKDisplacementField=ON"
"-DModule_ITKDistanceMap=ON"
"-DModule_ITKFastMarching=ON"
"-DModule_ITKFFT=ON"
"-DModule_ITKGPUAnisotropicSmoothing=ON"
"-DModule_ITKGPUImageFilterBase=ON"
"-DModule_ITKGPUSmoothing=ON"
"-DModule_ITKGPUThresholding=ON"
"-DModule_ITKImageCompare=ON"
"-DModule_ITKImageCompose=ON"
"-DModule_ITKImageFeature=ON"
"-DModule_ITKImageFilterBase=ON"
"-DModule_ITKImageFusion=ON"
"-DModule_ITKImageGradient=ON"
"-DModule_ITKImageGrid=ON"
"-DModule_ITKImageIntensity=ON"
"-DModule_ITKImageLabel=ON"
"-DModule_ITKImageSources=ON"
"-DModule_ITKImageStatistics=ON"
"-DModule_ITKLabelMap=ON"
"-DModule_ITKMathematicalMorphology=ON"
"-DModule_ITKPath=ON"
"-DModule_ITKQuadEdgeMeshFiltering=ON"
"-DModule_ITKSmoothing=ON"
"-DModule_ITKSpatialFunction=ON"
"-DModule_ITKThresholding=ON"
"-DModule_ITKEigen=ON"
"-DModule_ITKNarrowBand=ON"
"-DModule_ITKNeuralNetworks=ON"
"-DModule_ITKOptimizers=ON"
"-DModule_ITKOptimizersv4=ON"
"-DModule_ITKPolynomials=ON"
"-DModule_ITKStatistics=ON"
"-DModule_ITKRegistrationCommon=ON"
"-DModule_ITKGPURegistrationCommon=ON"
"-DModule_ITKGPUPDEDeformableRegistration=ON"
"-DModule_ITKMetricsv4=ON"
"-DModule_ITKPDEDeformableRegistration=ON"
"-DModule_ITKRegistrationMethodsv4=ON"
"-DModule_ITKClassifiers=ON"
"-DModule_ITKConnectedComponents=ON"
"-DModule_ITKDeformableMesh=ON"
"-DModule_ITKKLMRegionGrowing=ON"
"-DModule_ITKLabelVoting=ON"
"-DModule_ITKLevelSets=ON"
"-DModule_ITKLevelSetsv4=ON"
"-DModule_ITKMarkovRandomFieldsClassifiers=ON"
"-DModule_ITKRegionGrowing=ON"
"-DModule_ITKSignedDistanceFunction=ON"
"-DModule_ITKVoronoi=ON"
"-DModule_ITKWatersheds=ON"
];
nativeBuildInputs = [
cmake
xz
];
buildInputs = [ libuuid ];
propagatedBuildInputs = [
# similar to 5.2.x, we progagate these inputs for OTB
expat
fftw
fftwFloat
hdf5-cpp
libjpeg
libpng
libtiff
zlib
];
meta = {
description = "Insight Segmentation and Registration Toolkit";
homepage = "https://www.itk.org";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ daspk04 ];
platforms = with lib.platforms; linux;
};
})
+108
View File
@@ -0,0 +1,108 @@
{
cmake,
callPackage,
fetchFromGitHub,
makeWrapper,
lib,
stdenv,
swig,
which,
boost,
curl,
gdal,
libsvm,
libgeotiff,
muparser,
muparserx,
opencv,
perl,
python3,
shark,
tinyxml,
enableFeatureExtraction ? true,
enableHyperspectral ? true,
enableLearning ? true,
enableMiscellaneous ? true,
enableOpenMP ? false,
enablePython ? true,
extraPythonPackages ? ps: with ps; [ ],
enableRemote ? true,
enableSAR ? true,
enableSegmentation ? true,
enableStereoProcessing ? true,
}:
let
inherit (lib) optionalString optionals optional;
pythonInputs =
optionals enablePython (with python3.pkgs; [ numpy ]) ++ (extraPythonPackages python3.pkgs);
otb-itk = callPackage ./itk_4_13/package.nix { };
otb-shark = shark.override { enableOpenMP = enableOpenMP; };
in
stdenv.mkDerivation (finalAttrs: {
pname = "otb";
version = "9.0.0";
src = fetchFromGitHub {
owner = "orfeotoolbox";
repo = "otb";
rev = finalAttrs.version;
hash = "sha256-Ut2aimQL6Reg62iceoaM7/nRuEV8PBWtOK7KFHKp0ws=";
};
nativeBuildInputs = [
cmake
makeWrapper
swig
which
];
# https://www.orfeo-toolbox.org/CookBook/CompilingOTBFromSource.html#native-build-with-system-dependencies
# activates all modules and python by default
cmakeFlags =
optional enableFeatureExtraction "-DOTB_BUILD_FeaturesExtraction=ON"
++ optional enableHyperspectral "-DOTB_BUILD_Hyperspectral=ON"
++ optional enableLearning "-DOTB_BUILD_Learning=ON"
++ optional enableMiscellaneous "-DOTB_BUILD_Miscellaneous=ON"
++ optional enableOpenMP "-DOTB_USE_OPENMP=ON"
++ optional enableRemote "-DOTB_BUILD_RemoteModules=ON"
++ optional enableSAR "-DOTB_BUILD_SAR=ON"
++ optional enableSegmentation "-DOTB_BUILD_Segmentation=ON"
++ optional enableStereoProcessing "-DOTB_BUILD_StereoProcessing=ON"
++ optional enablePython "-DOTB_WRAP_PYTHON=ON"
++ optional finalAttrs.doInstallCheck "-DBUILD_TESTING=ON";
propagatedBuildInputs = [
boost
curl
gdal
libgeotiff
libsvm
muparser
muparserx
opencv
otb-itk
otb-shark
perl
swig
tinyxml
] ++ optionals enablePython ([ python3 ] ++ pythonInputs);
doInstallCheck = false;
pythonPath = optionals enablePython pythonInputs;
postInstall = ''
wrapProgram $out/bin/otbcli \
--set OTB_INSTALL_DIR "$out" \
--set OTB_APPLICATION_PATH "$out/lib/otb/applications"
'';
meta = {
description = "Open Source processing of remote sensing images";
homepage = "https://www.orfeo-toolbox.org/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ daspk04 ];
};
})
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "otus-lisp";
version = "2.5";
version = "2.6";
src = fetchFromGitHub {
owner = "yuriy-chumak";
repo = "ol";
rev = finalAttrs.version;
hash = "sha256-xwn2cvtw3co7MJ4J0FraEtZhKWVaaaoJYMrohyFF+us=";
hash = "sha256-5ixpTTXwJbLM2mJ/nwzjz0aKG/QGVLPScY8EaG7swGU=";
};
nativeBuildInputs = [ xxd ];
+7 -10
View File
@@ -17,6 +17,7 @@
makeWrapper,
pkg-config,
qt6,
shaderc,
soundtouch,
strip-nondeterminism,
vulkan-headers,
@@ -45,6 +46,7 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
(lib.cmakeBool "PACKAGE_MODE" true)
(lib.cmakeBool "DISABLE_ADVANCE_SIMD" true)
(lib.cmakeBool "USE_LINKED_FFMPEG" true)
(lib.cmakeFeature "PCSX2_GIT_REV" finalAttrs.src.rev)
@@ -73,7 +75,7 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
qttools
qtwayland
SDL2
sources.shaderc-patched
shaderc
soundtouch
vulkan-headers
wayland
@@ -82,17 +84,12 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp -a bin/pcsx2-qt bin/resources $out/bin/
postInstall = ''
install -Dm644 $src/pcsx2-qt/resources/icons/AppIcon64.png $out/share/pixmaps/PCSX2.png
install -Dm644 $src/.github/workflows/scripts/linux/pcsx2-qt.desktop $out/share/applications/PCSX2.desktop
zip -jq $out/bin/resources/patches.zip ${sources.pcsx2_patches.src}/patches/*
strip-nondeterminism $out/bin/resources/patches.zip
runHook postInstall
zip -jq $out/share/PCSX2/resources/patches.zip ${sources.pcsx2_patches.src}/patches/*
strip-nondeterminism $out/share/PCSX2/resources/patches.zip
'';
qtWrapperArgs =
@@ -100,7 +97,7 @@ llvmPackages_17.stdenv.mkDerivation (finalAttrs: {
libs = lib.makeLibraryPath (
[
vulkan-loader
sources.shaderc-patched
shaderc
]
++ cubeb.passthru.backendLibs
);
+6 -36
View File
@@ -1,22 +1,20 @@
{
lib,
fetchFromGitHub,
fetchpatch,
shaderc,
}:
let
pcsx2 = let
self = {
pname = "pcsx2";
version = "2.1.127";
version = "2.3.39";
src = fetchFromGitHub {
pname = "pcsx2-source";
inherit (self) version;
owner = "PCSX2";
repo = "pcsx2";
rev = "v${self.version}";
hash = "sha256-zvvrGxGjIQjSmo18BDG2J3+PoysXj8WxpwtrcXK8LH8=";
hash = "sha256-Knlkf4GcN8OCgrd1nwdnYVCDA/7lyAfcoV4mLCkrHtg=";
};
};
in
@@ -27,47 +25,19 @@ let
pcsx2_patches = let
self = {
pname = "pcsx2_patches";
version = "0-unstable-2024-09-05";
version = "0-unstable-2024-11-23";
src = fetchFromGitHub {
pname = "pcsx2_patches-source";
inherit (self) version;
owner = "PCSX2";
repo = "pcsx2_patches";
rev = "377f30ae19acde655cc412086fa1840d16d54a93";
hash = "sha256-g2SMMC/oHSF0G3+zwvk1vOoQgYFrPd3eaZ0jgGJIr5g=";
rev = "5cc1d09a72c0afcd04e2ca089a6b279108328fda";
hash = "sha256-or77ZsWU0YWtxj9LKJ/m8nDvKSyiF1sO140QaH6Jr64=";
};
};
in
self;
shaderc-patched = let
pname = "shaderc-patched-for-pcsx2";
version = "2024.1";
src = fetchFromGitHub {
owner = "google";
repo = "shaderc";
rev = "v${version}";
hash = "sha256-2L/8n6KLVZWXt6FrYraVlZV5YqbPHD7rzXPCkD0d4kg=";
};
in
shaderc.overrideAttrs (old: {
inherit pname version src;
patches = (old.patches or [ ]) ++ [
(fetchpatch {
url = "file://${pcsx2.src}/.github/workflows/scripts/common/shaderc-changes.patch";
hash = "sha256-/qX2yD0RBuPh4Cf7n6OjVA2IyurpaCgvCEsIX/hXFdQ=";
excludes = [
"libshaderc/CMakeLists.txt"
"third_party/CMakeLists.txt"
];
})
];
cmakeFlags = (old.cmakeFlags or [ ]) ++ [
(lib.cmakeBool "SHADERC_SKIP_EXAMPLES" true)
(lib.cmakeBool "SHADERC_SKIP_TESTS" true)
];
});
in
{
inherit pcsx2 pcsx2_patches shaderc-patched;
inherit pcsx2 pcsx2_patches;
}
+3 -3
View File
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "phrase-cli";
version = "2.33.1";
version = "2.34.1";
src = fetchFromGitHub {
owner = "phrase";
repo = "phrase-cli";
rev = version;
sha256 = "sha256-F9uFw0SEUS0uH5cPPBFwx7mWQHX53EtQtauauH3/6p8=";
sha256 = "sha256-N+1kh4p6gzBnWPSs7U4Ay1kUtJ04W3G0f+PzzwCylRQ=";
};
vendorHash = "sha256-1STRCr8zn6Hhj4Y/QHNo7QX/faN8V8AOmikflv8ipng=";
vendorHash = "sha256-mfg10IwrPiLpI+9Y0QybKS8wOBnt3+tqsXgtGV1eHAs=";
ldflags = [ "-X=github.com/phrase/phrase-cli/cmd.PHRASE_CLIENT_VERSION=${version}" ];
+1 -1
View File
@@ -2231,7 +2231,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "tubefeeder"
version = "2.0.2"
version = "2.0.3"
dependencies = [
"chrono",
"clapper",
+2 -2
View File
@@ -29,13 +29,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pipeline";
version = "2.0.2";
version = "2.0.3";
src = fetchFromGitLab {
owner = "schmiddi-on-mobile";
repo = "pipeline";
rev = "v${finalAttrs.version}";
hash = "sha256-8LKd7zZuwo/HtxFo8x8UpO1Y8/DnTZmaOYrc9NmnIrc=";
hash = "sha256-1HNhcWNJsWik58Ho3+y4cHRRpHDug1zfumrMZA836DI=";
};
cargoDeps = rustPlatform.importCargoLock {
+73
View File
@@ -0,0 +1,73 @@
{
lib,
stdenv,
fetchFromGitHub,
tbb_2021_11,
libgit2,
curl,
fmt,
nlohmann_json,
pkg-config,
}:
let
toml11 = fetchFromGitHub rec {
owner = "ToruNiina";
repo = "toml11";
version = "4.2.0";
rev = "refs/tags/v${version}";
sha256 = "sha256-NUuEgTpq86rDcsQnpG0IsSmgLT0cXhd1y32gT57QPAw=";
};
in
stdenv.mkDerivation rec {
pname = "poac";
version = "0.10.1";
src = fetchFromGitHub {
owner = "poac-dev";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-uUVNM70HNJwrr38KB+44fNvLpWihoKyDpRj7d7kbo7k=";
};
strictDeps = true;
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2
fmt
tbb_2021_11
nlohmann_json
curl
];
preConfigure = ''
#Skip git clone toml11
substituteInPlace Makefile \
--replace-fail "git clone" "\#git clone"
substituteInPlace Makefile \
--replace-fail "git -C" "\#git -c"
'';
preBuild = ''
mkdir -p build-out/DEPS/
cp -rf ${toml11} build-out/DEPS/toml11
'';
makeFlags = [ "RELEASE=1" ];
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64);
homepage = "https://poac.dev";
description = "A package manager and build system for C++";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.qwqawawow ];
platforms = lib.platforms.unix;
mainProgram = "poac";
};
}
+3 -3
View File
@@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec {
pname = "raffi";
version = "0.5.1";
version = "0.6.0";
src = fetchFromGitHub {
owner = "chmouel";
repo = "raffi";
rev = "v${version}";
hash = "sha256-25dH6LprqcZq9Px5nFNrGHk/2Tn23TZMLVZVic0unU8=";
hash = "sha256-VwB5hYEGF+w7KUBVB306VCneJxRwlZG5KVdrmhYqlYk=";
};
cargoHash = "sha256-bkNjlX8WH8+q4I+VfYZeraf2vyHtDFZQCbXzsdehCZQ=";
cargoHash = "sha256-AQhGutsMhVjKi2kenvKatN91B7Oi9n64+RDj/ODwfno=";
nativeBuildInputs = [
makeBinaryWrapper
+1 -1
View File
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
homepage = "http://keldon.net/rftg/";
description = "Implementation of the card game Race for the Galaxy, including an AI";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.falsifian ];
maintainers = [ ];
};
}
+47
View File
@@ -0,0 +1,47 @@
{
lib,
boost,
cmake,
fetchFromGitHub,
openssl,
stdenv,
enableOpenMP ? false,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "shark";
version = "4.0-unstable-2024-05-25";
src = fetchFromGitHub {
owner = "Shark-ML";
repo = "Shark";
rev = "16a7cecf1c012ceaa406e3a5af54d1a6a47d5cda";
hash = "sha256-xwniI2+Kry04zQqlYjMTp60O6YLibFy+Q/2CY0PHpqs=";
};
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/tree/develop/SuperBuild/patches/SHARK?ref_type=heads
# patch of hdf5 seems to be not needed based on latest master branch of shark as HDF5 has been removed
# c.f https://github.com/Shark-ML/Shark/commit/221c1f2e8abfffadbf3c5ef7cf324bc6dc9b4315
patches = [ ./shark-2-ext-num-literals-all.diff ];
# https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/SuperBuild/CMake/External_shark.cmake?ref_type=heads
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_EXAMPLES=OFF"
"-DBUILD_DOCS=OFF"
"-DBUILD_TESTING=OFF"
"-DENABLE_CBLAS=OFF"
] ++ lib.optionals (!enableOpenMP) [ "-DENABLE_OPENMP=OFF" ];
buildInputs = [
boost
openssl
];
nativeBuildInputs = [ cmake ];
meta = {
description = "Fast, modular, general open-source C++ machine learning library";
homepage = "https://shark-ml.github.io/Shark/";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ daspk04 ];
};
})
@@ -0,0 +1,21 @@
diff -burN Shark.orig/CMakeLists.txt Shark/CMakeLists.txt
--- Shark.orig/CMakeLists.txt 2016-09-02 17:04:54.000000000 +0200
+++ Shark/CMakeLists.txt 2017-07-31 16:41:18.563473752 +0200
@@ -194,6 +194,8 @@
#####################################################################
# HDF5 configuration
#####################################################################
+option(ENABLE_HDF5 "Use HDF5" ON)
+if(ENABLE_HDF5)
find_package(HDF5 COMPONENTS C CXX HL QUIET)
mark_as_advanced(HDF5_DIR)
if(HDF5_FOUND)
@@ -215,7 +217,7 @@
else()
message(STATUS "HDF5 not found, skip")
endif()
-
+endif() #ENABLE_HDF5
#####################################################################
# ATLAS configuration
#####################################################################
@@ -0,0 +1,13 @@
diff -burN Shark.orig/CMakeLists.txt Shark/CMakeLists.txt
--- Shark.orig/CMakeLists.txt 2018-02-05 18:04:58.012612932 +0100
+++ Shark/CMakeLists.txt 2018-02-05 18:20:50.032233165 +0100
@@ -415,6 +415,9 @@
#####################################################################
# General Path settings
#####################################################################
+if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+ add_definitions(-fext-numeric-literals)
+endif()
include_directories( ${shark_SOURCE_DIR}/include )
include_directories( ${shark_BINARY_DIR}/include )
add_subdirectory( include )
+4 -7
View File
@@ -18,8 +18,6 @@
icu,
fontconfig,
libiconv,
stylua,
typos,
# FONTCONFIG_FILE
makeFontsConf,
gentium,
@@ -35,14 +33,15 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://github.com/sile-typesetter/sile/releases/download/v${finalAttrs.version}/sile-${finalAttrs.version}.tar.zst";
sha256 = "sha256-PjU6Qfn+FTL3vt66mkIAn/uXWMPPlH8iK6B264ekIis=";
hash = "sha256-PjU6Qfn+FTL3vt66mkIAn/uXWMPPlH8iK6B264ekIis=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
inherit (finalAttrs) pname version src;
nativeBuildInputs = [ zstd ];
# so the cargo fetcher won't try to run the `./configure` script
dontConfigure = true;
hash = "sha256-m21SyGtHwVCz+77pYq48Gjnrf/TLCLCf/IQ7AnZk+fo=";
hash = "sha256-iPkXEUC4U1m/ComIDo/J5kwkmM1QdowioNtnSnmMhJ0=";
};
nativeBuildInputs = [
@@ -63,8 +62,6 @@ stdenv.mkDerivation (finalAttrs: {
icu
fontconfig
libiconv
stylua
typos
];
configureFlags =
+3 -3
View File
@@ -6,17 +6,17 @@
}:
rustPlatform.buildRustPackage rec {
pname = "spl";
version = "0.4.1";
version = "0.4.2";
passthru.updateScript = nix-update-script { };
src = fetchgit {
url = "https://git.tudbut.de/tudbut/spl";
rev = "v${version}";
hash = "sha256-ZYx8KeJ6B7Dgf1RrTQbW6fI/DjuuZksiyEePMNmGigA=";
hash = "sha256-cU6qSh4HM3os/A1w0+5TSZLkS2Y/C864qvmixkxPAh8=";
};
cargoHash = "sha256-2vDX7ltYT+bsVLNDslYzs6FZ6Mplsz9RRQpMg+nigtU=";
cargoHash = "sha256-AWkyh3MRtnK+IzXu+h6jurNVMLDQVlBs2RsS2jn9lrA=";
meta = {
description = "Simple, concise, concatenative scripting language";
+3 -3
View File
@@ -5,7 +5,7 @@
}:
let
version = "16.9.0";
version = "16.11.0";
in
buildNpmPackage {
pname = "stylelint";
@@ -15,10 +15,10 @@ buildNpmPackage {
owner = "stylelint";
repo = "stylelint";
rev = version;
hash = "sha256-yMj6X3VI/CKw1VdRXV+7FVJQ6rdZ4E4v069wJZq3+dg=";
hash = "sha256-LcnKytRxIZ5Fzz0tGMM7RBke2g3zu94BjtMkMseM4qc=";
};
npmDepsHash = "sha256-Ylkx4FPsfEZTy1y2Be0RURHooAev0Z8ew3MJ2wOXjO4=";
npmDepsHash = "sha256-l1aP9fmXu5U9t4x5lvJoFTotDv3mLDD5mfc4eVNaZbc=";
dontNpmBuild = true;
+2 -2
View File
@@ -10,14 +10,14 @@
buildGoModule rec {
pname = "symfony-cli";
version = "5.10.4";
version = "5.10.5";
vendorHash = "sha256-UqaRZPCgjiexeeylfP8p0rye6oc+rWac87p8KbVKrdc=";
src = fetchFromGitHub {
owner = "symfony-cli";
repo = "symfony-cli";
rev = "v${version}";
hash = "sha256-eyQ62cImviq+QCTFfkmwLcwFslPoXYssd2TpS9pPX48=";
hash = "sha256-0QYv7C3n1VtmR3OOVqIXI13MtPTJD4wBTX1NDoKP6f8=";
leaveDotGit = true;
postFetch = ''
git --git-dir $out/.git log -1 --pretty=%cd --date=format:'%Y-%m-%dT%H:%M:%SZ' > $out/SOURCE_DATE
+14 -10
View File
@@ -13,18 +13,22 @@
stdenv.mkDerivation (finalAttrs: {
pname = "unison-code-manager";
version = "0.5.27";
version = "0.5.28";
src = if stdenv.hostPlatform.isDarwin then
fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos.tar.gz";
hash = "sha256-bmEmox+CfkGZP9GCfwDyspTult0WV+6jfQzehT33p8U=";
}
else
fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux.tar.gz";
hash = "sha256-js7MgzJQShy6z1QNsIRwjtZfrNOGwUA001SWlKWgMoA=";
src = {
aarch64-darwin = fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos-arm64.tar.gz";
hash = "sha256-kU+DqYUYQKbsi5P26rLkf8eYEXJAlw+kKd4OwZ2OO0A=";
};
x86_64-darwin = fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-macos-x64.tar.gz";
hash = "sha256-la1xu8FUHg//3o0w+ihdkrqC4+TWeCBfZQs3uKI+ytA=";
};
x86_64-linux = fetchurl {
url = "https://github.com/unisonweb/unison/releases/download/release/${finalAttrs.version}/ucm-linux-x64.tar.gz";
hash = "sha256-Axw1qgnZ3ypQfpw7ftH/LzB1SbTx+xL56hq3AtsGqko=";
};
}.${stdenv.hostPlatform.system} or (throw "Unsupported platform ${stdenv.hostPlatform.system}");
# The tarball is just the prebuilt binary, in the archive root.
sourceRoot = ".";
+2 -3
View File
@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "x42-plugins";
version = "20230315";
version = "20240611";
src = fetchurl {
url = "https://gareus.org/misc/x42-plugins/${pname}-${version}.tar.xz";
hash = "sha256-l7Wg+G795i4QFI94NHcPDnvJMYcfQONUkIJeyX2bZos=";
hash = "sha256-lO6Y1zEGGhv6HIrHmq9b0LA37K3ZzBtC/ERzBsGUZiw=";
};
nativeBuildInputs = [ pkg-config ];
@@ -28,7 +28,6 @@ stdenv.mkDerivation rec {
patchShebangs ./stepseq.lv2/gridgen.sh
patchShebangs ./matrixmixer.lv2/genttl.sh
patchShebangs ./matrixmixer.lv2/genhead.sh
sed -i 's|/usr/include/zita-convolver.h|${zita-convolver}/include/zita-convolver.h|g' ./convoLV2/Makefile
'';
enableParallelBuilding = true;
@@ -4,21 +4,32 @@ version = 3
[[package]]
name = "ahash"
version = "0.4.8"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0453232ace82dee0dd0b4c87a59bd90f7b53b314f3e0f61fe2ee7c8a16482289"
checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
dependencies = [
"getrandom",
"once_cell",
"version_check",
]
[[package]]
name = "anstyle"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
[[package]]
name = "anyhow"
version = "1.0.80"
version = "1.0.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1"
checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775"
[[package]]
name = "autocfg"
version = "1.1.0"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]]
name = "bitflags"
@@ -28,15 +39,18 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
version = "2.4.2"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
[[package]]
name = "cc"
version = "1.0.86"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f9fa1897e4325be0d68d48df6aa1a71ac2ed4d27723887e7754192705350730"
checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
dependencies = [
"shlex",
]
[[package]]
name = "cfg-if"
@@ -46,20 +60,34 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "clap"
version = "2.34.0"
version = "4.5.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f"
dependencies = [
"bitflags 1.3.2",
"textwrap",
"unicode-width",
"clap_builder",
]
[[package]]
name = "ctor"
version = "0.1.26"
name = "clap_builder"
version = "4.5.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec"
dependencies = [
"anstyle",
"clap_lex",
]
[[package]]
name = "clap_lex"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7"
[[package]]
name = "ctor"
version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
dependencies = [
"quote",
"syn",
@@ -67,21 +95,18 @@ dependencies = [
[[package]]
name = "dlv-list"
version = "0.2.3"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68df3f2b690c1b86e65ef7830956aededf3cb0a16f898f79b9a6f421a7b6211b"
dependencies = [
"rand",
]
checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257"
[[package]]
name = "errno"
version = "0.3.8"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
dependencies = [
"libc",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
@@ -92,9 +117,9 @@ checksum = "4f4cdac9e4065d7c48e30770f8665b8cef9a3a73a63a4056a33a5f395bc7cf75"
[[package]]
name = "fastrand"
version = "2.0.1"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
[[package]]
name = "fs_extra"
@@ -104,9 +129,9 @@ checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
[[package]]
name = "getrandom"
version = "0.2.12"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
dependencies = [
"cfg-if",
"libc",
@@ -115,39 +140,39 @@ dependencies = [
[[package]]
name = "hashbrown"
version = "0.9.1"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [
"ahash",
]
[[package]]
name = "libc"
version = "0.2.153"
version = "0.2.166"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
checksum = "c2ccc108bbc0b1331bd061864e7cd823c0cab660bbe6970e66e2c0614decde36"
[[package]]
name = "liboverdrop"
version = "0.0.2"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a8bcc76c5aad4677420857a8744ec8aef80b1b21c5501e2f8c7ac3fda2e19ba"
checksum = "08e5373d7512834e2fbbe4100111483a99c28ca3818639f67ab2337672301f8e"
dependencies = [
"log",
]
[[package]]
name = "linux-raw-sys"
version = "0.4.13"
version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
[[package]]
name = "log"
version = "0.4.20"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]]
name = "memoffset"
@@ -172,74 +197,44 @@ dependencies = [
]
[[package]]
name = "ordered-multimap"
version = "0.3.1"
name = "once_cell"
version = "1.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c672c7ad9ec066e428c00eb917124a06f08db19e2584de982cc34b1f4c12485"
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
[[package]]
name = "ordered-multimap"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ccd746e37177e1711c20dd619a1620f34f5c8b569c53590a72dedd5344d8924a"
dependencies = [
"dlv-list",
"hashbrown",
]
[[package]]
name = "ppv-lite86"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]]
name = "proc-macro2"
version = "1.0.78"
version = "1.0.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
version = "1.0.35"
version = "1.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
"rand_core",
]
[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
"getrandom",
]
[[package]]
name = "rust-ini"
version = "0.17.0"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63471c4aa97a1cf8332a5f97709a79a4234698de6a1f5087faf66f2dae810e22"
checksum = "f6d5f2436026b4f6e79dc829837d467cc7e9a55ee40e750d716713540715a2df"
dependencies = [
"cfg-if",
"ordered-multimap",
@@ -247,22 +242,28 @@ dependencies = [
[[package]]
name = "rustix"
version = "0.38.31"
version = "0.38.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949"
checksum = "d7f649912bc1495e167a6edee79151c84b1bad49748cb4f1f1167f459f6224f6"
dependencies = [
"bitflags 2.4.2",
"bitflags 2.6.0",
"errno",
"libc",
"linux-raw-sys",
"windows-sys",
"windows-sys 0.52.0",
]
[[package]]
name = "syn"
version = "1.0.109"
name = "shlex"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
[[package]]
name = "syn"
version = "2.0.89"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e"
dependencies = [
"proc-macro2",
"quote",
@@ -271,36 +272,28 @@ dependencies = [
[[package]]
name = "tempfile"
version = "3.10.0"
version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67"
checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
dependencies = [
"cfg-if",
"fastrand",
"once_cell",
"rustix",
"windows-sys",
]
[[package]]
name = "textwrap"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
"unicode-width",
"windows-sys 0.59.0",
]
[[package]]
name = "unicode-ident"
version = "1.0.12"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
[[package]]
name = "unicode-width"
version = "0.1.11"
name = "version_check"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "wasi"
@@ -318,14 +311,24 @@ dependencies = [
]
[[package]]
name = "windows-targets"
version = "0.52.0"
name = "windows-sys"
version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets",
]
[[package]]
name = "windows-targets"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_gnullvm",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
@@ -334,49 +337,55 @@ dependencies = [
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
[[package]]
name = "windows_aarch64_msvc"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
[[package]]
name = "windows_i686_gnu"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
[[package]]
name = "windows_i686_msvc"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
[[package]]
name = "windows_x86_64_gnu"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
[[package]]
name = "windows_x86_64_msvc"
version = "0.52.0"
version = "0.52.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
[[package]]
name = "zram-generator"
version = "1.1.2"
version = "1.2.1"
dependencies = [
"anyhow",
"clap",
@@ -1,23 +1,25 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, ronn
, systemd
, kmod
, nixosTests
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
pkg-config,
bash,
ronn,
systemd,
kmod,
nixosTests,
}:
rustPlatform.buildRustPackage rec {
pname = "zram-generator";
version = "1.1.2";
version = "1.2.1";
src = fetchFromGitHub {
owner = "systemd";
repo = pname;
rev = "v${version}";
hash = "sha256-n+ZOWU+sPq9DcHgzQWTxxfMmiz239qdetXypqdy33cM=";
hash = "sha256-aGBvvjGKZ5biruwmJ0ITakqPhTWs9hspRIE9QirqstA=";
};
# RFE: Include Cargo.lock in sources
@@ -27,10 +29,12 @@ rustPlatform.buildRustPackage rec {
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
substituteInPlace Makefile \
--replace 'target/$(BUILDTYPE)' 'target/${stdenv.hostPlatform.rust.rustcTargetSpec}/$(BUILDTYPE)'
--replace-fail 'target/$(BUILDTYPE)' 'target/${stdenv.hostPlatform.rust.rustcTargetSpec}/$(BUILDTYPE)'
substituteInPlace src/generator.rs \
--replace 'Command::new("systemd-detect-virt")' 'Command::new("${systemd}/bin/systemd-detect-virt")' \
--replace 'Command::new("modprobe")' 'Command::new("${kmod}/bin/modprobe")'
--replace-fail 'Command::new("systemd-detect-virt")' 'Command::new("${systemd}/bin/systemd-detect-virt")' \
--replace-fail 'Command::new("modprobe")' 'Command::new("${kmod}/bin/modprobe")'
substituteInPlace src/config.rs \
--replace-fail 'Command::new("/bin/sh")' 'Command::new("${bash}/bin/sh")'
'';
nativeBuildInputs = [
@@ -44,7 +48,7 @@ rustPlatform.buildRustPackage rec {
preBuild = ''
# embedded into the binary at build time
# https://github.com/systemd/zram-generator/blob/v1.1.2/Makefile#LL11-L11C56
# https://github.com/systemd/zram-generator/blob/v1.2.0/Makefile#LL11-L11C56
export SYSTEMD_UTIL_DIR=$($PKG_CONFIG --variable=systemdutildir systemd)
'';
@@ -4,7 +4,7 @@
set -euo pipefail
version=$(curl -s https://api.github.com/repos/systemd/zram-generator/releases/latest | jq -r .tag_name)
version=$(curl -s https://api.github.com/repos/systemd/zram-generator/tags | jq -r '.[0].name')
update-source-version zram-generator "${version#v}"
tmp=$(mktemp -d)
+3 -3
View File
@@ -70,7 +70,7 @@ let
in
lib.makeScope libsForQt5.newScope packages
// lib.optionalAttrs config.allowAliases {
content-hub = lib.warn "`content-hub` was renamed to `lomiri-content-hub`." pkgs.lomiri.lomiri-content-hub; # Added on 2024-09-11
history-service = lib.warn "`history-service` was renamed to `lomiri-history-service`." pkgs.lomiri.lomiri-history-service; # Added on 2024-11-11
lomiri-system-settings-security-privacy = lib.warn "`lomiri-system-settings-security-privacy` upstream was merged into `lomiri-system-settings`. Please use `pkgs.lomiri.lomiri-system-settings-unwrapped` if you need to directly access the plugins that belonged to this project." pkgs.lomiri.lomiri-system-settings-unwrapped; # Added on 2024-08-08
content-hub = lib.warnOnInstantiate "`content-hub` was renamed to `lomiri-content-hub`." pkgs.lomiri.lomiri-content-hub; # Added on 2024-09-11
history-service = lib.warnOnInstantiate "`history-service` was renamed to `lomiri-history-service`." pkgs.lomiri.lomiri-history-service; # Added on 2024-11-11
lomiri-system-settings-security-privacy = lib.warnOnInstantiate "`lomiri-system-settings-security-privacy` upstream was merged into `lomiri-system-settings`. Please use `pkgs.lomiri.lomiri-system-settings-unwrapped` if you need to directly access the plugins that belonged to this project." pkgs.lomiri.lomiri-system-settings-unwrapped; # Added on 2024-08-08
}
@@ -1,10 +1,11 @@
{ lib
, stdenv
, alsa-lib
, apple-sdk_11
, autoPatchelfHook
, cairo
, cups
, darwin
, darwinMinVersionHook
, fontconfig
, glib
, glibc
@@ -29,10 +30,12 @@ let
"lib"
"stdenv"
"alsa-lib"
"apple-sdk_11"
"autoPatchelfHook"
"cairo"
"cups"
"darwin"
"darwinMinVersionHook"
"fontconfig"
"glib"
"glibc"
@@ -106,8 +109,7 @@ let
nativeBuildInputs = [ unzip makeWrapper ]
++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
propagatedBuildInputs = [ setJavaClassPath zlib ]
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk_11_0.frameworks.Foundation;
propagatedBuildInputs = [ setJavaClassPath zlib ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
alsa-lib # libasound.so wanted by lib/libjsound.so
@@ -118,13 +120,15 @@ let
xorg.libXi
xorg.libXrender
xorg.libXtst
];
] ++ (lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
(darwinMinVersionHook "11.0")
]);
postInstall =
let
cLibsAsFlags = (map (l: "--add-flags '-H:CLibraryPath=${l}/lib'") cLibs);
preservedNixVariables = [
"-ELOCALE_ARCHIVE"
"-ENIX_BINTOOLS"
"-ENIX_BINTOOLS_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}"
"-ENIX_BUILD_CORES"
@@ -134,10 +138,20 @@ let
"-ENIX_CFLAGS_COMPILE"
"-ENIX_HARDENING_ENABLE"
"-ENIX_LDFLAGS"
] ++ lib.optionals stdenv.hostPlatform.isLinux [
"-ELOCALE_ARCHIVE"
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
"-EDEVELOPER_DIR"
"-EDEVELOPER_DIR_FOR_BUILD"
"-EDEVELOPER_DIR_FOR_TARGET"
"-EMACOSX_DEPLOYMENT_TARGET"
"-EMACOSX_DEPLOYMENT_TARGET_FOR_BUILD"
"-EMACOSX_DEPLOYMENT_TARGET_FOR_TARGET"
"-ENIX_APPLE_SDK_VERSION"
];
preservedNixVariablesAsFlags = (map (f: "--add-flags '${f}'") preservedNixVariables);
in
''
''
# jni.h expects jni_md.h to be in the header search path.
ln -sf $out/include/linux/*_md.h $out/include/
@@ -4,12 +4,6 @@
lib.makeScope pkgs.newScope (self:
{
stdenv =
if pkgs.stdenv.hostPlatform.isDarwin then
pkgs.darwin.apple_sdk_11_0.stdenv
else
pkgs.stdenv;
buildGraalvm = self.callPackage ./buildGraalvm.nix;
buildGraalvmProduct = self.callPackage ./buildGraalvmProduct.nix;
@@ -1,22 +1,22 @@
# Generated by update.sh script
{
"version" = "24.0.1";
"version" = "24.1.1";
"hashes" = {
"aarch64-linux" = {
sha256 = "11mz4qrp96iiblc25yssmczjwc44qf5z6q3c40dvmqyzz7rb7dm7";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.0.1/graaljs-community-24.0.1-linux-aarch64.tar.gz";
sha256 = "0zgs5qndyqi9df6hb3wcxvddvnw2ljw0x2aia1fk5jk6k4v3jarr";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.1.1/graaljs-community-24.1.1-linux-aarch64.tar.gz";
};
"x86_64-linux" = {
sha256 = "0ljmgaw5l617k1z26jlfj7pk87jkrgmai999vjbcvj1z7l26am2g";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.0.1/graaljs-community-24.0.1-linux-amd64.tar.gz";
sha256 = "0hn3cmx1lhqy0p7rxsa9ags6zbzm2bsr7ijxxxlasilqpp01hgwb";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.1.1/graaljs-community-24.1.1-linux-amd64.tar.gz";
};
"x86_64-darwin" = {
sha256 = "1h629gzdaay2rr5vgxir4kybarl19rcmvbsgrfri007rkchyxr5g";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.0.1/graaljs-community-24.0.1-macos-amd64.tar.gz";
sha256 = "02b4qvp7w1zqn32q5qww45xdim8pcc1fr79kp4ss43arm118w5c4";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.1.1/graaljs-community-24.1.1-macos-amd64.tar.gz";
};
"aarch64-darwin" = {
sha256 = "11sjplallyhf0vp6b53rhj5cv0zb6haii4aaan5xahplw9gavv8g";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.0.1/graaljs-community-24.0.1-macos-aarch64.tar.gz";
sha256 = "02sdxnh6dq367jpzma379c4yy050z5j44z56g91sa9rv2fv0hkzi";
url = "https://github.com/oracle/graaljs/releases/download/graal-24.1.1/graaljs-community-24.1.1-macos-aarch64.tar.gz";
};
};
}
+6 -1
View File
@@ -134,11 +134,16 @@ let
"${juliaWrapped}/bin/julia" \
"${if lib.versionAtLeast julia.version "1.7" then ./extract_artifacts.jl else ./extract_artifacts_16.jl}" \
'${lib.generators.toJSON {} (import ./extra-libs.nix)}' \
'${lib.generators.toJSON {} (stdenv.hostPlatform.isDarwin)}' \
"$out"
'';
# Import the artifacts Nix to build Overrides.toml (IFD)
artifacts = import artifactsNix { inherit lib fetchurl pkgs glibc stdenv; };
artifacts = import artifactsNix ({
inherit lib fetchurl pkgs stdenv;
} // lib.optionalAttrs (!stdenv.targetPlatform.isDarwin) {
inherit glibc;
});
overridesJson = writeTextFile {
name = "Overrides.json";
text = lib.generators.toJSON {} artifacts;
+16 -1
View File
@@ -6,6 +6,7 @@
, git
, julia
, python3
, stdenv
, closureYaml
, extraLibs
@@ -16,6 +17,20 @@
, registry
}:
let
# On darwin, we don't want to specify JULIA_SSL_CA_ROOTS_PATH. If we do (using a -bin julia derivation, which is the
# only kind darwin currently supports), you get an error like this:
#
# GitError(Code:ERROR, Class:SSL, Your Julia is built with a SSL/TLS engine that libgit2 doesn't know how to configure
# to use a file or directory of certificate authority roots, but your environment specifies one via the SSL_CERT_FILE
# variable. If you believe your system's root certificates are safe to use, you can `export JULIA_SSL_CA_ROOTS_PATH=""`
# in your environment to use those instead.)
setJuliaSslCaRootsPath = if stdenv.targetPlatform.isDarwin
then ''export JULIA_SSL_CA_ROOTS_PATH=""''
else ''export JULIA_SSL_CA_ROOTS_PATH="${cacert}/etc/ssl/certs/ca-bundle.crt"'';
in
runCommand "julia-depot" {
nativeBuildInputs = [curl git julia (python3.withPackages (ps: with ps; [pyyaml]))] ++ extraLibs;
inherit precompile registry;
@@ -38,7 +53,7 @@ runCommand "julia-depot" {
# export JULIA_DEBUG=Pkg
# export JULIA_DEBUG=loading
export JULIA_SSL_CA_ROOTS_PATH="${cacert}/etc/ssl/certs/ca-bundle.crt"
${setJuliaSslCaRootsPath}
# Only precompile if configured to below
export JULIA_PKG_PRECOMPILE_AUTO=0
@@ -32,46 +32,30 @@ archive_extensions = [
".zip"
]
dependencies_path = Path(sys.argv[1])
closure_yaml_path = Path(sys.argv[2])
julia_path = Path(sys.argv[3])
extract_artifacts_script = Path(sys.argv[4])
extra_libs = json.loads(sys.argv[5])
out_path = Path(sys.argv[6])
with open(dependencies_path, "r") as f:
dependencies = yaml.safe_load(f)
dependency_uuids = dependencies.keys()
with open(closure_yaml_path, "r") as f:
# Build up a map of UUID -> closure information
closure_yaml_list = yaml.safe_load(f) or []
closure_yaml = {}
for item in closure_yaml_list:
closure_yaml[item["uuid"]] = item
# Build up a dependency graph of UUIDs
closure_dependencies_dag = dag.DAG()
for uuid, contents in closure_yaml.items():
if contents.get("depends_on"):
closure_dependencies_dag.add_node(uuid, dependencies=contents["depends_on"].values())
def get_archive_derivation(uuid, artifact_name, url, sha256):
def get_archive_derivation(uuid, artifact_name, url, sha256, closure_dependencies_dag, dependency_uuids, extra_libs, is_darwin):
depends_on = set()
if closure_dependencies_dag.has_node(uuid):
depends_on = set(closure_dependencies_dag.get_dependencies(uuid)).intersection(dependency_uuids)
other_libs = extra_libs.get(uuid, [])
fixup = f"""fixupPhase = let
libs = lib.concatMap (lib.mapAttrsToList (k: v: v.path))
if is_darwin:
fixup = f"""fixupPhase = let
libs = lib.concatMap (lib.mapAttrsToList (k: v: v.path))
[{" ".join(["uuid-" + x for x in depends_on])}];
in ''
find $out -type f -executable -exec \
patchelf --set-rpath \$ORIGIN:\$ORIGIN/../lib:${{lib.makeLibraryPath (["$out" glibc] ++ libs ++ (with pkgs; [{" ".join(other_libs)}]))}} {{}} \;
find $out -type f -executable -exec \
patchelf --set-interpreter ${{glibc}}/lib/ld-linux-x86-64.so.2 {{}} \;
''"""
in ''
''"""
else:
fixup = f"""fixupPhase = let
libs = lib.concatMap (lib.mapAttrsToList (k: v: v.path))
[{" ".join(["uuid-" + x for x in depends_on])}];
in ''
find $out -type f -executable -exec \
patchelf --set-rpath \$ORIGIN:\$ORIGIN/../lib:${{lib.makeLibraryPath (["$out" glibc] ++ libs ++ (with pkgs; [{" ".join(other_libs)}]))}} {{}} \;
find $out -type f -executable -exec \
patchelf --set-interpreter ${{glibc}}/lib/ld-linux-x86-64.so.2 {{}} \;
''"""
return f"""stdenv.mkDerivation {{
name = "{artifact_name}";
@@ -96,44 +80,86 @@ def get_plain_derivation(url, sha256):
sha256 = "{sha256}";
}}"""
with open(out_path, "w") as f:
f.write("{ lib, fetchurl, glibc, pkgs, stdenv }:\n\n")
f.write("rec {\n")
def process_item(args):
item, julia_path, extract_artifacts_script, closure_dependencies_dag, dependency_uuids, extra_libs, is_darwin = args
uuid, src = item
lines = []
def process_item(item):
uuid, src = item
lines = []
artifacts = toml.loads(subprocess.check_output([julia_path, extract_artifacts_script, uuid, src]).decode())
if not artifacts: return f' uuid-{uuid} = {{}};\n'
artifacts = toml.loads(subprocess.check_output([julia_path, extract_artifacts_script, uuid, src]).decode())
if not artifacts:
return f' uuid-{uuid} = {{}};\n'
lines.append(f' uuid-{uuid} = {{')
lines.append(f' uuid-{uuid} = {{')
for artifact_name, details in artifacts.items():
if len(details["download"]) == 0: continue
download = details["download"][0]
url = download["url"]
sha256 = download["sha256"]
for artifact_name, details in artifacts.items():
if len(details["download"]) == 0:
continue
download = details["download"][0]
url = download["url"]
sha256 = download["sha256"]
git_tree_sha1 = details["git-tree-sha1"]
git_tree_sha1 = details["git-tree-sha1"]
parsed_url = urlparse(url)
if any(parsed_url.path.endswith(x) for x in archive_extensions):
derivation = get_archive_derivation(uuid, artifact_name, url, sha256)
else:
derivation = get_plain_derivation(url, sha256)
parsed_url = urlparse(url)
if any(parsed_url.path.endswith(x) for x in archive_extensions):
derivation = get_archive_derivation(uuid, artifact_name, url, sha256, closure_dependencies_dag, dependency_uuids, extra_libs, is_darwin)
else:
derivation = get_plain_derivation(url, sha256)
lines.append(f""" "{artifact_name}" = {{
lines.append(f""" "{artifact_name}" = {{
sha1 = "{git_tree_sha1}";
path = {derivation};
}};\n""")
lines.append(' };\n')
lines.append(' };\n')
return "\n".join(lines)
return "\n".join(lines)
with multiprocessing.Pool(10) as pool:
for s in pool.map(process_item, dependencies.items()):
f.write(s)
def main():
dependencies_path = Path(sys.argv[1])
closure_yaml_path = Path(sys.argv[2])
julia_path = Path(sys.argv[3])
extract_artifacts_script = Path(sys.argv[4])
extra_libs = json.loads(sys.argv[5])
is_darwin = json.loads(sys.argv[6])
out_path = Path(sys.argv[7])
f.write(f"""
with open(dependencies_path, "r") as f:
dependencies = yaml.safe_load(f)
dependency_uuids = list(dependencies.keys()) # Convert dict_keys to list
with open(closure_yaml_path, "r") as f:
# Build up a map of UUID -> closure information
closure_yaml_list = yaml.safe_load(f) or []
closure_yaml = {}
for item in closure_yaml_list:
closure_yaml[item["uuid"]] = item
# Build up a dependency graph of UUIDs
closure_dependencies_dag = dag.DAG()
for uuid, contents in closure_yaml.items():
if contents.get("depends_on"):
closure_dependencies_dag.add_node(uuid, dependencies=contents["depends_on"].values())
with open(out_path, "w") as f:
if is_darwin:
f.write("{ lib, fetchurl, pkgs, stdenv }:\n\n")
else:
f.write("{ lib, fetchurl, glibc, pkgs, stdenv }:\n\n")
f.write("rec {\n")
with multiprocessing.Pool(10) as pool:
# Create args tuples for each item
process_args = [
(item, julia_path, extract_artifacts_script, closure_dependencies_dag, dependency_uuids, extra_libs, is_darwin)
for item in dependencies.items()
]
for s in pool.map(process_item, process_args):
f.write(s)
f.write(f"""
}}\n""")
if __name__ == "__main__":
main()
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "pythia";
version = "8.311";
version = "8.312";
src = fetchurl {
url = "https://pythia.org/download/pythia83/pythia${builtins.replaceStrings ["."] [""] version}.tgz";
sha256 = "sha256-J4LV5CnBVDxnN1r+VH/UxMoHIDCd6wCPfbeGJtx9FGQ=";
sha256 = "sha256-utmOKWe2hwRsRWjJCR1jCgwxtih0XAIamUq6TR1Q+Oo=";
};
nativeBuildInputs = [ rsync ]
@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "yoda";
version = "2.0.1";
version = "2.0.2";
src = fetchFromGitLab {
owner = "hepcedar";
repo = pname;
rev = "yoda-${version}";
hash = "sha256-WeMOd1dsy+qwiODQ7EWiLa1GNfUWXwpTtkS4EKUWF+c=";
hash = "sha256-sHvwgLH22fvdlh4oLjr4fzZ2WtBJMAlvr4Vxi9Xdf84=";
};
nativeBuildInputs = with python.pkgs; [
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pytestCheckHook,
pytest-localserver,
numpy,
@@ -14,18 +15,21 @@
buildPythonPackage rec {
pname = "dicomweb-client";
version = "0.59.1";
version = "0.59.3";
pyproject = true;
disabled = pythonOlder "3.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "ImagingDataCommons";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-h9gFCBmutTGNJ3wP2AGPfiUtA49yywUlNKiSh/x9kFE=";
hash = "sha256-D3j5EujrEdGTfR8/V3o2VJ/VkGdZ8IifPYMhP4ppXhw=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
numpy
pillow
pydicom
@@ -43,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python client for DICOMweb RESTful services";
homepage = "https://dicomweb-client.readthedocs.io";
changelog = "https://github.com/ImagingDataCommons/dicomweb-client/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
mainProgram = "dicomweb_client";
@@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "enlighten";
version = "1.12.4";
version = "1.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dfPZK0ng715FT8Gg853Aq49tmUbL5TTbPe0wECF9W18=";
hash = "sha256-7nGNqsaHPIP9Nwa8532kcsd2pR4Nb1+G9+YeJ/mtFmo=";
};
propagatedBuildInputs = [
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "niaclass";
version = "0.2.0";
version = "0.2.1";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "firefly-cpp";
repo = "NiaClass";
rev = "refs/tags/${version}";
hash = "sha256-C3EF18lzheE+dXHJA6WJNFECAH4HfPiCDo7QxtHvOLI=";
hash = "sha256-9ynnnnCrOesl7dWgX3P1aFDycH0ifDtTT4BSlq0HDj0=";
};
pythonRelaxDeps = [ "pandas" ];
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "plugwise";
version = "1.5.2";
version = "1.6.1";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "plugwise";
repo = "python-plugwise";
rev = "refs/tags/v${version}";
hash = "sha256-DC/pytBgzQJ38GshFR1IgvxUN2IJnqPn49FvS6dY5Js=";
hash = "sha256-Hwi/ee8XuClN2FOY0qGwOsIR6F2Z5IVihBFiu5lT5t8=";
};
postPatch = ''
@@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "pyvo";
version = "1.5.3";
version = "1.6";
pyproject = true;
disabled = pythonOlder "3.8"; # according to setup.cfg
src = fetchPypi {
inherit pname version;
hash = "sha256-/ShNDoT1KucV4YVUeUz8BP33nsQF4YlpvbFs6vCxmH4=";
hash = "sha256-2270I+YAjrocpoRZ5+KpHbw0y+G9ovKfZLpX2N9XDKo=";
};
build-system = [
@@ -1,27 +1,28 @@
{
lib,
fetchFromGitHub,
pythonAtLeast,
buildPythonPackage,
importlib-resources,
fetchFromGitHub,
# build-system
setuptools-scm,
# dependencies
pyyaml,
requests,
setuptools-scm,
pythonOlder,
pythonAtLeast,
importlib-resources,
}:
buildPythonPackage rec {
pname = "scikit-hep-testdata";
version = "0.4.48";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "scikit-hep-testdata";
rev = "refs/tags/v${version}";
hash = "sha256-B0YmO48aGDRsQ56+q7/Z6xquCNjbAQ55fkY6auvwB90=";
hash = "sha256-FIv3yC5Q3H1RXl0n32YH1UqaZiMuWHNcMPTSKLN+IkA=";
};
build-system = [ setuptools-scm ];
@@ -37,11 +38,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "skhep_testdata" ];
meta = with lib; {
meta = {
homepage = "https://github.com/scikit-hep/scikit-hep-testdata";
description = "Common package to provide example files (e.g., ROOT) for testing and developing packages against";
changelog = "https://github.com/scikit-hep/scikit-hep-testdata/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ veprbl ];
};
}
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
@@ -26,14 +27,14 @@
buildPythonPackage rec {
pname = "uproot";
version = "5.5.0";
version = "5.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "uproot5";
rev = "refs/tags/v${version}";
hash = "sha256-letdC246I9LDqEnLCOTz51cBnQGbkrsR/i7UN6EMcDA=";
hash = "sha256-a5gCsv8iBUUASHCJIpxFbgBXTSm/KJOTt6fvSvP/Lio=";
};
build-system = [
@@ -63,45 +64,49 @@ buildPythonPackage rec {
export HOME="$(mktemp -d)"
'';
disabledTests = [
# Tests that try to download files
"test_descend_into_path_classname_of"
"test_fallback"
"test_file"
"test_fsspec_cache_http"
"test_fsspec_cache_http_directory"
"test_fsspec_chunks"
"test_fsspec_globbing_http"
"test_fsspec_writing_http"
"test_fsspec_writing_memory"
"test_fsspec_writing_ssh"
"test_http"
"test_http_fallback"
"test_http_multipart"
"test_http_port"
"test_http_size"
"test_http_size_port"
"test_issue_1054_filename_colons"
"test_multiple_page_lists"
"test_no_multipart"
"test_open_fsspec_github"
"test_open_fsspec_http"
"test_open_fsspec_ss"
"test_pickle_roundtrip_http"
"test_split_ranges_if_large_file_in_http"
# Cyclic dependency with dask-awkward
"test_dask_duplicated_keys"
"test_decompression_executor_for_dask"
"test_decompression_threadpool_executor_for_dask"
];
disabledTests =
[
# Tests that try to download files
"test_descend_into_path_classname_of"
"test_fallback"
"test_fsspec_cache_http"
"test_fsspec_cache_http_directory"
"test_fsspec_chunks"
"test_fsspec_globbing_http"
"test_http"
"test_http_fallback_workers"
"test_http_multipart"
"test_http_port"
"test_http_size"
"test_http_size_port"
"test_http_workers"
"test_issue176"
"test_issue176_again"
"test_issue_1054_filename_colons"
"test_no_multipart"
"test_open_fsspec_github"
"test_open_fsspec_http"
"test_pickle_roundtrip_http"
# Cyclic dependency with dask-awkward
"test_dask_duplicated_keys"
"test_decompression_executor_for_dask"
"test_decompression_threadpool_executor_for_dask"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Tries to connect to localhost:22
# PermissionError: [Errno 1] Operation not permitted
"test_open_fsspec_ssh"
];
disabledTestPaths = [
# Tests that try to download files
"tests/test_0066_fix_http_fallback_freeze.py"
"tests/test_0088_read_with_http.py"
"tests/test_0220_contiguous_byte_ranges_in_http.py"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "uproot" ];
meta = {
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "usb-monitor";
version = "1.21";
version = "1.23";
src = fetchPypi {
inherit version;
pname = "usb_monitor";
hash = "sha256-M+BUmbNxQWcULFECexTnp55EZiJ6y3bYCEtSwqKldAk=";
hash = "sha256-7xZ30JLPduY0y2SHWI7fvZHB27FbNFAMczHMXnaXl88=";
};
dependencies = [ pyudev ];
@@ -17,14 +17,14 @@
}:
buildPythonPackage rec {
pname = "uxsim";
version = "1.7.0";
version = "1.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "toruseo";
repo = "UXsim";
rev = "refs/tags/v${version}";
hash = "sha256-FZ8eGA3sSKaUqAd+jTlIIZDeEoXeqdpsSgJ+ZHuWyJM=";
hash = "sha256-lN9kcpNVSPNRWwF9rltweqHJpzqsYrKeP0KEQRwiltk=";
};
patches = [ ./add-qt-plugin-path-to-env.patch ];
@@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "zcbor";
version = "0.9.0";
version = "0.9.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-dm/gPFQaeQOrz5tcqqgCt4d4dh188QVjL4r8isXgiWY=";
hash = "sha256-wEkYOS4tuxTG8DjXduLqawnDS6ECiwRardfDqVYWvDg=";
};
nativeBuildInputs = [ setuptools ];
@@ -9,11 +9,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "sbt";
version = "1.10.2";
version = "1.10.6";
src = fetchurl {
url = "https://github.com/sbt/sbt/releases/download/v${finalAttrs.version}/sbt-${finalAttrs.version}.tgz";
hash = "sha256-pxbdAYvWi8epWi3RAzdmOqdvRDrWyZ3qvl6t0a38djk=";
hash = "sha256-fhsJjv/sgGFOg4qmG3U6i0YjeyS3BuybN2CQMIAMERo=";
};
postPatch = ''
+1 -1
View File
@@ -15,7 +15,7 @@ let
buildHashes = builtins.fromJSON (builtins.readFile ./hashes.json);
# the version of infisical
version = "0.31.8";
version = "0.32.0";
# the platform-specific, statically linked binary
src =
+4 -4
View File
@@ -1,6 +1,6 @@
{ "_comment": "@generated by pkgs/development/tools/infisical/update.sh"
, "x86_64-linux": "sha256-SkWcRnbmvKWFX0dvAfj71uHNRbVZ0LYLzyPogiSaMnw="
, "x86_64-darwin": "sha256-h6VoI+Xd7ZDiVEUqSMRMIpc7f9s/HZilfwzXFgPWAV8="
, "aarch64-linux": "sha256-7TWuNTgrccSn634qje46AuSWr9fg6zlrTpz4iB9tzE0="
, "aarch64-darwin": "sha256-o39uHZd1MjbEszpDwIAbhUS/w8LEiRVVvJjaX+SQmww="
, "x86_64-linux": "sha256-EX4GDtboD9Gdo2WpJtXoswDLYIyKbtH0q6yg+c0M1ls="
, "x86_64-darwin": "sha256-+YqFxQmnezBsQN5qnjIBj2DbIf1wQxjp78ehb4+ttKQ="
, "aarch64-linux": "sha256-T8VgSQeKvMFwhiAcmjDgGys8CA2jX1ZZTH5PUAG3uqo="
, "aarch64-darwin": "sha256-OYsQtR8y38Q0ryxl/AHTUyHmIQGFoHtCTNG0sn3rprE="
}
-101
View File
@@ -1,101 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, cpm-cmake
, git
, git2-cpp
, cacert
, boost179
, icu
, libarchive
, libgit2
, lz4
, mitama-cpp-result
, ninja
, openssl_3
, package-project-cmake
, spdlog
}:
let
glob = fetchFromGitHub {
owner = "p-ranav";
repo = "glob";
rev = "v0.0.1";
sha256 = "sha256-2y+a7YFBiYX8wbwCCWw1Cm+SFoXGB3ZxLPi/QdZhcdw=";
};
structopt = fetchFromGitHub {
owner = "p-ranav";
repo = "structopt";
rev = "e9722d3c2b52cf751ebc1911b93d9649c4e365cc";
sha256 = "sha256-jIfKUyY2QQ2/donywwlz65PY8u7xODGoG6SlNtUhwkg=";
};
toml11 = fetchFromGitHub {
owner = "ToruNiina";
repo = "toml11";
rev = "9086b1114f39a8fb10d08ca704771c2f9f247d02";
sha256 = "sha256-fHUElHO4ckNQq7Q88GdbHGxfaAvWoWtGB0eD9y2MnLo=";
};
in
stdenv.mkDerivation rec {
pname = "poac";
version = "0.5.1";
src = fetchFromGitHub {
owner = "poacpm";
repo = pname;
rev = version;
sha256 = "sha256-JgGa7lomDvZG5HLxGJMALcezjnZprexJDTxyTUjLetg=";
};
preConfigure = ''
mkdir -p ${placeholder "out"}/share/cpm
cp ${cpm-cmake}/share/cpm/CPM.cmake ${placeholder "out"}/share/cpm/CPM_0.35.1.cmake
'';
cmakeFlags = [
"-DPOAC_BUILD_TESTING=OFF"
"-DCPM_SOURCE_CACHE=${placeholder "out"}/share"
"-DFETCHCONTENT_SOURCE_DIR_GIT2-CPP=${git2-cpp.src}"
"-DFETCHCONTENT_SOURCE_DIR_GLOB=${glob}"
"-DFETCHCONTENT_SOURCE_DIR_PACKAGEPROJECT.CMAKE=${package-project-cmake.src}"
"-DFETCHCONTENT_SOURCE_DIR_MITAMA-CPP-RESULT=${mitama-cpp-result.src}"
"-DFETCHCONTENT_SOURCE_DIR_NINJA=${ninja.src}"
"-DFETCHCONTENT_SOURCE_DIR_STRUCTOPT=${structopt}"
"-DFETCHCONTENT_SOURCE_DIR_TOML11=${toml11}"
];
nativeBuildInputs = [ cmake git cacert ];
buildInputs = [
(boost179.override {
enableShared = stdenv.hostPlatform.isDarwin;
enableStatic = !stdenv.hostPlatform.isDarwin;
})
git2-cpp
glob
package-project-cmake
mitama-cpp-result
ninja
structopt
toml11
icu
libarchive
libgit2
lz4
openssl_3
spdlog
];
meta = with lib; {
homepage = "https://poac.pm";
description = "Package Manager for C++";
license = licenses.asl20;
maintainers = [ ];
platforms = platforms.unix;
# error: call to 'format' is ambiguous
broken = true; # last successful build 2023-12-31
};
}
@@ -47,6 +47,6 @@
}
// lib.optionalAttrs pkgs.config.allowAliases {
android-tv-card =
lib.warn "`home-assistant-custom-lovelace-modules.android-tv-card` has been renamed to `universal-remote-card`"
lib.warnOnInstantiate "`home-assistant-custom-lovelace-modules.android-tv-card` has been renamed to `universal-remote-card`"
pkgs.home-assistant-custom-lovelace-modules.universal-remote-card;
}
+2 -2
View File
@@ -9,13 +9,13 @@
}:
buildPythonApplication rec {
pname = "mpremote";
version = "1.24.0";
version = "1.24.1";
src = fetchFromGitHub {
owner = "micropython";
repo = "micropython";
rev = "refs/tags/v${version}";
hash = "sha256-nBz4m5YxD6MV5SyyzvJcwBTttV8uJGdcCUY6HYxZ4nY=";
hash = "sha256-Dc40uLyLQBfs8Elku8g+sTz/OETsFNqLqp/xnbF/rn4=";
};
sourceRoot = "${src.name}/tools/mpremote";
format = "pyproject";
+93 -92
View File
@@ -120,79 +120,79 @@ GEM
aarch64 (2.1.0)
racc (~> 1.6)
abbrev (0.1.2)
actionpack (7.0.8.3)
actionview (= 7.0.8.3)
activesupport (= 7.0.8.3)
actionpack (7.0.8.6)
actionview (= 7.0.8.6)
activesupport (= 7.0.8.6)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.8.3)
activesupport (= 7.0.8.3)
actionview (7.0.8.6)
activesupport (= 7.0.8.6)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (7.0.8.3)
activesupport (= 7.0.8.3)
activerecord (7.0.8.3)
activemodel (= 7.0.8.3)
activesupport (= 7.0.8.3)
activesupport (7.0.8.3)
activemodel (7.0.8.6)
activesupport (= 7.0.8.6)
activerecord (7.0.8.6)
activemodel (= 7.0.8.6)
activesupport (= 7.0.8.6)
activesupport (7.0.8.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2)
arel-helpers (2.14.0)
arel-helpers (2.15.0)
activerecord (>= 3.1.0, < 8)
aws-eventstream (1.3.0)
aws-partitions (1.933.0)
aws-sdk-core (3.196.1)
aws-partitions (1.999.0)
aws-sdk-core (3.211.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ec2 (1.457.1)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-ec2instanceconnect (1.40.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-iam (1.98.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-kms (1.82.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.151.0)
aws-sdk-core (~> 3, >= 3.194.0)
aws-sdk-ec2 (1.486.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-ec2instanceconnect (1.52.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-iam (1.112.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-kms (1.95.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.169.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sdk-ssm (1.169.0)
aws-sdk-core (~> 3, >= 3.193.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.8.0)
aws-sigv4 (~> 1.5)
aws-sdk-ssm (1.183.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.10.1)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.2.0)
bcrypt (3.1.20)
bcrypt_pbkdf (1.1.1)
bigdecimal (3.1.8)
bindata (2.4.15)
bootsnap (1.18.3)
bootsnap (1.18.4)
msgpack (~> 1.2)
bson (5.0.0)
builder (3.2.4)
bson (5.0.1)
builder (3.3.0)
chunky_png (1.4.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.4)
cookiejar (0.3.4)
crass (1.0.6)
csv (3.3.0)
daemons (1.4.1)
date (3.3.4)
dnsruby (1.72.1)
dnsruby (1.72.2)
simpleidn (~> 0.2.1)
domain_name (0.6.20240107)
drb (2.2.1)
@@ -205,11 +205,12 @@ GEM
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.2)
em-socksify (0.3.3)
base64
eventmachine (>= 1.0.0.beta.4)
erubi (1.12.0)
erubi (1.13.0)
eventmachine (1.2.7)
faker (3.3.1)
faker (3.5.1)
i18n (>= 1.8.11, < 2)
faraday (2.7.11)
base64
@@ -234,11 +235,11 @@ GEM
hrr_rb_ssh-ed25519 (0.4.2)
ed25519 (~> 1.2)
hrr_rb_ssh (>= 0.4)
http-cookie (1.0.5)
http-cookie (1.0.7)
domain_name (~> 0.5)
http_parser.rb (0.8.0)
httpclient (2.8.3)
i18n (1.14.5)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
irb (1.7.4)
@@ -246,21 +247,21 @@ GEM
jmespath (1.6.2)
jsobfu (0.4.2)
rkelly-remix
json (2.7.2)
json (2.7.5)
little-plugger (1.1.4)
logging (2.3.1)
logging (2.4.0)
little-plugger (~> 1.1)
multi_json (~> 1.14)
loofah (2.22.0)
loofah (2.23.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
metasm (1.0.5)
metasploit-concern (5.0.2)
metasploit-concern (5.0.3)
activemodel (~> 7.0)
activesupport (~> 7.0)
railties (~> 7.0)
zeitwerk
metasploit-credential (6.0.9)
metasploit-credential (6.0.11)
metasploit-concern
metasploit-model
metasploit_data_models (>= 5.0.0)
@@ -275,7 +276,7 @@ GEM
activesupport (~> 7.0)
railties (~> 7.0)
metasploit-payloads (2.0.187)
metasploit_data_models (6.0.3)
metasploit_data_models (6.0.5)
activerecord (~> 7.0)
activesupport (~> 7.0)
arel-helpers
@@ -287,16 +288,16 @@ GEM
webrick
metasploit_payloads-mettle (1.0.35)
method_source (1.1.0)
mini_portile2 (2.8.6)
minitest (5.23.1)
mini_portile2 (2.8.7)
minitest (5.25.1)
mqtt (0.6.0)
msgpack (1.6.1)
multi_json (1.15.0)
mustermann (3.0.0)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
mutex_m (0.2.0)
nessus_rest (0.1.6)
net-imap (0.4.11)
net-imap (0.5.0)
date
net-protocol
net-ldap (0.19.0)
@@ -306,14 +307,14 @@ GEM
net-ssh (>= 5.0.0, < 8.0.0)
net-smtp (0.5.0)
net-protocol
net-ssh (7.2.3)
net-ssh (7.3.0)
network_interface (0.0.4)
nexpose (7.3.0)
nio4r (2.7.3)
nokogiri (1.14.5)
mini_portile2 (~> 2.8.0)
nio4r (2.7.4)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nori (2.7.0)
nori (2.7.1)
bigdecimal
octokit (4.25.1)
faraday (>= 1, < 3)
@@ -324,19 +325,19 @@ GEM
packetfu (2.0.0)
pcaprub (~> 0.13.1)
patch_finder (1.0.2)
pcaprub (0.13.2)
pcaprub (0.13.3)
pdf-reader (2.12.0)
Ascii85 (~> 1.0)
afm (~> 0.2.1)
hashery (~> 2.0)
ruby-rc4
ttfunk
pg (1.5.6)
public_suffix (5.0.5)
puma (6.4.2)
pg (1.5.9)
public_suffix (6.0.1)
puma (6.4.3)
nio4r (~> 2.0)
racc (1.8.0)
rack (2.2.9)
racc (1.8.1)
rack (2.2.10)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
@@ -349,9 +350,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.0.8.3)
actionpack (= 7.0.8.3)
activesupport (= 7.0.8.3)
railties (7.0.8.6)
actionpack (= 7.0.8.6)
activesupport (= 7.0.8.6)
method_source
rake (>= 12.2)
thor (~> 1.0)
@@ -360,12 +361,12 @@ GEM
rasn1 (0.13.0)
strptime (~> 0.2.5)
rb-readline (0.5.5)
recog (3.1.5)
recog (3.1.11)
nokogiri
redcarpet (3.6.0)
reline (0.5.7)
reline (0.5.10)
io-console (~> 0.5)
rex-arch (0.1.15)
rex-arch (0.1.16)
rex-text
rex-bin_tools (0.1.9)
metasm
@@ -378,7 +379,7 @@ GEM
metasm
rex-arch
rex-text
rex-exploitation (0.1.39)
rex-exploitation (0.1.40)
jsobfu
metasm
rex-arch
@@ -392,11 +393,11 @@ GEM
rex-arch
rex-ole (0.1.8)
rex-text
rex-powershell (0.1.99)
rex-powershell (0.1.100)
rex-random_identifier
rex-text
ruby-rc4
rex-random_identifier (0.1.12)
rex-random_identifier (0.1.13)
rex-text
rex-registry (0.1.5)
rex-rop_builder (0.1.5)
@@ -410,23 +411,23 @@ GEM
rex-socket
rex-text
rex-struct2 (0.1.4)
rex-text (0.2.58)
rex-text (0.2.59)
rex-zip (0.1.5)
rex-text
rexml (3.2.8)
strscan (>= 3.0.9)
rexml (3.3.9)
rkelly-remix (0.0.7)
ruby-macho (4.0.1)
ruby-macho (4.1.0)
ruby-mysql (4.1.0)
ruby-rc4 (0.1.5)
ruby2_keywords (0.0.5)
ruby_smb (3.3.8)
ruby_smb (3.3.11)
bindata (= 2.4.15)
openssl-ccm
openssl-cmac
rubyntlm
rubyntlm (>= 0.6.5)
windows_error (>= 0.1.4)
rubyntlm (0.6.3)
rubyntlm (0.6.5)
base64
rubyzip (2.3.2)
sawyer (0.9.2)
addressable (>= 2.3.5)
@@ -441,45 +442,45 @@ GEM
mini_portile2 (~> 2.8.0)
sshkey (3.0.0)
strptime (0.2.5)
strscan (3.1.0)
swagger-blocks (3.0.0)
thin (1.8.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (1.3.1)
tilt (2.3.0)
thor (1.3.2)
tilt (2.4.0)
timeout (0.4.1)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2024.1)
tzinfo-data (1.2024.2)
tzinfo (>= 1.0.0)
unix-crypt (1.3.1)
warden (1.2.9)
rack (>= 2.0.9)
webrick (1.8.1)
webrick (1.8.2)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
win32api (0.1.0)
windows_error (0.1.5)
winrm (2.3.6)
winrm (2.3.9)
builder (>= 2.1.2)
erubi (~> 1.8)
gssapi (~> 1.2)
gyoku (~> 1.0)
httpclient (~> 2.2, >= 2.2.0.2)
logging (>= 1.6.1, < 3.0)
nori (~> 2.0)
nori (~> 2.0, >= 2.7.1)
rexml (~> 3.0)
rubyntlm (~> 0.6.0, >= 0.6.3)
xdr (3.0.3)
activemodel (>= 4.2, < 8.0)
activesupport (>= 4.2, < 8.0)
xmlrpc (0.3.3)
webrick
zeitwerk (2.6.14)
zeitwerk (2.6.18)
PLATFORMS
ruby
+28 -11
View File
@@ -1,10 +1,12 @@
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, ruby
, bundlerEnv
, python3
{
lib,
stdenv,
fetchFromGitHub,
makeWrapper,
ruby,
bundlerEnv,
testers,
python3,
}:
let
@@ -13,14 +15,15 @@ let
name = "metasploit-bundler-env";
gemdir = ./.;
};
in stdenv.mkDerivation rec {
in
stdenv.mkDerivation (finalAttrs: {
pname = "metasploit-framework";
version = "6.4.37";
src = fetchFromGitHub {
owner = "rapid7";
repo = "metasploit-framework";
rev = "refs/tags/${version}";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-/c0F/5bbuQYkNB2tzjK2NGoTr3OD4fAUUEjiJVybKFM=";
};
@@ -35,6 +38,8 @@ in stdenv.mkDerivation rec {
dontPatchELF = true; # stay away from exploit executables
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,share/msf}
cp -r * $out/share/msf
@@ -54,8 +59,17 @@ in stdenv.mkDerivation rec {
makeWrapper ${env}/bin/bundle $out/bin/msf-pattern_offset \
--add-flags "exec ${ruby}/bin/ruby $out/share/msf/tools/exploit/pattern_offset.rb"
runHook postInstall
'';
passthru.tests = {
msfconsole-version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "HOME=/tmp msfconsole -q -x 'version;exit'";
};
};
# run with: nix-shell maintainers/scripts/update.nix --argstr path metasploit
passthru.updateScript = ./update.sh;
@@ -64,7 +78,10 @@ in stdenv.mkDerivation rec {
homepage = "https://docs.metasploit.com/";
platforms = platforms.unix;
license = licenses.bsd3;
maintainers = with maintainers; [ fab makefu ];
maintainers = with maintainers; [
fab
makefu
];
mainProgram = "msfconsole";
};
}
})
File diff suppressed because it is too large Load Diff
@@ -50,6 +50,8 @@
, hasManpages ? false
, hasRunfiles ? false
, hasTlpkg ? false
, hasCatalogue ? true
, catalogue ? pname
, extraNativeBuildInputs ? [ ]
, ...
}@args:
@@ -73,6 +75,8 @@ let
hydraPlatforms = [ ];
} // lib.optionalAttrs (args ? shortdesc) {
description = args.shortdesc;
} // lib.optionalAttrs hasCatalogue {
homepage = "https://ctan.org/pkg/${catalogue}";
};
hasBinfiles = args ? binfiles && args.binfiles != [ ];
+69 -33
View File
@@ -37,40 +37,58 @@ $a}
# number of path components to strip, defaulting to 1 ("texmf-dist/")
/^relocated 1/i\ stripPrefix = 0;
# extract version and clean unwanted chars from it
/^catalogue-version/y/ \/~/_--/
/^catalogue-version/s/[\#,:\(\)]//g
s/^catalogue-version_(.*)/ version = "\1";/p
/^catalogue(-| )/{
:next-cat
/^catalogue-license/{
# wrap licenses in quotes
s/ ([^ ]+)/ "\1"/g
# adjust naming as in nixpkgs, the full texts of the licenses are available at https://www.ctan.org/license/${licenseName}
s/"(cc-by(-sa)?-[1-4])"/"\10"/g
s/"apache2"/"asl20"/g
s/"artistic"/"artistic1-cl8"/g
s/"bsd"/"bsd3"/g # license text does not match exactly, but is pretty close
s/"bsd4"/"bsdOriginal"/g
s/"collection"/"free"/g # used for collections of individual packages with distinct licenses. As TeXlive only contains free software, we can use "free" as a catchall
s/"eupl"/"eupl12"/g
s/"fdl"/"fdl13Only"/g
s/"gpl"/"gpl1Only"/g
s/"gpl([1-3])"/"gpl\1Only"/g
s/"gpl2\+"/"gpl2Plus"/g
s/"gpl3\+"/"gpl3Plus"/g
s/"lgpl"/"lgpl2"/g
s/"lgpl2\.1"/"lgpl21"/g
s/"lppl"/"lppl13c"/g # not used consistently, sometimes "lppl" refers to an older version of the license
s/"lppl1\.2"/"lppl12"/g
s/"lppl1\.3"/"lppl13c"/g # If a work refers to LPPL 1.3 as its license, this is interpreted as the latest version of the 1.3 license (https://www.latex-project.org/lppl/)
s/"lppl1\.3a"/"lppl13a"/g
s/"lppl1\.3c"/"lppl13c"/g
s/"other-free"/"free"/g
s/"other-nonfree"/"unfree"/g
s/"opl"/"opubl"/g
s/"pd"/"publicDomain"/g
s/^catalogue (.*)/ catalogue = "\1";/p
s/^catalogue-license (.*)/ license = [ \1 ];/p
# extract version and clean unwanted chars from it
/^catalogue-version/y/ \/~/_--/
/^catalogue-version/s/[\#,:\(\)]//g
s/^catalogue-version_(.*)/ version = "\1";/p
# extract license
/^catalogue-license/{
# wrap licenses in quotes
s/ ([^ ]+)/ "\1"/g
# adjust naming as in nixpkgs, the full texts of the licenses are available at https://www.ctan.org/license/${licenseName}
s/"(cc-by(-sa)?-[1-4])"/"\10"/g
s/"apache2"/"asl20"/g
s/"artistic"/"artistic1-cl8"/g
s/"bsd"/"bsd3"/g # license text does not match exactly, but is pretty close
s/"bsd4"/"bsdOriginal"/g
s/"collection"/"free"/g # used for collections of individual packages with distinct licenses. As TeXlive only contains free software, we can use "free" as a catchall
s/"eupl"/"eupl12"/g
s/"fdl"/"fdl13Only"/g
s/"gpl"/"gpl1Only"/g
s/"gpl([1-3])"/"gpl\1Only"/g
s/"gpl2\+"/"gpl2Plus"/g
s/"gpl3\+"/"gpl3Plus"/g
s/"lgpl"/"lgpl2"/g
s/"lgpl2\.1"/"lgpl21"/g
s/"lppl"/"lppl13c"/g # not used consistently, sometimes "lppl" refers to an older version of the license
s/"lppl1\.2"/"lppl12"/g
s/"lppl1\.3"/"lppl13c"/g # If a work refers to LPPL 1.3 as its license, this is interpreted as the latest version of the 1.3 license (https://www.latex-project.org/lppl/)
s/"lppl1\.3a"/"lppl13a"/g
s/"lppl1\.3c"/"lppl13c"/g
s/"other-free"/"free"/g
s/"other-nonfree"/"unfree"/g
s/"opl"/"opubl"/g
s/"pd"/"publicDomain"/g
s/^catalogue-license (.*)/ license = [ \1 ];/p
}
s/^.*$//
N
s/^\ncatalogue(-| )/catalogue\1/
t next-cat
# flag existence of catalogue info in hold space
x ; s/$/\n hasCatalogue = true;/ ; x
# restart cycle
D
}
# extract deps
@@ -221,7 +239,25 @@ $a}
}
# close attrmap
/^$/i};
/^$/{
# process content of hold space
x
# change hasCatalogue default from false to true
s/^ hasCatalogue = true;$//Mg
t had-catalogue
s/(\n?)$/\1 hasCatalogue = false;/
:had-catalogue
# print hold space if not empty
/./Mp
# erase hold space
s/.*//
x
i};
}
}
# add list of binaries from one of the architecture-specific packages

Some files were not shown because too many files have changed in this diff Show More