mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Merge master into staging-nixos
This commit is contained in:
@@ -11090,6 +11090,12 @@
|
||||
githubId = 79340822;
|
||||
keys = [ { fingerprint = "3582 5B85 66C8 4F36 45C7 EC42 809F 7938 9CB1 8650"; } ];
|
||||
};
|
||||
havunen = {
|
||||
name = "Sampo Kivistö";
|
||||
email = "sampo.kivisto@live.fi";
|
||||
github = "havunen";
|
||||
githubId = 2021355;
|
||||
};
|
||||
hawkw = {
|
||||
email = "eliza@elizas.website";
|
||||
github = "hawkw";
|
||||
|
||||
@@ -78,7 +78,7 @@ in
|
||||
description = ''
|
||||
List of repositories to search.
|
||||
|
||||
Deprecated, examine {option}`virtualisation.registries.settings` instead.
|
||||
Deprecated, examine {option}`virtualisation.containers.registries.settings` instead.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -89,7 +89,7 @@ in
|
||||
description = ''
|
||||
List of insecure repositories.
|
||||
|
||||
Deprecated, examine {option}`virtualisation.registries.settings` instead.
|
||||
Deprecated, examine {option}`virtualisation.containers.registries.settings` instead.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ in
|
||||
description = ''
|
||||
List of blocked repositories.
|
||||
|
||||
Deprecated, examine {option}`virtualisation.registries.settings` instead.
|
||||
Deprecated, examine {option}`virtualisation.containers.registries.settings` instead.
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -145,7 +145,7 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
warnings = lib.optional oldRegistriesOptionsUsed "the options virtualisation.registries.search / insecure / block are deprecated. See virtualisation.registries.settings instead.";
|
||||
warnings = lib.optional oldRegistriesOptionsUsed "the options virtualisation.containers.registries.search / insecure / block are deprecated. See virtualisation.containers.registries.settings instead.";
|
||||
|
||||
virtualisation.containers.registries.settings = lib.mkIf oldRegistriesOptionsUsed {
|
||||
registries = {
|
||||
|
||||
@@ -72,9 +72,9 @@ let
|
||||
buildType = "release";
|
||||
# Use maintainers/scripts/update.nix to update the version and all related hashes or
|
||||
# change the hashes in extpack.nix and guest-additions/default.nix as well manually.
|
||||
virtualboxVersion = "7.2.14";
|
||||
virtualboxVersion = "7.2.16";
|
||||
virtualboxSubVersion = "";
|
||||
virtualboxSha256 = "384f293184c52fd51bc941c17d753b4019446f53a6b07c828adfb3e61fe0a500";
|
||||
virtualboxSha256 = "50356ccdaefe8f03537600ec31898b506e3a85ce79b94f26fb6cc1920c9e18eb";
|
||||
|
||||
kvmPatchVboxVersion = "7.2.6";
|
||||
kvmPatchVersion = "20260201";
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
}:
|
||||
fetchurl rec {
|
||||
pname = "virtualbox-extpack";
|
||||
version = "7.2.14";
|
||||
version = "7.2.16";
|
||||
name = "Oracle_VirtualBox_Extension_Pack-${version}.vbox-extpack";
|
||||
url = "https://download.virtualbox.org/virtualbox/${version}/${name}";
|
||||
sha256 =
|
||||
@@ -13,7 +13,7 @@ fetchurl rec {
|
||||
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
|
||||
# Checksums can also be found at https://download.virtualbox.org/virtualbox/${version}/SHA256SUMS
|
||||
let
|
||||
value = "ce4461de974f041435660751b382f987fece831028a8c98572d668eda2eee96d";
|
||||
value = "d1e268cfa05223fd651703043af09f39dfb90da259ce9ec093d9d9b022f19689";
|
||||
in
|
||||
assert (builtins.stringLength value) == 64;
|
||||
value;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
}:
|
||||
fetchurl {
|
||||
url = "http://download.virtualbox.org/virtualbox/${virtualboxVersion}/VBoxGuestAdditions_${virtualboxVersion}.iso";
|
||||
sha256 = "4f51a073296de31cce53924860549149be5dc339f65dcd1dbf34fd7accefe8fb";
|
||||
sha256 = "c9349c0231d81c821fc1de7b9592bf07bb7c3f111c3f942ddddc211496ef7a3e";
|
||||
meta = {
|
||||
description = "Guest additions ISO for VirtualBox";
|
||||
longDescription = ''
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
libx11,
|
||||
}:
|
||||
let
|
||||
virtualboxVersion = "7.2.14";
|
||||
virtualboxVersion = "7.2.16";
|
||||
virtualboxSubVersion = "";
|
||||
virtualboxSha256 = "384f293184c52fd51bc941c17d753b4019446f53a6b07c828adfb3e61fe0a500";
|
||||
virtualboxSha256 = "50356ccdaefe8f03537600ec31898b506e3a85ce79b94f26fb6cc1920c9e18eb";
|
||||
|
||||
platform =
|
||||
if stdenv.hostPlatform.isAarch64 then
|
||||
@@ -96,6 +96,11 @@ stdenv.mkDerivation {
|
||||
]
|
||||
++ kernel.moduleBuildDependencies;
|
||||
|
||||
# https://github.com/VirtualBox/virtualbox/issues/812
|
||||
postPatch = ''
|
||||
substituteInPlace ./src/vboxguest-${virtualboxVersion}_NixOS/vboxvideo/vbox_fb.c --replace-fail "RTLNX_VER_MIN(6,19,0)" "RTLNX_VER_RANGE(6,6,152, 6,6,999) || RTLNX_VER_RANGE(6,12,103, 6,12,999) || RTLNX_VER_RANGE(6,18,44, 6,18,999) || RTLNX_VER_MIN(6,19,0)"
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
versionCheckHook,
|
||||
}:
|
||||
let
|
||||
version = "1.1.13";
|
||||
buildId = "6068529322131456";
|
||||
version = "1.1.19";
|
||||
buildId = "4894004681244672";
|
||||
wholeVersion = "${version}-${buildId}";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}";
|
||||
@@ -15,15 +15,15 @@ let
|
||||
sourceData = {
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/linux-x64/cli_linux_x64.tar.gz";
|
||||
hash = "sha256-6X92AldCzlcWQ4ON2t2jEFNsqwIX4YAbpUh6cRz8/uY=";
|
||||
hash = "sha256-oCEyp8bGR+8K1IPsvnZ2Ga32tmClWJy6XJN7DIOQm5c=";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/linux-arm/cli_linux_arm64.tar.gz";
|
||||
hash = "sha256-CcNHggD96vwkVl8s09HPlMIv3ayzWVEFK1YwVv7EFR4=";
|
||||
hash = "sha256-Fb2ZWewMCLy/7pSzdvAr2LVS3PF6U5vNIQpEP7gkQ8s=";
|
||||
};
|
||||
aarch64-darwin = fetchurl {
|
||||
url = "https://storage.googleapis.com/antigravity-public/antigravity-cli/${wholeVersion}/darwin-arm/cli_mac_arm64.tar.gz";
|
||||
hash = "sha256-ZkgCqzy6zU1XaxDJvdYPEs6JKDBeNFFHw22Rhbugkps=";
|
||||
hash = "sha256-rXLa9rJV2W5IZP5r0vP6QHD7TFVIRc6vHWOZ2PEJLkU=";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
@@ -9,6 +9,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "basalt";
|
||||
version = "0.12.7";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erikjuhani";
|
||||
repo = "basalt";
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bulk_extractor";
|
||||
version = "2.1.1";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simsong";
|
||||
repo = "bulk_extractor";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Jj/amXESFBu/ZaiIRlDKmtWTBVQ2TEvOM2jBYP3y1L8=";
|
||||
hash = "sha256-Ed+KUImSMVVZEKLKl90YkGruwD8xtevgyozCj44bHic=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-binstall";
|
||||
version = "1.21.1";
|
||||
version = "1.22.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cargo-bins";
|
||||
repo = "cargo-binstall";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7YXdKK6P6LSf/DGDL6jroR3VVqAD4uGUOGJS/dZbcvw=";
|
||||
hash = "sha256-9MxfariJbdol0nPB2fdWpDDrRL6LrBX994FFiKiD45E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-iUYTFtx0KBi4qgJNyuIAGcTCbS4KMyBbTIgR3nDiNAI=";
|
||||
cargoHash = "sha256-42m6TkdsyZm5i/ME8wneJYWmbWICX/Is/S/lqSkx5nw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "cargo-lambda";
|
||||
version = "1.9.1";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cargo-lambda";
|
||||
repo = "cargo-lambda";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Fbrt5zUC5dIfQO6UI0GnZxxLlI4q6tYoDw6ucKR+ouM=";
|
||||
hash = "sha256-WF/s+bSwFG94ooFNBmbZVXCrCzDFxWDBQ7QMXUrcCzg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-AlKty5tpb9plk/rmFso6kWKKbhuxcsH5zDX/xvK5oao=";
|
||||
cargoHash = "sha256-vJBviHdHMtff7QA7xW2D7rX7UYtaYFnW2zB6wvvEtOU=";
|
||||
|
||||
nativeCheckInputs = [ cacert ];
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "chsrc";
|
||||
version = "0.2.6";
|
||||
version = "0.2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RubyMetric";
|
||||
repo = "chsrc";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7vG/E1AtT/SqYI5VvE4bO3KWB867z5BHpo3vCL1M4jI=";
|
||||
hash = "sha256-8GSsxFrZSQkJvJVsBTlCQFY5a2tG92CZVCWameRBEVY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ texinfo ];
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
ffmpeg,
|
||||
flac,
|
||||
yt-dlp,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
@@ -27,6 +28,13 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
vendorHash = "sha256-WYyv0w5KFA15axb+NA9tClfc1H4Znj8kI2boR8XziXg=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-X main.version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "commons-logging";
|
||||
version = "1.3.6";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/commons/logging/binaries/commons-logging-${finalAttrs.version}-bin.tar.gz";
|
||||
sha256 = "sha256-7+wHpv5x63E2u4KEStKz17DIOfqokYzwp/Q1/tBOBxE=";
|
||||
sha256 = "sha256-CEOFR0SEtbEULR0RWVc7dC6FUOZ/eTForuo5tabGn20=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "container2wasm";
|
||||
version = "0.8.3";
|
||||
version = "0.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "container2wasm";
|
||||
repo = "container2wasm";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-cE/cKMMslu4GGVV3aRcdsu7cTdsVABZLs8GX6ihgW38=";
|
||||
hash = "sha256-vmEof0mcvBau/eYtUj5DzzZm5QgkM3G6TsG8doLju78=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-vKvQyrdmtPAjcaXU374eYPll5+Samo+zbaiMjOtGp7I=";
|
||||
vendorHash = "sha256-Lg8gvbnyEcrwDGPiHrB7NR4waB2/yqyQbZsp/pQK0jc=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cubeb";
|
||||
version = "0-unstable-2026-07-25";
|
||||
version = "0-unstable-2026-08-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "cubeb";
|
||||
rev = "ef47ae581df7c2f76058d554b3edde17f9ee7cba";
|
||||
hash = "sha256-vGTB0xsIv89ua9tltdjkxLChVvTKra4kxaWCxszG3x0=";
|
||||
rev = "bce39b6bd1ce1c057edb93c65c75ec9cc774343e";
|
||||
hash = "sha256-BeimaoHyi2ot0KtYRYhArBuCtUE4HCTbAXq9+eAEoWU=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -112,12 +112,12 @@ in
|
||||
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "diffoscope";
|
||||
version = "328";
|
||||
version = "329";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||
hash = "sha256-7cQyrdXldqS9vkGGs+Lgc6gojtYFv8WdJMO1ObZ3NSs=";
|
||||
hash = "sha256-UPe+Mko9r4qoSTPbDurF64aZgmPLizV8iK2UlCfyfxk=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "editres";
|
||||
version = "1.0.9";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "app";
|
||||
repo = "editres";
|
||||
tag = "editres-${finalAttrs.version}";
|
||||
hash = "sha256-fdp6j8zS8mtzHpG9js9c8iIt1vsKsqGG9MdkpLh8UB0=";
|
||||
hash = "sha256-JDRa3IVHw44SQ+eYICoTlhVY0+9q+Bul8zQ/zTU9QiY=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.4.0-stable";
|
||||
version = "1.5.2-stable";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gtsteffaniak";
|
||||
repo = "filebrowser";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Ojz1VTtlCFUTodQ66mr0ozLKsx3kUirm79HuFJu33yQ=";
|
||||
hash = "sha256-1qG6IayTqL4x3CqJyvVSG8Fu4s6ywhWI9t1j9c+wTZM=";
|
||||
};
|
||||
|
||||
frontend = buildNpmPackage {
|
||||
@@ -21,7 +21,7 @@ let
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "${src.name}/frontend";
|
||||
npmDepsHash = "sha256-tisZA7v0WsynNxgbww48eERz9+om4w8MW4IMzQIyh+Y=";
|
||||
npmDepsHash = "sha256-J1PddXU79T0GVcAgxYEW/vraqYxbTvASw8RmW8dDeOw=";
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
@@ -48,7 +48,7 @@ buildGoModule {
|
||||
|
||||
sourceRoot = "${src.name}/backend";
|
||||
|
||||
vendorHash = "sha256-WvilFCwTGXecsD/afUpLL6TrGzr/cgkQeltCKKDc4AI=";
|
||||
vendorHash = "sha256-YAMh0WMe1zDCJq8BuPcekb1J8RvRoxOmsZarKI1ZWcs=";
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p http/embed
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fuse-emulator";
|
||||
version = "1.9.0";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fuse-emulator/fuse-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "sha256-NGGMQZ4hXhauRYTyJ+iZ5OVb4d25D7AzgMkQrBbKs4o=";
|
||||
hash = "sha256-WBW0IlbU3ShYHVnzzuwz/Nc2t6aK/gMrHmW6cU+1VkI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
138
pkgs/by-name/gi/gitcomet/package.nix
Normal file
138
pkgs/by-name/gi/gitcomet/package.nix
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
desktop-file-utils,
|
||||
fontconfig,
|
||||
freetype,
|
||||
zlib,
|
||||
libxcb,
|
||||
libxkbcommon,
|
||||
libGL,
|
||||
vulkan-loader,
|
||||
wayland,
|
||||
git,
|
||||
xdg-utils,
|
||||
makeWrapper,
|
||||
writableTmpDirAsHomeHook,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "gitcomet";
|
||||
version = "0.2.1";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Auto-Explore";
|
||||
repo = "GitComet";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-VRd3HHYuHfOebAT3yC5Tv4CJdFUJkZJHQ8vTzY78OQ0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-L/UXaXC1zymbNfv7SGmOYSvUy/767mAWqL+3jwJwWcE=";
|
||||
|
||||
cargoDepsName = finalAttrs.pname;
|
||||
|
||||
postPatch = ''
|
||||
rm .cargo/config.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
desktop-file-utils
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
freetype
|
||||
zlib
|
||||
libxcb
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [
|
||||
"ui-gpui"
|
||||
"gix"
|
||||
];
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--package=gitcomet"
|
||||
"--bin=gitcomet"
|
||||
];
|
||||
|
||||
checkNoDefaultFeatures = true;
|
||||
checkFeatures = [ "gix" ];
|
||||
cargoTestFlags = [
|
||||
"--workspace"
|
||||
"--exclude=gitcomet-ui-gpui"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
GIT_PAGER = "cat";
|
||||
dontUseCargoParallelTests = true;
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 assets/linux/gitcomet.desktop \
|
||||
$out/share/applications/gitcomet.desktop
|
||||
desktop-file-validate $out/share/applications/gitcomet.desktop
|
||||
|
||||
for size in 32 48 128 256 512; do
|
||||
install -Dm644 "assets/linux/hicolor/''${size}x''${size}/apps/gitcomet.png" \
|
||||
"$out/share/icons/hicolor/''${size}x''${size}/apps/gitcomet.png"
|
||||
done
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchelf $out/bin/gitcomet --add-rpath ${
|
||||
lib.makeLibraryPath [
|
||||
libGL
|
||||
vulkan-loader
|
||||
wayland
|
||||
]
|
||||
}
|
||||
|
||||
wrapProgram $out/bin/gitcomet \
|
||||
--prefix PATH : "${
|
||||
lib.makeBinPath [
|
||||
git
|
||||
xdg-utils
|
||||
]
|
||||
}" \
|
||||
--set-default GITCOMET_NO_UPDATE_CHECK 1
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex=^v([0-9]+[.][0-9]+[.][0-9]+)$"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Fast, resource-efficient Git GUI written in Rust";
|
||||
homepage = "https://gitcomet.dev";
|
||||
changelog = "https://github.com/Auto-Explore/GitComet/releases/tag/v${finalAttrs.version}";
|
||||
license = with lib.licenses; [
|
||||
agpl3Only
|
||||
ofl
|
||||
];
|
||||
maintainers = with lib.maintainers; [
|
||||
rachalaraj
|
||||
havunen
|
||||
];
|
||||
mainProgram = "gitcomet";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "gl3w";
|
||||
version = "0-unstable-2025-11-07";
|
||||
version = "0-unstable-2026-08-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "skaslev";
|
||||
repo = "gl3w";
|
||||
rev = "d5ba9340cdeb9154323817f5c87e5a5c377fdef7";
|
||||
hash = "sha256-IAI0Ep2s79UT2d8davHnUp65SvE5mubwqVg6ym1Agw4=";
|
||||
rev = "372e391702acac616e0fd32e3eaccf19d58b9626";
|
||||
hash = "sha256-CQZ12557ruFkuoKFyaFja6rEgzqRtbVAupHYfM2J4XQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -6,13 +6,15 @@
|
||||
|
||||
buildGoModule {
|
||||
pname = "go-autoconfig";
|
||||
version = "unstable-2022-08-03";
|
||||
version = "0.0.1-unstable-2022-08-03";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "savely-krasovsky";
|
||||
repo = "go-autoconfig";
|
||||
rev = "b1b182202da82cc881dccd715564853395d4f76a";
|
||||
sha256 = "sha256-Rbg6Ghp5NdcLSLSIhwwFFMKmZPWsboDyHCG6ePqSSZA=";
|
||||
hash = "sha256-Rbg6Ghp5NdcLSLSIhwwFFMKmZPWsboDyHCG6ePqSSZA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-pI2iucrt7XLLZNOz364kOEulXxPdvJp92OewqnkQEO4=";
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
|
||||
buildGoModule {
|
||||
pname = "go-bindata-assetfs";
|
||||
version = "unstable-2022-04-12";
|
||||
version = "1.0.1-unstable-2022-04-12";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elazarl";
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
|
||||
buildGoModule {
|
||||
pname = "go-sct";
|
||||
version = "unstable-2022-01-32";
|
||||
version = "1.0-unstable-2022-01-31";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "d4l3k";
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
|
||||
buildGoModule {
|
||||
pname = "golint";
|
||||
version = "unstable-2020-12-08";
|
||||
version = "0-unstable-2020-12-08";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
# we must allow references to the original `go` package, as golint uses
|
||||
# compiler go/build package to load the packages it's linting.
|
||||
@@ -15,7 +17,7 @@ buildGoModule {
|
||||
src = fetchgit {
|
||||
url = "https://go.googlesource.com/lint";
|
||||
rev = "83fdc39ff7b56453e3793356bcff3070b9b96445";
|
||||
sha256 = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c=";
|
||||
hash = "sha256-g4Z9PREOxGoN7n/XhutawsITBznJlbz6StXeDYvOQ1c=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-dPadFoymYu2Uw2AXZfbaBfxsN8IWMuK1TrcknHco3Bo=";
|
||||
|
||||
@@ -3,27 +3,32 @@
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "goofys";
|
||||
version = "unstable-2022-04-21";
|
||||
version = "0.24.0-unstable-2022-04-21";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kahing";
|
||||
repo = "goofys";
|
||||
# Same as v0.24.0 but migrated to Go modules
|
||||
rev = "829d8e5ce20faa3f9f6f054077a14325e00e9249";
|
||||
sha256 = "sha256-6yVMNSwwPZlADXuPBDRlgoz4Stuz2pgv6r6+y2/C8XY=";
|
||||
hash = "sha256-6yVMNSwwPZlADXuPBDRlgoz4Stuz2pgv6r6+y2/C8XY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-shFld293pdmVcnu3p0NoBmPGLJddZd4O/gJ8klgdlQ8=";
|
||||
vendorHash = "sha256-2N8MshBo9+2q8K00eTW5So6d8ZNRzOfQkEKmxR428gI=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
# Tests require networking
|
||||
doCheck = false;
|
||||
|
||||
# Tests are using networking
|
||||
postPatch = ''
|
||||
rm internal/*_test.go
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
preVersionCheck = ''
|
||||
export version=0.24.0
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
protobuf,
|
||||
lib,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "grpc-health-check";
|
||||
version = "unstable-2022-08-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paypizza";
|
||||
repo = "grpc-health-check";
|
||||
rev = "f61bb5e10beadc5ed53144cc540d66e19fc510bd";
|
||||
hash = "sha256-nKut9c1HHIacdRcmvlXe0GrtkgCWN6sxJ4ImO0CIDdo=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-NdwQ9gctO0Thaes2T5E9lo6dZ00+FoA3IO553g+NJh0=";
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
# tests fail
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Minimal, high performance, memory-friendly, safe implementation of the gRPC health checking protocol";
|
||||
homepage = "https://github.com/paypizza/grpc-health-check";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ flokli ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -6,13 +6,16 @@
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "gsmlib";
|
||||
version = "unstable-2017-10-06";
|
||||
version = "0-unstable-2017-10-06";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "x-logLT";
|
||||
repo = "gsmlib";
|
||||
rev = "4f794b14450132f81673f7d3570c5a859aecf7ae";
|
||||
sha256 = "16v8aj914ac1ipf14a867ljib3gy7fhzd9ypxnsg9l0zi8mm3ml5";
|
||||
hash = "sha256-hdZRK4of0PS07den9qE7/o0VJT0GKRLcjYEpEpJUaJs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
@@ -25,7 +28,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Library to access GSM mobile phones through GSM modems";
|
||||
homepage = "https://github.com/x-logLT/gsmlib";
|
||||
license = lib.licenses.lgpl2;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.misuzu ];
|
||||
};
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
let
|
||||
pname = "hunk";
|
||||
version = "0.18.0";
|
||||
version = "0.19.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "modem-dev";
|
||||
repo = "hunk";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-IkARkW5haVmc+iZPYe22sUi5Ak+egImdrEugtr2O5A4=";
|
||||
hash = "sha256-PWblqDS86PaSl5ToFawCNGTxmrWcmoBAfq8R5lMDbyk=";
|
||||
};
|
||||
|
||||
node_modules = stdenv.mkDerivation {
|
||||
@@ -56,7 +56,7 @@ let
|
||||
|
||||
dontFixup = true;
|
||||
|
||||
outputHash = "sha256-ueZNCab0yDRgvftao1Wgy8yrcxh1mdnQl6zR237q8WI=";
|
||||
outputHash = "sha256-Ixsv2wXb39kSRck9ZbjJjRlzn4KS2fkfl3v4MEeD7cE=";
|
||||
outputHashMode = "recursive";
|
||||
};
|
||||
in
|
||||
@@ -76,9 +76,9 @@ stdenv.mkDerivation {
|
||||
postPatch = ''
|
||||
substituteInPlace src/core/paths.ts \
|
||||
--replace-fail \
|
||||
'join("node_modules", "hunkdiff", HUNK_REVIEW_SKILL_RELATIVE_PATH),' \
|
||||
'join("node_modules", "hunkdiff", HUNK_REVIEW_SKILL_RELATIVE_PATH),
|
||||
join("share", "skills", "hunk", "hunk-review", "SKILL.md"),'
|
||||
'join("node_modules", "hunkdiff", skillRelativePath),' \
|
||||
'join("node_modules", "hunkdiff", skillRelativePath),
|
||||
join("share", "skills", "hunk", name, "SKILL.md"),'
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
@@ -110,8 +110,8 @@ stdenv.mkDerivation {
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 hunk $out/bin/hunk
|
||||
mkdir -p $out/share/skills/hunk/hunk-review
|
||||
cp skills/hunk-review/SKILL.md $out/share/skills/hunk/hunk-review/SKILL.md
|
||||
mkdir -p $out/share/skills/hunk
|
||||
cp -R skills/hunk-review skills/hunk-extensions $out/share/skills/hunk/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
@@ -131,6 +131,7 @@ stdenv.mkDerivation {
|
||||
|
||||
$out/bin/hunk --version | grep -F ${version}
|
||||
test -f "$($out/bin/hunk skill path)"
|
||||
test -f "$($out/bin/hunk skill path hunk-extensions)"
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "jacoco";
|
||||
version = "0.8.14";
|
||||
version = "0.8.15";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://search.maven.org/remotecontent?filepath=org/jacoco/jacoco/${finalAttrs.version}/jacoco-${finalAttrs.version}.zip";
|
||||
stripRoot = false;
|
||||
sha256 = "sha256-ysqPAxZK/mcnGiqqqTzfCOCyAcvMMvymFrSme6rFCJE=";
|
||||
hash = "sha256-9B+IkVEWs1hfcI6CSfTIm1EvsuRKiXpHjQfAPGkkqxE=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "kitex";
|
||||
version = "0.16.2";
|
||||
version = "0.16.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudwego";
|
||||
repo = "kitex";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-RlKdOpe1VhSLPBghBDcC+pi4sodwrNg4vNMGe9A9uYM=";
|
||||
hash = "sha256-zikltrh2H1EzzZWIELleyOz7A1twvNECSJUlSGZWQMU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aKZvMS6dm8EqZgelZ4eCgM7dAob99rEJSURX/Lz2UyU=";
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "labwc";
|
||||
version = "0.20.1";
|
||||
version = "0.20.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "labwc";
|
||||
repo = "labwc";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-1LINOZsdN5btT0VQvUwYXbSjuKdQdbkaI062OYAJSiE=";
|
||||
hash = "sha256-gKix9UW4np6fMoMZgHN9G4opwbPkT6ax5G5ZWQCzYio=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
108
pkgs/by-name/la/lark-cli/extract-meta.py
Normal file
108
pkgs/by-name/la/lark-cli/extract-meta.py
Normal file
@@ -0,0 +1,108 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Extract the API registry embedded in an official lark-cli release binary.
|
||||
|
||||
lark-cli embeds its registry of Lark Open Platform APIs
|
||||
(internal/registry/meta_data.json) into the binary at build time:
|
||||
build.sh runs scripts/fetch_meta.py and internal/registry/loader_embedded.go
|
||||
pulls the file in via go:embed. scripts/fetch_meta.py stores the document
|
||||
with json.dump(..., indent=2), so the registry exists verbatim in the
|
||||
binary's read-only data section as a pretty-printed JSON object.
|
||||
|
||||
This script locates that object without anchoring on any particular key
|
||||
order: the key order of the embedded registry is whatever the API endpoint
|
||||
used on the day upstream built the release (releases 1.0.58 and 1.0.88
|
||||
already differ), so it enumerates every pretty-printed top-level object in
|
||||
the binary and keeps the only one that parses as JSON with a non-empty
|
||||
"services" list. Extraction uses a brace-matching scan that is string- and
|
||||
escape-aware. The binary is never executed, so the linux-amd64 release
|
||||
artifact works as the source on every platform.
|
||||
|
||||
If upstream changes how the registry is embedded, extraction fails loudly
|
||||
instead of silently producing stale data.
|
||||
"""
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
||||
|
||||
def candidates(data: bytes):
|
||||
# json.dump(..., indent=2) indents nested objects deeper, so a newline
|
||||
# followed by exactly two spaces can only occur at the top level of a
|
||||
# pretty-printed document: every such '{' is a candidate, and inner
|
||||
# objects of the registry itself never match. Raw newlines cannot occur
|
||||
# inside JSON strings, so string literals produce no false candidates
|
||||
# either. The registry's own key order is whatever the endpoint used
|
||||
# when upstream built the release; do not anchor on any specific key.
|
||||
marker = b'{\n "'
|
||||
start = 0
|
||||
while True:
|
||||
offset = data.find(marker, start)
|
||||
if offset < 0:
|
||||
return
|
||||
start = offset + 1
|
||||
yield offset
|
||||
|
||||
|
||||
def extract_object(data: bytes, start: int) -> bytes | None:
|
||||
# Returns the bytes of the JSON object starting at `start`, or None when
|
||||
# the bytes do not form one. Bails out on NUL bytes and unbalanced
|
||||
# closes, which end non-JSON regions of the binary quickly.
|
||||
depth = 0
|
||||
in_string = False
|
||||
escaped = False
|
||||
for offset in range(start, len(data)):
|
||||
byte = data[offset]
|
||||
if byte == 0:
|
||||
return None
|
||||
if in_string:
|
||||
if escaped:
|
||||
escaped = False
|
||||
elif byte == 0x5C: # backslash
|
||||
escaped = True
|
||||
elif byte == 0x22: # double quote
|
||||
in_string = False
|
||||
elif byte == 0x22:
|
||||
in_string = True
|
||||
elif byte == 0x7B: # '{'
|
||||
depth += 1
|
||||
elif byte == 0x7D: # '}'
|
||||
depth -= 1
|
||||
if depth < 0:
|
||||
return None
|
||||
if depth == 0:
|
||||
return data[start : offset + 1]
|
||||
return None
|
||||
|
||||
|
||||
def main() -> None:
|
||||
if len(sys.argv) != 3:
|
||||
sys.exit(f"usage: {sys.argv[0]} LARK_CLI_BINARY OUTPUT_JSON")
|
||||
|
||||
binary_path, output_path = sys.argv[1], sys.argv[2]
|
||||
with open(binary_path, "rb") as fp:
|
||||
data = fp.read()
|
||||
|
||||
registry = None
|
||||
for start in candidates(data):
|
||||
blob = extract_object(data, start)
|
||||
if blob is None:
|
||||
continue
|
||||
try:
|
||||
document = json.loads(blob)
|
||||
except ValueError:
|
||||
continue
|
||||
# The real registry is the only candidate with a non-empty service
|
||||
# list; embedded fallbacks look like {"version":"0.0.0","services":[]}.
|
||||
if isinstance(document.get("services"), list) and document["services"]:
|
||||
if registry is None or len(blob) > len(registry):
|
||||
registry = blob
|
||||
|
||||
if registry is None:
|
||||
sys.exit("no embedded API registry found in binary")
|
||||
|
||||
with open(output_path, "wb") as fp:
|
||||
fp.write(registry)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -3,14 +3,15 @@
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
jq,
|
||||
python3,
|
||||
runCommand,
|
||||
testers,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "lark-cli";
|
||||
version = "1.0.58";
|
||||
version = "1.0.88";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -18,23 +19,50 @@ buildGoModule (finalAttrs: {
|
||||
owner = "larksuite";
|
||||
repo = "cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-MqaxcmzX/79vM2EI8wD4ZAFsUfqWvPAovlpmuDP1IWU=";
|
||||
hash = "sha256-MRaFOq+0+ieNPG23ncYot/kp5hyWER7bX95I+trLHbw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-M0/Y62Y+M/P1B/YIDjX5bEyB/GKihCWQakTWVd7zvBg=";
|
||||
vendorHash = "sha256-WClES7ilNmQ0018Qf13tNHouE/SIwh99MaewZ7VGQ2E=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
metaData = fetchurl {
|
||||
name = "meta_data.json";
|
||||
url = "https://open.feishu.cn/api/tools/open/api_definition?protocol=meta&client_version=v${finalAttrs.version}";
|
||||
hash = "sha256-ihPrq/VzFIBnlrKxE2762NpQZzBRk7ylM3Mvg0iJfCE=";
|
||||
postFetch = ''
|
||||
${lib.getExe jq} -S ".data" "$out" > normalized
|
||||
mv normalized "$out"
|
||||
'';
|
||||
# The registry of Open Platform APIs that lark-cli embeds at build time
|
||||
# (internal/registry/meta_data.json). Upstream regenerates this file on
|
||||
# every build from a live endpoint (scripts/fetch_meta.py,
|
||||
# https://open.feishu.cn/api/tools/open/api_definition?protocol=meta).
|
||||
# That endpoint serves a continuously updated document with no way to pin
|
||||
# a version: the "data_version" parameter is only an exact-match
|
||||
# conditional against a constant "1.0.0" that is never bumped,
|
||||
# "client_version" is ignored, and there is no ETag, Last-Modified or
|
||||
# historical access. Hash-pinning such a URL breaks as soon as the content
|
||||
# drifts, and old revisions of this package become unbuildable because the
|
||||
# bytes behind the URL are gone forever; this already happened to 1.0.58.
|
||||
#
|
||||
# The official release binaries embed the exact registry that upstream
|
||||
# built the corresponding version with (build.sh runs fetch_meta.py before
|
||||
# go build, and loader_embedded.go go:embeds the file). Release artifacts
|
||||
# are immutable per version and checksummed upstream, so we extract the
|
||||
# registry from the binary for this exact version instead: byte-exact,
|
||||
# version-faithful (building 1.0.x yields the registry the official 1.0.x
|
||||
# binary ships with) and reproducible for old revisions. Extraction is a
|
||||
# pure byte scan, so the linux-amd64 tarball works on every platform.
|
||||
# Hash recorded in the release checksums.txt.
|
||||
metaDataRelease = fetchurl {
|
||||
name = "lark-cli-${finalAttrs.version}-linux-amd64.tar.gz";
|
||||
url = "https://github.com/larksuite/cli/releases/download/v${finalAttrs.version}/lark-cli-${finalAttrs.version}-linux-amd64.tar.gz";
|
||||
hash = "sha256-SX3iCTms3SquTImP6noMpx1aRZ7VQyAudiqLyzIo7/4=";
|
||||
};
|
||||
|
||||
metaData =
|
||||
runCommand "meta_data.json-${finalAttrs.version}"
|
||||
{
|
||||
nativeBuildInputs = [ python3 ];
|
||||
}
|
||||
''
|
||||
tar xf ${finalAttrs.metaDataRelease} lark-cli
|
||||
python3 ${./extract-meta.py} lark-cli $out
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
cp ${finalAttrs.metaData} internal/registry/meta_data.json
|
||||
'';
|
||||
@@ -55,7 +83,7 @@ buildGoModule (finalAttrs: {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--custom-dep"
|
||||
"metaData"
|
||||
"metaDataRelease"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "lprobe";
|
||||
version = "0.1.9";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fivexl";
|
||||
repo = "lprobe";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-eR4WJD0Wa1+erwrmZBfH3wD1iSjH9s33nxaO+6bwMGE=";
|
||||
hash = "sha256-JDZgjtXfWte4+rTNv4o7pKc4SnqLZkmh3NvEd5X4yGM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-kA4vXOOaQicjaoQeQest1NPAXXK4hmMXz2uFo4QGWO8=";
|
||||
vendorHash = "sha256-r5qKJ3Pd99yyBf4Eugz21UXO8IamutomdEy3aCor+sI=";
|
||||
|
||||
buildInputs = [
|
||||
libpcap
|
||||
|
||||
156
pkgs/by-name/ly/ly/deps.nix
generated
156
pkgs/by-name/ly/ly/deps.nix
generated
@@ -1,156 +0,0 @@
|
||||
# generated by zon2nix (https://github.com/jcollie/zon2nix)
|
||||
{
|
||||
lib,
|
||||
linkFarm,
|
||||
fetchzip,
|
||||
fetchurl,
|
||||
fetchgit,
|
||||
runCommandLocal,
|
||||
zig_0_15,
|
||||
zstd,
|
||||
name ? "zig-packages",
|
||||
}:
|
||||
let
|
||||
unpackZigArtifact =
|
||||
{
|
||||
name,
|
||||
artifact,
|
||||
}:
|
||||
runCommandLocal name
|
||||
{
|
||||
nativeBuildInputs = [ zig_0_15 ];
|
||||
}
|
||||
''
|
||||
hash="$(cd "$TMPDIR" && zig fetch --global-cache-dir "$TMPDIR" ${artifact})"
|
||||
mv "$TMPDIR/p/$hash" "$out"
|
||||
chmod 755 "$out"
|
||||
'';
|
||||
|
||||
fetchZig =
|
||||
{
|
||||
name,
|
||||
url,
|
||||
hash,
|
||||
unpack,
|
||||
}:
|
||||
let
|
||||
artifact =
|
||||
if unpack then
|
||||
fetchzip {
|
||||
inherit url hash;
|
||||
nativeBuildInputs = [ zstd ];
|
||||
}
|
||||
else
|
||||
fetchurl { inherit url hash; };
|
||||
in
|
||||
unpackZigArtifact { inherit name artifact; };
|
||||
|
||||
fetchGitZig =
|
||||
{
|
||||
name,
|
||||
url,
|
||||
hash,
|
||||
}:
|
||||
let
|
||||
parts = lib.splitString "#" url;
|
||||
url_base = builtins.elemAt parts 0;
|
||||
url_without_query = builtins.elemAt (lib.splitString "?" url_base) 0;
|
||||
rev_base = builtins.elemAt parts 1;
|
||||
rev =
|
||||
if builtins.match "^[a-fA-F0-9]{40}$" rev_base != null then rev_base else "refs/heads/${rev_base}";
|
||||
in
|
||||
fetchgit {
|
||||
inherit name rev hash;
|
||||
url = url_without_query;
|
||||
deepClone = false;
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
|
||||
fetchZigArtifact =
|
||||
{
|
||||
name,
|
||||
url,
|
||||
hash,
|
||||
unpack,
|
||||
}:
|
||||
let
|
||||
parts = lib.splitString "://" url;
|
||||
proto = builtins.elemAt parts 0;
|
||||
path = builtins.elemAt parts 1;
|
||||
fetcher = {
|
||||
"git+http" = fetchGitZig {
|
||||
inherit name hash;
|
||||
url = "http://${path}";
|
||||
};
|
||||
"git+https" = fetchGitZig {
|
||||
inherit name hash;
|
||||
url = "https://${path}";
|
||||
};
|
||||
http = fetchZig {
|
||||
inherit name hash unpack;
|
||||
url = "http://${path}";
|
||||
};
|
||||
https = fetchZig {
|
||||
inherit name hash unpack;
|
||||
url = "https://${path}";
|
||||
};
|
||||
};
|
||||
in
|
||||
fetcher.${proto};
|
||||
in
|
||||
linkFarm name [
|
||||
{
|
||||
name = "aro-0.0.0-JSD1Qi7QNgDnfcrdEJf82v3o6MhZySjYVrtdfEf3E4Se";
|
||||
path = fetchZigArtifact {
|
||||
name = "aro";
|
||||
url = "git+https://github.com/Vexu/arocc#5f5a050569a95ecc40a426f0c3666ae7ef987ede";
|
||||
hash = "sha256-f8Z0SXWx5Uia2TCMB5SUpcO8+xUnaWk32Oknva7xcxw=";
|
||||
unpack = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "clap-0.11.0-oBajB7foAQC3Iyn4IVCkUdYaOVVng5IZkSncySTjNig1";
|
||||
path = fetchZigArtifact {
|
||||
name = "clap";
|
||||
url = "git+https://github.com/Hejsil/zig-clap#fc1e5cc3f6d9d3001112385ee6256d694e959d2f";
|
||||
hash = "sha256-sIDCZW4q9BQwy4AJjJ6r+mSkJ3usbnMmY9zkE4EVAy8=";
|
||||
unpack = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "ini-0.1.0-YCQ9YiwsAACghqF8LZyjAF2H_NnL6n29QLuCe0fsmPTo";
|
||||
path = fetchZigArtifact {
|
||||
name = "ini";
|
||||
url = "git+https://github.com/AshAmetrine/ziglibs-ini?ref=zig-0.16.0#3b733e10adc6c4c48050709b97a22258bc2e6156";
|
||||
hash = "sha256-t+6zFMwpPgMrUygBcQCM0s10zK320D46xAgr2FSw3tU=";
|
||||
unpack = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "N-V-__8AAAUXBQD6Fwpi9m0MBqWXFFaqW5l1lVrJC2Ynj7a-";
|
||||
path = fetchZigArtifact {
|
||||
name = "termbox2";
|
||||
url = "git+https://github.com/AnErrupTion/termbox2?ref=master#c7f241e8888ce243e1748b05c26a42fcfaaad936";
|
||||
hash = "sha256-7lA75r4sbKDHknZKK9jSbN/RNmTj56HQOvyYdazIEbA=";
|
||||
unpack = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "translate_c-0.0.0-Q_BUWvP1BgCjAk6PWv5286tOlvzD9-X-NkuTzh0KxY0Q";
|
||||
path = fetchZigArtifact {
|
||||
name = "translate_c";
|
||||
url = "git+https://codeberg.org/ziglang/translate-c#7a1a9fdc4ab00835748a6657ecbb835e3d5d45f7";
|
||||
hash = "sha256-zdZ/it+/yNGfszHLqpXpi20Gkwm8fduMMs1/l9oaje8=";
|
||||
unpack = true;
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "zigini-0.5.0-BSkB7e9WAACfyCBABNZiWL3gFMw18GKn3qBcPs8L1Ec1";
|
||||
path = fetchZigArtifact {
|
||||
name = "zigini";
|
||||
url = "git+https://github.com/AshAmetrine/zigini?ref=master#a665d081dda42664a96da2840ea09c5ccf9d0692";
|
||||
hash = "sha256-8zwniFOQFTrFNOrfudhtoCXQBTBKSmc3XF1bNSb3Av8=";
|
||||
unpack = true;
|
||||
};
|
||||
}
|
||||
]
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
callPackage,
|
||||
fetchFromCodeberg,
|
||||
lib,
|
||||
libxcb,
|
||||
@@ -10,8 +9,8 @@
|
||||
versionCheckHook,
|
||||
x11Support ? true,
|
||||
zig_0_16,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
zig = zig_0_16;
|
||||
in
|
||||
@@ -36,11 +35,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals x11Support [ libxcb ];
|
||||
|
||||
zigBuildFlags = [
|
||||
"--system"
|
||||
"${callPackage ./deps.nix { }}"
|
||||
"-Denable_x11_support=${lib.boolToString x11Support}"
|
||||
];
|
||||
zigDeps = zig.fetchDeps {
|
||||
inherit (finalAttrs) src pname version;
|
||||
fetchAll = true;
|
||||
hash = "sha256-ZTGQhsDTpWfG4giM0WsfCjlDVr4htC6WWBpSGyKZUr0=";
|
||||
};
|
||||
|
||||
postConfigure = ''
|
||||
ln -s ${finalAttrs.zigDeps} "$ZIG_GLOBAL_CACHE_DIR/p"
|
||||
'';
|
||||
|
||||
zigBuildFlags = [ "-Denable_x11_support=${lib.boolToString x11Support}" ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm0644 res/config.ini "$out/etc/config.ini"
|
||||
@@ -50,7 +55,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) ly; };
|
||||
passthru = {
|
||||
tests = { inherit (nixosTests) ly; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "TUI display manager";
|
||||
|
||||
@@ -165,7 +165,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "Simple and elegant markdown editor, available for Linux, macOS and Windows";
|
||||
homepage = "https://www.marktext.cc";
|
||||
homepage = "https://www.marktext.me";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
nh2
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "moon";
|
||||
version = "2.4.6";
|
||||
version = "2.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moonrepo";
|
||||
repo = "moon";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7gpFETidVK99Dtd22xCmKLdZHm6SBmxCuMqk6ganfe8=";
|
||||
hash = "sha256-HR9C76TBmxLElZzNC/+Eyt61T2HYn6ElOGG50Oj3Eng=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wcYk4Yz/PGhsiIHMNnyoHzBBhFHbrAmt+L9qX9HLb5Y=";
|
||||
cargoHash = "sha256-6SgCcaPLQ6pj7bJU6iBV8mk8EsulCpFDL+26ip6TSgY=";
|
||||
|
||||
env = {
|
||||
RUSTFLAGS = "-C strip=symbols";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.3.2-24574169";
|
||||
version = "1.3.2-24650233";
|
||||
urlVersion = lib.replaceStrings [ "." ] [ "-" ] version;
|
||||
|
||||
in
|
||||
@@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation {
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://necesse.pwn.sh/server/necesse-server-linux64-${urlVersion}.zip";
|
||||
hash = "sha256-WJY9cTtkZcL55khatPesG1asS06tUnazzP0bp80cfu8=";
|
||||
hash = "sha256-csFBev2t0i49GbD/oiIP2h7081ZFRdnlXVZh+2dabBs=";
|
||||
};
|
||||
|
||||
# removing packaged jre since we use our own
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "numkong";
|
||||
version = "7.8.0";
|
||||
version = "7.8.1";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "ashvardanian";
|
||||
repo = "NumKong";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-E6RJ0pjcyE8fYxd/5gE89bQUz9crcAnSB1NZowCsviM=";
|
||||
hash = "sha256-RaEfrrPbr+BICT1EU/UGfFFWw2leO0eahz6Vo9/pBqE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opengrok";
|
||||
version = "1.14.15";
|
||||
version = "1.14.16";
|
||||
|
||||
# binary distribution
|
||||
src = fetchurl {
|
||||
url = "https://github.com/oracle/opengrok/releases/download/${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-+XRXwVyVpPjDhUPIriECQBntK4hZ1w2GKvf0NPnUwTU=";
|
||||
hash = "sha256-ZZNTkPaPJzH9dInzb4qdEQSnSzU13LMW3B6JIO/N2RA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
clangStdenv.mkDerivation rec {
|
||||
pname = "pg_checksums";
|
||||
version = "1.3";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "credativ";
|
||||
repo = "pg_checksums";
|
||||
rev = version;
|
||||
sha256 = "sha256-iPgiiOxj3EDK7uf0D94oZSGz3RQbK3yEvdKNCW2Q1N0=";
|
||||
sha256 = "sha256-CXWJroUkp6g1g0T5skx8P5rZyv1Pvzb/DQ7ezuDNi7s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildGoModule {
|
||||
pname = "pkgsite";
|
||||
version = "0.3.0-unstable-2026-08-12";
|
||||
version = "0.4.0-unstable-2026-08-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = "pkgsite";
|
||||
rev = "87ad201175e81c89d34ae301a43baa4f2768b732";
|
||||
hash = "sha256-jmbCalYhZaymxBBdO9uALl4SEbc48TC0GuJRwq35e4Y=";
|
||||
rev = "ac4376fe69c9ad5618c5c50d5382edf7fd93ea49";
|
||||
hash = "sha256-xm9LlGPn0tUf1Yqb01Ihdxu71ByP8ZS7L04Dajqages=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-NZzA9QxVSYuSjeZOiwUAXAPBrN00JLHQNPp1lXqtmCw=";
|
||||
vendorHash = "sha256-HSEroer2bQbXWFBW9whOOebTvxW+QuzcPCd9XOya5r4=";
|
||||
|
||||
subPackages = [ "cmd/pkgsite" ];
|
||||
|
||||
|
||||
@@ -1,19 +1,23 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchCrate,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "protonup-rs";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-SqE3SKsiVnZUDa9ffazWi4RaIrIO9j7WanFM1HN6uW4=";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "auyer";
|
||||
repo = "protonup-rs";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fEDrWc3IXRuEV8bqtU366Dw9WiQ9+YMC9ByDYeUy//s=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-l54zI1llVRjYjSKtgjAc2DXSnLS31CVhD3Q0TEKdNBA=";
|
||||
cargoHash = "sha256-bbt+EJfhIf95LFDzZXKsAi14RwqEy+IOGCtrsjqOUOU=";
|
||||
|
||||
checkFlags = [
|
||||
# Requires internet access
|
||||
|
||||
@@ -6,53 +6,92 @@
|
||||
curl,
|
||||
gnugrep,
|
||||
cacert,
|
||||
dpkg,
|
||||
writeShellScript,
|
||||
blockNetwork ? false,
|
||||
}:
|
||||
let
|
||||
pname = "pureref";
|
||||
version = "2.1.3";
|
||||
deb =
|
||||
runCommand "PureRef-${version}_x64"
|
||||
homepage = "https://www.pureref.com";
|
||||
|
||||
kindCurl = ''curl -s -A "nixpkgs/Please contact maintainers if there is an issue"'';
|
||||
downloadKeyCmd = ''${kindCurl} "${homepage}/download.php" | grep '%3D%3D' | cut -d '"' -f2'';
|
||||
archiveUrl =
|
||||
v: k: "${homepage}/files/build.php?build=LINUX64.Appimage&version=${v}&downloadKey=${k}";
|
||||
|
||||
src =
|
||||
runCommand "PureRef-${version}.AppImage"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
curl
|
||||
gnugrep
|
||||
cacert
|
||||
dpkg
|
||||
];
|
||||
outputHash = "sha256-7S0nnEwtGKKKNPZL2pb5Z8bKKB5eWvymSS2pQo9cJa0=";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "sha256-N5iyT/WFOFBZdfjHX6lZD2EqiOmTdYQEf2YIlN2o7/M=";
|
||||
outputHashMode = "flat";
|
||||
}
|
||||
''
|
||||
key="$(curl -A 'nixpkgs/Please contact maintainer if there is an issue' "https://www.pureref.com/download.php" --silent | grep '%3D%3D' | cut -d '"' -f2)"
|
||||
curl -L "https://www.pureref.com/files/build.php?build=LINUX64.deb&version=${version}&downloadKey=$key" --output $name.deb
|
||||
dpkg-deb -x $name.deb $out
|
||||
chmod 755 $out
|
||||
key="$(${downloadKeyCmd})"
|
||||
curl -L "${archiveUrl version "$key"}" --output $out
|
||||
'';
|
||||
|
||||
archive = appimageTools.extract { inherit pname version src; };
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
pname = "pureref";
|
||||
inherit version;
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
src = "${deb}/usr/bin/PureRef";
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/pureref $out/bin/PureRef
|
||||
cp -r ${deb}/usr/share $out
|
||||
wrapProgram $out/bin/PureRef --set QT_QPA_PLATFORM xcb
|
||||
ln -s $out/bin/PureRef $out/bin/pureref
|
||||
cp -r ${archive}/usr/share $out
|
||||
wrapProgram $out/bin/PureRef \
|
||||
--set QT_QPA_PLATFORM xcb \
|
||||
--unset QT_STYLE_OVERRIDE \
|
||||
--set FONTCONFIG_FILE /etc/fonts/fonts.conf
|
||||
''
|
||||
+ lib.optionalString blockNetwork ''
|
||||
sed -i 's|--die-with-parent|--unshare-net\n --die-with-parent|' $out/bin/.PureRef-wrapped
|
||||
'';
|
||||
|
||||
passthru.updateScript = writeShellScript "update-pureref" ''
|
||||
set -eux
|
||||
package_nix="${toString ./package.nix}"
|
||||
|
||||
echo "Fetching latest version..."
|
||||
version=$(${kindCurl} "${homepage}/buildfinder.php" | sed -n 's/.*PureRef-\([0-9.]*\)_.*/\1/p')
|
||||
|
||||
if [ -z "$version" ]; then
|
||||
echo "Failed to find version, contact nixpkgs maintainers"
|
||||
exit 1
|
||||
else
|
||||
echo "Found new version: $version"
|
||||
fi
|
||||
|
||||
echo "Computing hash..."
|
||||
key=$(${downloadKeyCmd})
|
||||
url="${archiveUrl "$version" "$key"}"
|
||||
hash=$(nix-prefetch-url --type sha256 --name "PureRef-$version.AppImage" "$url")
|
||||
sri=$(nix hash convert --hash-algo sha256 --to sri "$hash")
|
||||
|
||||
echo "Updating version in $package_nix to $version"
|
||||
sed -i "s|version = \".*\"|version = \"$version\"|" "$package_nix"
|
||||
echo "Updating hash in $package_nix to $sri"
|
||||
sed -i "s|outputHash = \".*\"|outputHash = \"$sri\"|" "$package_nix"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Reference Image Viewer";
|
||||
homepage = "https://www.pureref.com";
|
||||
inherit homepage;
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [
|
||||
elnudev
|
||||
husjon
|
||||
lnk3
|
||||
];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "PureRef";
|
||||
mainProgram = "pureref";
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "quickjs-ng";
|
||||
version = "0.16.1";
|
||||
version = "0.16.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quickjs-ng";
|
||||
repo = "quickjs";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-qTBRR38axE6CtShUBaaLjytszKRzo/8eyARw9JRJBAA=";
|
||||
hash = "sha256-r4aO+ItSogpFeYRPfAditJsit5qN8J5LU+xGPhKhgwA=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
lv2,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
which,
|
||||
xorgproto,
|
||||
xxd,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -28,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
which
|
||||
xxd
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -47,11 +51,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"VST2_INSTAL_DIR=$(out)/lib/vst"
|
||||
"user=root"
|
||||
"STRIP=:"
|
||||
"PKGCONFIG=$(PKG_CONFIG)"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Ratatouille/makefile \
|
||||
--replace-fail "-flto=auto" ""
|
||||
--replace-fail "-flto=auto" "" \
|
||||
--replace-fail "pkg-config" '$(PKGCONFIG)'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
2200
pkgs/by-name/sm/smithy-cli/deps.json
generated
2200
pkgs/by-name/sm/smithy-cli/deps.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,30 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gradle,
|
||||
jdk,
|
||||
jre,
|
||||
makeWrapper,
|
||||
testers,
|
||||
nix-update-script,
|
||||
runCommand,
|
||||
versionCheckHook,
|
||||
writeText,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "smithy-cli";
|
||||
version = "1.68.0";
|
||||
version = "1.72.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smithy-lang";
|
||||
repo = "smithy";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-jME/yF6i+hQFMr8lseRKS8uSv0s6HNWqBfsRuSSzonI=";
|
||||
hash = "sha256-IBqh2ATKi5MfaCjvXz7KE2p3lGJa8Sn3YhOuwaW1/sk=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gradle
|
||||
jdk
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
@@ -49,32 +51,30 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/smithy-cli/lib $out/bin
|
||||
mkdir -p $out/{bin,share/smithy-cli/lib}
|
||||
|
||||
# Install the shadow JAR and the Smithy dependency JARs that it
|
||||
# deliberately excludes (they are expected on the classpath separately)
|
||||
cp smithy-cli/build/libs/smithy-cli-${finalAttrs.version}.jar $out/share/smithy-cli/lib/
|
||||
for proj in smithy-utils smithy-model smithy-build smithy-diff; do
|
||||
# Install the shadow JAR along with the Smithy dependency JARs that it
|
||||
# deliberately excludes (they are expected on the classpath separately).
|
||||
# smithy-syntax uses the shadow plugin too, so its shaded JAR also replaces
|
||||
# the plain one rather than gaining a classifier.
|
||||
for proj in smithy-cli smithy-utils smithy-model smithy-build smithy-diff smithy-syntax; do
|
||||
cp $proj/build/libs/$proj-${finalAttrs.version}.jar $out/share/smithy-cli/lib/
|
||||
done
|
||||
# smithy-syntax uses the shadow plugin too, so its JAR has no classifier
|
||||
cp smithy-syntax/build/libs/smithy-syntax-${finalAttrs.version}.jar $out/share/smithy-cli/lib/
|
||||
|
||||
# Create wrapper that puts all JARs on the classpath.
|
||||
# Java's -cp wildcard syntax requires a literal '*' (not shell-expanded),
|
||||
# so we construct the classpath explicitly.
|
||||
classpath=$(find $out/share/smithy-cli/lib -name '*.jar' | tr '\n' ':' | sed 's/:$//')
|
||||
makeWrapper ${lib.getExe jre} $out/bin/smithy \
|
||||
--add-flags "-cp $classpath software.amazon.smithy.cli.SmithyCli"
|
||||
--set CLASSPATH "$out/share/smithy-cli/lib/*" \
|
||||
--add-flags "software.amazon.smithy.cli.SmithyCli"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
validate = runCommand "smithy-cli-validate-test" { } ''
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
|
||||
tests.validate = runCommand "smithy-cli-validate-test" { } ''
|
||||
${lib.getExe finalAttrs.finalPackage} validate ${writeText "example.smithy" ''
|
||||
$version: "2.0"
|
||||
namespace example
|
||||
@@ -110,6 +110,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "smithy";
|
||||
maintainers = [ lib.maintainers.joshgodsiff ];
|
||||
platforms = lib.platforms.unix;
|
||||
inherit (jre.meta) platforms;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "ssh-vault";
|
||||
version = "1.3.2";
|
||||
version = "1.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ssh-vault";
|
||||
repo = "ssh-vault";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-JwCW4IcA1B6A+ax+mITVfbrT/Od+y9NtDezE+KjbHlE=";
|
||||
hash = "sha256-4DBsJoEVxsonBgeQ6zMIo5JMiz+mfesUqj0q40114F8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-aXnFmpxAjX6dLzzNXTJP7iBnuVjGNGcmwia7PNOkeTg=";
|
||||
cargoHash = "sha256-1BXjVX+Je6KFjw3c0dWeL80s2vvoXRJBI5gY14XWA4A=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
buildGoModule,
|
||||
fuse,
|
||||
fuse3,
|
||||
macfuse-stubs,
|
||||
runCommand,
|
||||
jq,
|
||||
gnused,
|
||||
@@ -12,70 +14,52 @@
|
||||
}:
|
||||
|
||||
let
|
||||
fuseftpVersion = "1.0.1";
|
||||
fuseftp = buildGoModule rec {
|
||||
pname = "go-fuseftp";
|
||||
version = fuseftpVersion;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "datawire";
|
||||
repo = "go-fuseftp";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ojue7mNu5pujM9Nnc/7bL7kWzQSwa8lnnUSWS2rWuHM=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-C1E/ai82FTjWZmDXEeKN9GxCh+KtzIKPtx5BAWIuQr4=";
|
||||
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
subPackages = [ "pkg/main" ];
|
||||
};
|
||||
|
||||
k8sVersion = "v1.34.2";
|
||||
k8sVersion = "v1.36.2";
|
||||
k8sDefsJson = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/${k8sVersion}-standalone/_definitions.json";
|
||||
hash = "sha256-IMEXD8MeTgAhBn6dnElp7uKtVLv4UcuDI51pQ4o953Q=";
|
||||
hash = "sha256-qemM3GqwmYDyO16Yel8R0OwfyDgYfvuS80fM847Y/WU=";
|
||||
};
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "telepresence2";
|
||||
version = "2.27.3";
|
||||
version = "2.31.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "telepresenceio";
|
||||
repo = "telepresence";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cN3zuS4OEllGP6e0PqntLbE5OaVgmH7ccOfLq+WC6Wk=";
|
||||
hash = "sha256-7COG0LwInqoX9a1SwJyXcF+ptGCKTYJz6wP9uN/CKZo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fuseftp
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
];
|
||||
|
||||
# telepresence depends on fuseftp existing as a built binary, as it gets embedded
|
||||
# CGO gets disabled to match their build process as that is how it's done upstream
|
||||
preBuild = ''
|
||||
cp ${fuseftp}/bin/main ./pkg/client/remotefs/fuseftp.bits
|
||||
# the fuseftp file system is linked into the binary and requires CGO (libfuse)
|
||||
# ref: https://github.com/telepresenceio/telepresence/blob/v2.31.2/build-aux/main.mk#L38-L43
|
||||
buildInputs = [
|
||||
# cgofuse uses the fuse2 header locations on darwin
|
||||
(if stdenv.hostPlatform.isDarwin then (macfuse-stubs.override { isFuse3 = false; }) else fuse3)
|
||||
];
|
||||
|
||||
# upstream builds against the FUSE 2 API by default; the vendored cgofuse
|
||||
# supports FUSE 3 behind this build tag
|
||||
tags = lib.optionals (!stdenv.hostPlatform.isDarwin) [ "fuse3" ];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p charts/telepresence-oss
|
||||
cp ${k8sDefsJson} charts/telepresence-oss/k8s-defs.json
|
||||
|
||||
export CGO_ENABLED=0
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-wOadx4iUgh56FLB6BDSZdAUPV+G7Ld8K+CDGYnUsDG0=";
|
||||
vendorHash = "sha256-5kqdZS5+1cp+DXb/zi4Yc7A38yZPZaOUvOccPKYjP98=";
|
||||
|
||||
# required for the encoding/json/v2 and encoding/json/jsontext imports,
|
||||
# which are still experimental in Go 1.26
|
||||
# ref: https://github.com/telepresenceio/telepresence/blob/v2.31.2/build-aux/main.mk#L33
|
||||
env.GOEXPERIMENT = "jsonv2";
|
||||
|
||||
# ldflags copied from Makefile
|
||||
# ref: https://github.com/telepresenceio/telepresence/blob/7a2b9f553fb51ef252df957916c7b831bd65c1ce/build-aux/main.mk#L250-L251
|
||||
# ref: https://github.com/telepresenceio/telepresence/blob/v2.31.2/build-aux/main.mk#L240-L243
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
@@ -87,6 +71,15 @@ buildGoModule rec {
|
||||
ldflags="$ldflags -X github.com/telepresenceio/telepresence/v2/pkg/version.HelmVersion=$HELM_VERSION"
|
||||
'';
|
||||
|
||||
# cgofuse hardcodes -I/usr/include/fuse3 for its #include <fuse.h>, and
|
||||
# loads libfuse at runtime via dlopen with a bare soname, which cannot be
|
||||
# resolved on NixOS; point it at the store path instead
|
||||
postConfigure = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
substituteInPlace vendor/github.com/winfsp/cgofuse/fuse/host_cgo.go \
|
||||
--replace-fail "fuse.h" "fuse3/fuse.h" \
|
||||
--replace-fail '"libfuse3.so.3"' '"${lib.getLib fuse3}/lib/libfuse3.so.3"'
|
||||
'';
|
||||
|
||||
subPackages = [ "cmd/telepresence" ];
|
||||
|
||||
passthru.tests = {
|
||||
@@ -114,31 +107,11 @@ buildGoModule rec {
|
||||
|
||||
echo "PASS: k8s version $actual_version matches" | tee $out
|
||||
'';
|
||||
fuseftp-version-matches =
|
||||
runCommand "telepresence2-fuseftp-version-test"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
gnugrep
|
||||
gawk
|
||||
];
|
||||
}
|
||||
''
|
||||
actual_version=$(grep 'github.com/telepresenceio/go-fuseftp/rpc' ${src}/go.mod | awk '{print $2}')
|
||||
expected_version="v${fuseftpVersion}"
|
||||
|
||||
if [ "$actual_version" != "$expected_version" ]; then
|
||||
echo "FAIL: fuseftp version mismatch in telepresence2" >&2
|
||||
echo " Hardcoded in Nix: $expected_version" >&2
|
||||
echo " Found in go.mod: $actual_version" >&2
|
||||
echo " Update fuseftpVersion variable & hash in telepresence2 package" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "PASS: fuseftp version $actual_version matches" | tee $out
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
# requires CGO and dlopens libfuse at runtime
|
||||
broken = stdenv.hostPlatform.isStatic;
|
||||
description = "Local development against a remote Kubernetes or OpenShift cluster";
|
||||
homepage = "https://telepresence.io";
|
||||
license = lib.licenses.asl20;
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildGo126Module (finalAttrs: {
|
||||
pname = "thruster";
|
||||
version = "0.1.23";
|
||||
version = "0.1.25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "basecamp";
|
||||
repo = "thruster";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-R7JutM3tWkkkRsxxNgHIoz7VdYIfXNTmmvhSh8YHFuM=";
|
||||
hash = "sha256-cwAYWl8MnrR3z8OLI12DgFgBj+7muJagayzC6sX+g30=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-V9KAr+/r5SGNSBamD3U7bvBiiXn5GTmopSxiNmFL6lQ=";
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
ncurses,
|
||||
pkg-config,
|
||||
runCommand,
|
||||
jemalloc,
|
||||
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdLibs,
|
||||
systemdLibs,
|
||||
# broken on i686-linux https://github.com/tmux/tmux/issues/4597
|
||||
@@ -49,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
ncurses
|
||||
libevent
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ jemalloc ]
|
||||
++ lib.optionals withSystemd [ systemdLibs ]
|
||||
++ lib.optionals withUtf8proc [ utf8proc ]
|
||||
++ lib.optionals withUtempter [ libutempter ];
|
||||
@@ -57,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ "--enable-jemalloc" ]
|
||||
++ lib.optionals withSystemd [ "--enable-systemd" ]
|
||||
++ lib.optionals withSixel [ "--enable-sixel" ]
|
||||
++ lib.optionals withUtempter [ "--enable-utempter" ]
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "unimatrix";
|
||||
version = "0-unstable-2023-04-25";
|
||||
version = "0-unstable-2026-05-20";
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "will8211";
|
||||
repo = "unimatrix";
|
||||
rev = "65793c237553bf657af2f2248d2a2dc84169f5c4";
|
||||
hash = "sha256-fiaVEc0rtZarUQlUwe1V817qWRx4LnUyRD/j2vWX5NM=";
|
||||
rev = "dff519f972103f91384f360f270614184de8aa92";
|
||||
hash = "sha256-g5/Hrk/coq8d7pNwE5juMQhxYSZBXwlGbqikiI9eGvg=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xpr";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "app";
|
||||
repo = "xpr";
|
||||
tag = "xpr-${finalAttrs.version}";
|
||||
hash = "sha256-q8WcQSzlAwbdIcXWyQjjHmvuqYa4k2e7O+VhShwBDUE=";
|
||||
hash = "sha256-KAWQyVIkqa1zOVNjUAQl4zCqctNwaDLPO+LWE0QoIDk=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "yoshimi";
|
||||
version = "2.3.6.4";
|
||||
version = "2.3.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Yoshimi";
|
||||
repo = "yoshimi";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-zFEbrACwJxfohcHTrJFxw6fHSJT/vYGuIlGyTcqo6Hk=";
|
||||
hash = "sha256-ZlabEfDt/94kXPI1DbkykdFGfqf0csH/Cad3OBtyUf0=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/src";
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "zerofs";
|
||||
version = "2.2.3";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Barre";
|
||||
repo = "ZeroFS";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-2QVMpd838AX2yvmPRwuAkCiLueUKdZrXACV7OWfvwLo=";
|
||||
hash = "sha256-YrUfel9K88gseA8vKBPOZvt2TXrhGb7Ouhl6J/LF08Y=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/zerofs";
|
||||
|
||||
cargoHash = "sha256-FlFC/jLtTYysBOoMOebapTaZ+6+wZJwPu1PLe5hjLXk=";
|
||||
cargoHash = "sha256-C+NvsM/esHIYx7Q4gNeSFL5g/s0L00PBDqTGk4wjpnM=";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
apple-sdk_gstreamer,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "icamerasrc-${ipu6-camera-hal.ipuVersion}";
|
||||
version = "unstable-2025-12-26";
|
||||
version = "20251226_1140_191_PTL_PV_IoT";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "icamerasrc";
|
||||
tag = "20251226_1140_191_PTL_PV_IoT";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-BYURJfNz4D8bXbSeuWyUYnoifozFOq6rSfG9GBKVoHo=";
|
||||
};
|
||||
|
||||
@@ -70,4 +70,4 @@ stdenv.mkDerivation {
|
||||
maintainers = [ ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -17,21 +17,22 @@
|
||||
pyviz-comms,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
flaky,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "holoviews";
|
||||
version = "1.22.1";
|
||||
version = "1.23.1";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holoviz";
|
||||
repo = "holoviews";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-rZZQgM8gchWTsgA47BVWblzWiWMuHK2vAZD/1Z8BHAk=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+s7AzER7ipiqjiZL9vmno16MmhSK8Sz9LYLQ2cxNM6Y=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -54,13 +55,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
flaky
|
||||
];
|
||||
|
||||
pytestFlags = [
|
||||
"-Wignore::FutureWarning"
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
@@ -87,10 +84,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Python data analysis and visualization seamless and simple";
|
||||
changelog = "https://github.com/holoviz/holoviews/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/holoviz/holoviews/releases/tag/${finalAttrs.src.tag}";
|
||||
mainProgram = "holoviews";
|
||||
homepage = "https://www.holoviews.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -25,15 +25,16 @@
|
||||
plotly,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hvplot";
|
||||
version = "0.12.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "holoviz";
|
||||
repo = "hvplot";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-hJ9lgpM3AVyDeFxobUKDNYO39NKEejSDywOgnHPEm2c=";
|
||||
};
|
||||
|
||||
@@ -94,8 +95,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "High-level plotting API for the PyData ecosystem built on HoloViews";
|
||||
homepage = "https://hvplot.pyviz.org";
|
||||
changelog = "https://github.com/holoviz/hvplot/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/holoviz/hvplot/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ locnide ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,67 +1,75 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
platformdirs,
|
||||
bokeh,
|
||||
buildPythonPackage,
|
||||
dask,
|
||||
entrypoints,
|
||||
fetchFromGitHub,
|
||||
fsspec,
|
||||
hvplot,
|
||||
intake-parquet,
|
||||
jinja2,
|
||||
msgpack,
|
||||
msgpack-numpy,
|
||||
pandas,
|
||||
panel,
|
||||
pyarrow,
|
||||
pytestCheckHook,
|
||||
python-snappy,
|
||||
pythonAtLeast,
|
||||
pyyaml,
|
||||
networkx,
|
||||
requests,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# dependencies
|
||||
dask,
|
||||
entrypoints,
|
||||
fsspec,
|
||||
jinja2,
|
||||
msgpack,
|
||||
networkx,
|
||||
pandas,
|
||||
platformdirs,
|
||||
pyyaml,
|
||||
|
||||
# optional-dependencies
|
||||
# server:
|
||||
msgpack-numpy,
|
||||
python-snappy,
|
||||
tornado,
|
||||
# dataframe:
|
||||
pyarrow,
|
||||
# plot
|
||||
hvplot,
|
||||
bokeh,
|
||||
panel,
|
||||
# remote:
|
||||
requests,
|
||||
|
||||
# tests
|
||||
addBinToPathHook,
|
||||
intake-parquet,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "intake";
|
||||
version = "2.0.9";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intake";
|
||||
repo = "intake";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DiALGrJP4vLWygzZprjYCFM+TYtMS7NVM3+MTyjzcs0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
platformdirs
|
||||
dependencies = [
|
||||
dask
|
||||
entrypoints
|
||||
fsspec
|
||||
msgpack
|
||||
jinja2
|
||||
pandas
|
||||
pyyaml
|
||||
msgpack
|
||||
networkx
|
||||
pandas
|
||||
platformdirs
|
||||
pyyaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
intake-parquet
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
|
||||
optional-dependencies = {
|
||||
server = [
|
||||
msgpack
|
||||
@@ -80,12 +88,13 @@ buildPythonPackage rec {
|
||||
remote = [ requests ];
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d);
|
||||
export PATH="$PATH:$out/bin";
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
addBinToPathHook
|
||||
intake-parquet
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
disabledTestPaths = [
|
||||
# Missing plusins
|
||||
@@ -132,11 +141,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "intake" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "Data load and catalog system";
|
||||
homepage = "https://github.com/ContinuumIO/intake";
|
||||
changelog = "https://github.com/intake/intake/blob/${version}/docs/source/changelog.rst";
|
||||
changelog = "https://github.com/intake/intake/blob/${finalAttrs.src.rev}/docs/source/changelog.rst";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
kernel,
|
||||
}:
|
||||
let
|
||||
version = "0.1.7-unstable-2026-04-25";
|
||||
version = "0.1.7-unstable-2026-08-15";
|
||||
|
||||
## Upstream has not been merging PRs.
|
||||
## Nixpkgs maintainers are providing a
|
||||
@@ -14,8 +14,8 @@ let
|
||||
src = fetchFromGitHub {
|
||||
owner = "amkillam";
|
||||
repo = "ryzen_smu";
|
||||
rev = "0bb95d961664c7a0ac180f849fa16fe7da71922d";
|
||||
hash = "sha256-cv0WMvUqrl5C7b5cdQJ4JXDGEzMhwUuNLsYEYobElu4=";
|
||||
rev = "d2983668300dd2a598e5a7dc40e71ce0678cc270";
|
||||
hash = "sha256-OmEoycRO3hGkqueLa0i6AzmwMEbdkkPrwJkMyYxOTek=";
|
||||
};
|
||||
|
||||
monitor-cpu = stdenv.mkDerivation {
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "material-you-theme";
|
||||
version = "5.0.14";
|
||||
version = "5.0.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nerwyn";
|
||||
repo = "material-you-theme";
|
||||
tag = version;
|
||||
hash = "sha256-UxmVxUVCOE4ohD2l0bS/L9LZbEpX1b2Dd0q5jTNcFnc=";
|
||||
hash = "sha256-QH6g5CArk1hO5u7WVDd0JtKUAH96OpoQd44qJtO9MEQ=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-1XulvXONvEiA6oFJ0OKyJKRok3ueGmJ/7ZyBh3M6dUk=";
|
||||
npmDepsHash = "sha256-Cl+F9lJX9vVlwHoRkbzcRLeUAEtaRbjhcMJp7euZmTg=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
buildGhidraScripts {
|
||||
pname = "ghidraninja-ghidra-scripts";
|
||||
version = "unstable-2020-10-07";
|
||||
version = "0-unstable-2020-10-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ghidraninja";
|
||||
repo = "ghidra_scripts";
|
||||
rev = "99f2a8644a29479618f51e2d4e28f10ba5e9ac48";
|
||||
sha256 = "aElx0mp66/OHQRfXwTkqdLL0gT2T/yL00bOobYleME8=";
|
||||
hash = "sha256-aElx0mp66/OHQRfXwTkqdLL0gT2T/yL00bOobYleME8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1067,6 +1067,7 @@ mapAliases {
|
||||
grig = throw "'grig' has been removed as it depended on the deprecated GTK 2 engine."; # Added 2026-08-14
|
||||
gringo = throw "'gringo' has been renamed to/replaced by 'clingo'"; # Converted to throw 2025-10-27
|
||||
grip = throw "'grip' has been removed because it depended on the deprecated GTK2 engine."; # Added 2026-07-30
|
||||
grpc-health-check = throw "'grpc-health-check' has been removed because the upstream repository was deleted."; # Added 2026-08-23
|
||||
grub2_full = throw "'grub2_full' has been renamed to/replaced by 'grub2'"; # Converted to throw 2025-10-27
|
||||
grub4dos = throw "'grub4dos' has been removed due to being broken for more than a year; see RFC 180"; # Added 2026-02-05
|
||||
gruvbox-material-gtk-theme = throw "'gruvbox-material-gtk-theme' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22
|
||||
|
||||
Reference in New Issue
Block a user