mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
Merge master into staging-nixos
This commit is contained in:
@@ -11504,6 +11504,13 @@
|
||||
githubId = 72767437;
|
||||
name = "Ian Holloway";
|
||||
};
|
||||
iank = {
|
||||
email = "iank@iank.org";
|
||||
github = "iank";
|
||||
githubId = 109598;
|
||||
name = "Ian Kilgore";
|
||||
keys = [ { fingerprint = "21F7 244E 095F 619E 8E3E 1EB4 9F3A 4AAB 4D90 D879"; } ];
|
||||
};
|
||||
ianliu = {
|
||||
email = "ian.liu88@gmail.com";
|
||||
github = "ianliu";
|
||||
|
||||
@@ -58,17 +58,17 @@ stdenv.mkDerivation {
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
TARGET_DIR="$out/etc/opt/brother/scanner/brscan5"
|
||||
TARGET_DIR="$out/tmp"
|
||||
mkdir -p "$TARGET_DIR"
|
||||
cp -rp "./models" "$TARGET_DIR"
|
||||
cp -rp "./brscan5.ini" "$TARGET_DIR"
|
||||
cp -rp "./brsanenetdevice.cfg" "$TARGET_DIR"
|
||||
|
||||
export NIX_REDIRECTS="/etc/opt/brother/scanner/brscan5/=$TARGET_DIR/"
|
||||
|
||||
printf '${addAllNetDev netDevices}\n'
|
||||
|
||||
${addAllNetDev netDevices}
|
||||
|
||||
mkdir -p "$out/etc/opt/brother/scanner/brscan5"
|
||||
mv -T "$TARGET_DIR" "$out/etc/opt/brother/scanner/brscan5"
|
||||
'';
|
||||
|
||||
dontInstall = true;
|
||||
|
||||
@@ -102,7 +102,7 @@ in
|
||||
${lib.getExe pkgs.envsubst} \
|
||||
-i ${configuration} \
|
||||
-o ${configFilePath}
|
||||
umask $old_umask
|
||||
umask "$old_umask"
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
|
||||
@@ -21,22 +21,22 @@ vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: {
|
||||
sources = {
|
||||
"x86_64-linux" = {
|
||||
arch = "linux-x64";
|
||||
hash = "sha256-pPgl7MTzkBqZ/KatgAme7F6w873GLxZ1ZTYfkXzD4kw=";
|
||||
hash = "sha256-/RKpbsdp7MjakNvKWvq2OiwLJ7mftHKKrb5xwKlM76Y=";
|
||||
};
|
||||
"aarch64-linux" = {
|
||||
arch = "linux-arm64";
|
||||
hash = "sha256-gnaECK1yMNatDn/ZJ6od8wBQYMlJJ/Q49Z+Ur4SxWU8=";
|
||||
hash = "sha256-mdgzM0dymFjSYFm018wsuWzzUJJsA896YmRwoH1wLmM=";
|
||||
};
|
||||
"aarch64-darwin" = {
|
||||
arch = "darwin-arm64";
|
||||
hash = "sha256-g0DEP2f+ooEgYz8TFUYTMoVV83HGR2eK2dL5MWa92F8=";
|
||||
hash = "sha256-0EFuSvcSLTfrR74Uxpwiq2K39cWqi33q80AhtlilCnQ=";
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
name = "claude-code";
|
||||
publisher = "anthropic";
|
||||
version = "2.1.212";
|
||||
version = "2.1.214";
|
||||
}
|
||||
// sources.${stdenvNoCC.hostPlatform.system}
|
||||
or (throw "Unsupported system ${stdenvNoCC.hostPlatform.system}");
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
buildKodiAddon rec {
|
||||
pname = "arteplussept";
|
||||
namespace = "plugin.video.arteplussept";
|
||||
version = "1.4.4";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
|
||||
hash = "sha256-jFIcLhglfOqkFLtlIJKB1o++mWfnpWKS3w1wD0S3+CE=";
|
||||
hash = "sha256-kYIN9I+hSWBYbaUsFRDkcU3FngQRzxmGrjN7rnsWiaA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
{
|
||||
"stable": {
|
||||
"linux": {
|
||||
"version": "8.12.26",
|
||||
"version": "8.12.28",
|
||||
"sources": {
|
||||
"x86_64": {
|
||||
"url": "https://downloads.1password.com/linux/tar/stable/x86_64/1password-8.12.26.x64.tar.gz",
|
||||
"hash": "sha256-xInPbZ1mE0ZqUrBr1EIR1UtvAy/fYSzVxkf8iO7d2uQ="
|
||||
"url": "https://downloads.1password.com/linux/tar/stable/x86_64/1password-8.12.28.x64.tar.gz",
|
||||
"hash": "sha256-JpXXLpjAOfBh+oc1YIBxqBZha02IuzclVhQRiF29V6c="
|
||||
},
|
||||
"aarch64": {
|
||||
"url": "https://downloads.1password.com/linux/tar/stable/aarch64/1password-8.12.26.arm64.tar.gz",
|
||||
"hash": "sha256-J6ejEEWioo3WPvtK8ra7wnM+r1pOWJ2KbAHpgzJ1zYg="
|
||||
"url": "https://downloads.1password.com/linux/tar/stable/aarch64/1password-8.12.28.arm64.tar.gz",
|
||||
"hash": "sha256-lbiIXeyexz6XpXD7/57U/T//JDEBDikm9HaNR1t7cps="
|
||||
}
|
||||
}
|
||||
},
|
||||
"darwin": {
|
||||
"version": "8.12.26",
|
||||
"version": "8.12.28",
|
||||
"sources": {
|
||||
"x86_64": {
|
||||
"url": "https://downloads.1password.com/mac/1Password-8.12.26-x86_64.zip",
|
||||
"hash": "sha256-TZrnrxq71ImKDBqtUnABaIQTmrnTXAnFoEIYp7Rgejw="
|
||||
"url": "https://downloads.1password.com/mac/1Password-8.12.28-x86_64.zip",
|
||||
"hash": "sha256-ONY0M48v4wJe9LBlvjJY4BqfbQf5evtRijbbSDGQFpE="
|
||||
},
|
||||
"aarch64": {
|
||||
"url": "https://downloads.1password.com/mac/1Password-8.12.26-aarch64.zip",
|
||||
"hash": "sha256-bZD8LCLTGXRpNF/FqoSHvI69pquAcQGa1mdagWypgDU="
|
||||
"url": "https://downloads.1password.com/mac/1Password-8.12.28-aarch64.zip",
|
||||
"hash": "sha256-utESL4dUIe/jD9gu3YIF+HWnGUlWr54tSI1Jtrruxsc="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
let
|
||||
pname = "altus";
|
||||
version = "5.8.0";
|
||||
version = "5.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
name = "altus-${version}.AppImage";
|
||||
url = "https://github.com/amanharwara/altus/releases/download/${version}/Altus-${version}.AppImage";
|
||||
hash = "sha256-TA1AhWO8TDKbl7ukG1KzPvHP1AZ0leAENLVQ/W+GsrE=";
|
||||
hash = "sha256-FSyXs9thTQ5T5bvCfg/+QXBZMIOyoijAw0dUsvLRGH8=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
|
||||
@@ -25,16 +25,16 @@
|
||||
"@esbuild/win32-arm64@npm:0.28.1": "551ada5396e1f10e3d3592dd60a148a7257af1ab2317bba09e9ed18a6d7ee7e5961c68eb1fbaee4e8c1961b504807493e1b8f5c700dd1fb990f0cb36b240ad57",
|
||||
"@esbuild/win32-ia32@npm:0.28.1": "2676ace6b4d63721da34873974152e869aed9fc8bd9fdff4b8df14a3a3e68b78a9b4566e643b90b948b4e85773cbf288a33a59d13979caaadd43b5adad68312c",
|
||||
"@esbuild/win32-x64@npm:0.28.1": "8d658b74ed9b7494b3799093551d4c928a7916865ed42d00a135156cbd08612b53072e9e424f0687c10a93a444d30d6b0294b6a1d5fdba78078d706646ba558f",
|
||||
"@nx/nx-darwin-arm64@npm:22.7.5": "4f8435566c4b7ea0de0c8953f994849b91ad85867f6cdfce67fc0bb7404a760131dad7bdb7c789f82980d349c1a6df255be03807da260cbc5396284395865f28",
|
||||
"@nx/nx-darwin-x64@npm:22.7.5": "3d63123766ce58602f08c5c2e9e896d9bbba402c53f3918a0ea5eebab25cd2f48fb992ac654ea648088564b1347f920509f7a20ad25c538d227a11292024ce64",
|
||||
"@nx/nx-freebsd-x64@npm:22.7.5": "6fa6ba0ab68e6fd9742c5bdc8cacbd67d3be6334b967c9dfa3a3fa5e64b689fa1d7b50f807420227ad470c53ad5cf8343240d35ed89ca8d3e62a921a4857e8b9",
|
||||
"@nx/nx-linux-arm-gnueabihf@npm:22.7.5": "7fd2f207688a8353012f8363cc28868e927840c2378dba466a67dff50eabbf24362e6654e183c1308479d435e8326444ae4ab803e3f5bdf84061915124183f4f",
|
||||
"@nx/nx-linux-arm64-gnu@npm:22.7.5": "03c8fa25e5833fe4746995624b15e72258b7050ee70a6d80ed4c2b0f5e8b740774264d1decf70eea61387028886b2360953675d554f2ee8b4ae784adf738ed7b",
|
||||
"@nx/nx-linux-arm64-musl@npm:22.7.5": "ea449f0b82c027b6eae5f2a060d26624bee91b487b601ccb5ab250ff33140f4bd60cf004e8f5f1e495b9bd391c17bda4758635ddb80f1af29b234eb067517b2c",
|
||||
"@nx/nx-linux-x64-gnu@npm:22.7.5": "96aad2912ef8a607147cb5831ddbfc6f08b3c657c44879c738055fde274259e2dfc7e507485c52c194e79445ca2410cf618e31e2d2af00f7563f04055beea3c7",
|
||||
"@nx/nx-linux-x64-musl@npm:22.7.5": "1f61915a2e93a6b930b81b8205407e2c961f7878a5131f136027b86bd35a579fe65b52a47088c4818c6e6426b3aa79ece8ce30119a3e44dd4d5a681efd7cde4a",
|
||||
"@nx/nx-win32-arm64-msvc@npm:22.7.5": "3f4668ce48fd341f487b99c72e7678ebdfa0964591a58947752bf050a4bb21bf27ee920ac4554433e0efd73beca923a17a6dfc90e35c8b5ee1f92fd4a7f2caa0",
|
||||
"@nx/nx-win32-x64-msvc@npm:22.7.5": "c44700bd537a0f2571d75285302d332c0fa31a648a822937cd81362c7b4fcb8c8ecabb98559c0b7bcdb537acd051b4f3926bcd9e369095260fc6aa8d079e3c04",
|
||||
"@nx/nx-darwin-arm64@npm:22.7.6": "b336dcf04ce9c07d4bfe908fadb6bf5cc791342b4991439f5a7c0075d587c3d4570696c44b5d595735accda2bdf29c04a56dd0705b499f6a6b70f9886d833097",
|
||||
"@nx/nx-darwin-x64@npm:22.7.6": "391780c2f14249c92a32b1245099e3d98241719f2cdf0b81289dc28948d011f18089ba94e272394b28aa2fbe5904119b954a633fc8bf82e8250bb00821e06d28",
|
||||
"@nx/nx-freebsd-x64@npm:22.7.6": "bebebd506d74cbb62e3cbf3afbcb66e125e2ad3e3cd346e1ee51bf11167561649c6e60db751292e64f3b3a8c8a424d803979392c78a191c08ef510093ff93ab0",
|
||||
"@nx/nx-linux-arm-gnueabihf@npm:22.7.6": "56d67d7536b0e89c08949bba7f94c071ced817195c37f3d947113888e0f624a8b21d31aad13107c86ac2225705298112ac593c359675540fcc47f74adb25f6eb",
|
||||
"@nx/nx-linux-arm64-gnu@npm:22.7.6": "e61ff5c461d96294182c0ee823f627c37e925972a50375a4499b3089dcbadd9249cdbc995d5f573271a5aa7cb7a82690575a4ee51e149b6e3959559172d390ff",
|
||||
"@nx/nx-linux-arm64-musl@npm:22.7.6": "0c0e5ba1583a49063779edd776555e11dbaf85f11600756b62774283ca1d8c2a84ddfdfe7c0f175275d0401a6aedc84deac831534bb3e5588841d719429477ee",
|
||||
"@nx/nx-linux-x64-gnu@npm:22.7.6": "d65682bc14813e0f1e8e1bc5356081b6ecfde7a2fc3236e1d813f0da8ffc712b3b1641c8ebd4389e577348db549757efa2084fd16119fc6393e242331b2bad9e",
|
||||
"@nx/nx-linux-x64-musl@npm:22.7.6": "924ed33a107b6647abe10acd77fe41f113e82dd83961b05d73c8b3a3c7c85d60cb35cae3a976497a8ef4fd48ab574d4ae5b683efd225fd4c404408b0ab87c1f9",
|
||||
"@nx/nx-win32-arm64-msvc@npm:22.7.6": "feda72abfa06e7143a795993888ff2da73936a3bab4e2ca787b102322494abb3b3f24a944dd51c1de409afc19e921c6c98879d80f27921e848254d2a432cdc09",
|
||||
"@nx/nx-win32-x64-msvc@npm:22.7.6": "5066816d70bcb55051259fc3acde32fef67f9359e15810e64dd3c93e11db40632e11a517dd3b1993a468632a8d75335ce550499711a23b5e7166f3130175bcda",
|
||||
"@unrs/resolver-binding-android-arm-eabi@npm:1.11.1": "04dd38b694c1680bfec192b499e188700398a414886a08a8a7c72815db56ac147df03d88c73ff6fff7ac3e0a01dc41978054b3622b49463e0d684c5168557fcc",
|
||||
"@unrs/resolver-binding-android-arm64@npm:1.11.1": "763626adc34dd2b4af677b5ced6493e7b2b1935351a5c9137f1c9561d11faf97b94015e6876e57e85c33ff563564314c92c0882a4780a57f2225cbbd779a695d",
|
||||
"@unrs/resolver-binding-darwin-arm64@npm:1.11.1": "03b477fdfec55dbabe488fe0962417bddaa38b028d2670053469f1d24163907b097aac15b565f6974449bee398a38d5e3e1525f2b515ce57e243149021b7aa2f",
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
python3,
|
||||
unzip,
|
||||
testers,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -18,19 +17,19 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "aws-cdk-cli";
|
||||
version = "2.1129.0";
|
||||
version = "2.1131.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-cdk-cli";
|
||||
tag = "cdk@v${finalAttrs.version}";
|
||||
hash = "sha256-KXbNrzylyY+RSp4Da9rMSEn7UdPTHU9iDID/qXGL+io=";
|
||||
hash = "sha256-66kMwa9IJN0Culc+oAUazKBlXE3nRoPJ2/0/OaTRxjI=";
|
||||
};
|
||||
|
||||
missingHashes = ./missing-hashes.json;
|
||||
offlineCache = yarn-berry.fetchYarnBerryDeps {
|
||||
inherit (finalAttrs) src missingHashes;
|
||||
hash = "sha256-jh/EW+scTCJ698jKr1eRYeckRhgE+SmOjfUUgJ7GbFU=";
|
||||
hash = "sha256-BVjva74w/6zHv6JKAPCBt5Pu72ztGSJYX5h4QffABkk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -129,12 +128,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"cdk@v(.*)"
|
||||
];
|
||||
};
|
||||
updateScript = ./update.sh;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
23
pkgs/by-name/aw/aws-cdk-cli/update.sh
Executable file
23
pkgs/by-name/aw/aws-cdk-cli/update.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p coreutils nix nix-update yarn-berry_4.yarn-berry-fetcher
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
package_dir=$(realpath "$(dirname "$0")")
|
||||
|
||||
# Update the source first. offlineCache cannot be updated until the hashes
|
||||
# missing from the new yarn.lock have been regenerated below.
|
||||
nix-update "$UPDATE_NIX_PNAME" --src-only --version-regex 'cdk@v(.*)' "$@"
|
||||
|
||||
updated_version=$(nix-instantiate --eval --strict --attr "$UPDATE_NIX_PNAME.version" --raw)
|
||||
|
||||
if [[ "$updated_version" == "$UPDATE_NIX_OLD_VERSION" ]]; then
|
||||
echo "Package is already up to date: $updated_version"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
src_path=$(nix-build --attr "$UPDATE_NIX_PNAME.src" --no-link)
|
||||
yarn-berry-fetcher missing-hashes "$src_path/yarn.lock" >"$package_dir/missing-hashes.json"
|
||||
|
||||
# Regenerate the hash of the Yarn offline cache after updating its missing hashes.
|
||||
nix-update "$UPDATE_NIX_PNAME" --version skip
|
||||
@@ -9,6 +9,7 @@
|
||||
ceres-solver,
|
||||
cmake,
|
||||
config,
|
||||
cudaArches ? cudaPackages.flags.realArches,
|
||||
cudaPackages,
|
||||
cudaSupport ? config.cudaSupport,
|
||||
dbus,
|
||||
@@ -201,6 +202,7 @@ stdenv'.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeFeature "ALEMBIC_LIBRARY" "${lib.getLib alembic}/lib/libAlembic${stdenv.hostPlatform.extensions.sharedLibrary}")
|
||||
]
|
||||
++ lib.optionals cudaSupport [
|
||||
(lib.cmakeFeature "CYCLES_CUDA_BINARIES_ARCH" (lib.concatStringsSep ";" cudaArches))
|
||||
(lib.cmakeFeature "OPTIX_ROOT_DIR" "${optix}")
|
||||
(lib.cmakeBool "WITH_CYCLES_CUDA_BINARIES" true)
|
||||
]
|
||||
|
||||
@@ -109,7 +109,7 @@ stdenv.mkDerivation rec {
|
||||
makeWrapper \
|
||||
"$out/$PATH_TO_BRSCAN5/brsaneconfig5" \
|
||||
"$out/bin/brsaneconfig5" \
|
||||
--suffix-each NIX_REDIRECT ":" "/etc/opt/brother/scanner/brscan5=$out/opt/brother/scanner/brscan5 /opt/brother/scanner/brscan5=$out/opt/brother/scanner/brscan5" \
|
||||
--suffix-each NIX_REDIRECTS ":" "/etc/opt/brother/scanner/brscan5=$out/opt/brother/scanner/brscan5 /opt/brother/scanner/brscan5=$out/opt/brother/scanner/brscan5" \
|
||||
--set LD_PRELOAD ${libredirect}/lib/libredirect.so
|
||||
|
||||
mkdir -p $out/etc/sane.d/dll.d
|
||||
|
||||
@@ -127,6 +127,8 @@ python3Packages.buildPythonApplication rec {
|
||||
pythonRelaxDeps = [
|
||||
"apscheduler"
|
||||
"bleach"
|
||||
"certifi"
|
||||
"chardet"
|
||||
"cryptography"
|
||||
"flask"
|
||||
"flask-limiter"
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "chirpstack-gateway-bridge";
|
||||
version = "4.1.1";
|
||||
version = "4.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chirpstack";
|
||||
repo = "chirpstack-gateway-bridge";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-zMD5vbdnfkGHhnw7fG88n6JY1RSrj2mMgMICR7n0cUo=";
|
||||
hash = "sha256-3rdpIqiO6D5+JntJm2GQlnH6zh3s3DOzpaxr06PR+K4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-y1NYYyRS5L7QzV/bcm43EJ2OCHg+vPSTSwhHO0AwqD8=";
|
||||
vendorHash = "sha256-nDbUem9WV2DClrUBTjDvz+jUqqkQI+QGuv8h39EBs9E=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -9,16 +9,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "chirpstack-mqtt-forwarder";
|
||||
version = "4.5.1";
|
||||
version = "4.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chirpstack";
|
||||
repo = "chirpstack-mqtt-forwarder";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-AFyvXLXGs1jeOJM8tSKBNbTVYr5SRUscqnUlSvU9iuA=";
|
||||
hash = "sha256-frEwQrGfB1J7ZY5jSkmgAyyCJwWUyu29QuZqMWlOPSk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-mRmvKOqfzqUvPexRbd9TRS2lunpne7+wO57bsYZ3dXw=";
|
||||
cargoHash = "sha256-5/8f5eSLfCu8fOfT+jTEfJj+fSB6rJt34C6eJwyFIfo=";
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
{
|
||||
"version": "2.1.212",
|
||||
"commit": "8b2783a8f907ce5c5ad1241ecdbab0ff3301c617",
|
||||
"buildDate": "2026-07-16T16:50:33Z",
|
||||
"version": "2.1.214",
|
||||
"commit": "e158e55a79995c80ed463a5d2de322bc0ac2f711",
|
||||
"buildDate": "2026-07-17T23:32:51Z",
|
||||
"platforms": {
|
||||
"darwin-arm64": {
|
||||
"binary": "claude",
|
||||
"checksum": "09ecba2ab2df9b6ee5b0695e26f65dea60fb3b6af3d3542ee09f466838d1e574",
|
||||
"size": 244530512
|
||||
"checksum": "59796dd18e9d77f1256f367db6d28ce4bd9cd5968e402ad3a327aac36abc6dec",
|
||||
"size": 247091504
|
||||
},
|
||||
"darwin-x64": {
|
||||
"binary": "claude",
|
||||
"checksum": "7681a0634c89fa4474e53c0c794e992944aebf3409a7a2b87ea9f9b0194ea341",
|
||||
"size": 254080272
|
||||
"checksum": "d979ba15662828969e5d0f39f1367798a07ef6e031b524efdad37fe7caf84010",
|
||||
"size": 256507024
|
||||
},
|
||||
"linux-arm64": {
|
||||
"binary": "claude",
|
||||
"checksum": "66e88634a8573a002702e6a9de0d80cb9bb7c9072f9e6f4486778539057dfd3c",
|
||||
"size": 260946672
|
||||
"checksum": "4c38f26a57a42619ee813f15dc39fc1fa4fe0bb403215c3cdc342b58fa689c3c",
|
||||
"size": 261995424
|
||||
},
|
||||
"linux-x64": {
|
||||
"binary": "claude",
|
||||
"checksum": "044a88cf3a5180776617fd3da1238dcbf9141ddec449a39cf7d2af1ac78e684e",
|
||||
"size": 264096568
|
||||
"checksum": "3c029136f7c81f54ed4a38e9d52e655aad536433dbbde50519c8c31bb646ad14",
|
||||
"size": 265210864
|
||||
},
|
||||
"linux-arm64-musl": {
|
||||
"binary": "claude",
|
||||
"checksum": "6996b65fc90aa1e0b8f80824df77295d93fa43b12388915a762b58fd982a1d16",
|
||||
"size": 254194872
|
||||
"checksum": "bbcdec27500f1c7f04a8697fa1d55cdae183ba9054b984ac95d82ccdcccaec3e",
|
||||
"size": 255243624
|
||||
},
|
||||
"linux-x64-musl": {
|
||||
"binary": "claude",
|
||||
"checksum": "a17757970a1f7ef0c47a31ea8fa40798fd7796854ba9422e1a4175f3f149de2c",
|
||||
"size": 258756992
|
||||
"checksum": "1744afe6baa7d5321917bc6f807883daf4f0abda8e9e5d006c03356eb3df8945",
|
||||
"size": 259838544
|
||||
},
|
||||
"win32-x64": {
|
||||
"binary": "claude.exe",
|
||||
"checksum": "fe639693fd7e9a881c799867711abb7666dec2a5fefbaba41af6a09e71bcbefa",
|
||||
"size": 255334560
|
||||
"checksum": "da26afacbc58d6f569d0921ff6825772220c734327f5f976c0c73bd0b7dd3cf8",
|
||||
"size": 256220832
|
||||
},
|
||||
"win32-arm64": {
|
||||
"binary": "claude.exe",
|
||||
"checksum": "adaa6e3dadb8016755ccd1907a5f249c1bc9bdb6c71d3f7dcea7d5db8f72d0a5",
|
||||
"size": 249684640
|
||||
"checksum": "4c62218523c562991ef05985af3cffa1a69a588bbcfb3b3bf7b59e9bcb69e963",
|
||||
"size": 250596512
|
||||
}
|
||||
},
|
||||
"sdkCompat": {
|
||||
@@ -58,6 +58,7 @@
|
||||
"0.3.196",
|
||||
"0.3.197",
|
||||
"0.3.198",
|
||||
"0.3.200",
|
||||
"0.3.201",
|
||||
"0.3.202",
|
||||
"0.3.204",
|
||||
|
||||
11
pkgs/by-name/cl/clickhouse-cpp/clickhouse-cpp.pc.in
Normal file
11
pkgs/by-name/cl/clickhouse-cpp/clickhouse-cpp.pc.in
Normal file
@@ -0,0 +1,11 @@
|
||||
prefix=@out@
|
||||
includedir=${prefix}/include
|
||||
libdir=${prefix}/lib
|
||||
|
||||
Name: clickhouse-cpp
|
||||
Description: Library to interact with ClickHouse Database from C++ code
|
||||
URL: https://github.com/ClickHouse/clickhouse-cpp
|
||||
Version: @version@
|
||||
Cflags: -pthread -isystem${includedir}
|
||||
Libs: -pthread -L${libdir} -Wl,-rpath,${libdir} -lclickhouse-cpp-lib
|
||||
Requires: absl_int128
|
||||
50
pkgs/by-name/cl/clickhouse-cpp/package.nix
Normal file
50
pkgs/by-name/cl/clickhouse-cpp/package.nix
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
abseil-cpp,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clickhouse-cpp";
|
||||
version = "2.6.2";
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "clickhouse";
|
||||
repo = "clickhouse-cpp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-szvRPqj2xarzGTVyycPlSTJkWSxwLO4EKXADS1DpO7Q=";
|
||||
};
|
||||
|
||||
flattenPackagesPrefix = "absl_";
|
||||
flattenPcLookupDir = "${abseil-cpp}/lib/pkgconfig";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_SYSTEM_ABSEIL=1"
|
||||
"-DBUILD_SHARED_LIBS=1"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ abseil-cpp ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib/pkgconfig
|
||||
substituteAll ${./clickhouse-cpp.pc.in} $out/lib/pkgconfig/clickhouse-cpp.pc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "C++ client library for ClickHouse";
|
||||
homepage = "https://github.com/clickhouse/clickhouse-cpp";
|
||||
changelog = "https://github.com/clickhouse/clickhouse-cpp/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jlesquembre ];
|
||||
mainProgram = "clickhouse-cpp";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
@@ -10,6 +10,7 @@
|
||||
makeWrapper,
|
||||
procps,
|
||||
qemu,
|
||||
docker,
|
||||
testers,
|
||||
colima,
|
||||
}:
|
||||
@@ -66,6 +67,7 @@ buildGoModule (finalAttrs: {
|
||||
# Suppress warning on `colima start`: https://github.com/abiosoft/colima/issues/1333
|
||||
lima-full
|
||||
qemu
|
||||
docker
|
||||
]
|
||||
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform krunkit) krunkit
|
||||
)
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "commitizen";
|
||||
version = "4.13.9";
|
||||
version = "4.16.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "commitizen-tools";
|
||||
repo = "commitizen";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-bT154qRnZCf3StYs+acv4Be/SUCA5ovGjY/j2EDmUEc=";
|
||||
hash = "sha256-lVc1Kdy/IWRa8uoPZfOSSa379bDDknE3dpm0U7DVv0s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build >= 0.9.17, <0.10.0" "uv-build"
|
||||
--replace-fail "uv_build >= 0.9.17, <0.12" "uv-build"
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -54,6 +54,13 @@ python3Packages.buildPythonPackage rec {
|
||||
tomlkit
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
(lib.makeBinPath [ gitMinimal ])
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gitMinimal
|
||||
versionCheckHook
|
||||
|
||||
@@ -11,8 +11,13 @@
|
||||
libgbm,
|
||||
makeWrapper,
|
||||
playwright-driver,
|
||||
withImageSupport ? lib.meta.availableOn stdenv.hostPlatform libdrm,
|
||||
}:
|
||||
|
||||
assert lib.assertMsg (
|
||||
withImageSupport -> lib.meta.availableOn stdenv.hostPlatform libdrm
|
||||
) "d2: withImageSupport is not supported on ${stdenv.hostPlatform.system} (requires libdrm)";
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "d2";
|
||||
version = "0.7.1";
|
||||
@@ -39,7 +44,8 @@ buildGoModule (finalAttrs: {
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals (lib.meta.availableOn stdenv.hostPlatform libdrm) [
|
||||
# playwright-drivers.browsers pulls down ~2GB+ for Webkit, Chrome, Firefox etc
|
||||
buildInputs = lib.optionals withImageSupport [
|
||||
libgbm
|
||||
playwright-driver.browsers
|
||||
];
|
||||
@@ -50,7 +56,7 @@ buildGoModule (finalAttrs: {
|
||||
installManPage ci/release/template/man/d2.1
|
||||
''
|
||||
# Wrap the d2 executable to set LD_LIBRARY_PATH for Playwright
|
||||
+ lib.optionalString (finalAttrs.buildInputs != [ ]) ''
|
||||
+ lib.optionalString withImageSupport ''
|
||||
wrapProgram $out/bin/d2 \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath finalAttrs.buildInputs}
|
||||
'';
|
||||
|
||||
92
pkgs/by-name/ex/explo/package.nix
Normal file
92
pkgs/by-name/ex/explo/package.nix
Normal file
@@ -0,0 +1,92 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "explo";
|
||||
version = "1.1.2";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LumePart";
|
||||
repo = "Explo";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-7FIDRNZn+Yh2c/oLU3Ggb4A9y+5q3vv17eVLmGR2Zeo=";
|
||||
};
|
||||
|
||||
webui = buildNpmPackage {
|
||||
inherit (finalAttrs)
|
||||
pname
|
||||
version
|
||||
src
|
||||
meta
|
||||
;
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/src/web/frontend";
|
||||
|
||||
npmDepsHash = "sha256-N+i+VFHKJ9OxHyQKJ3vSw50N3tLjvFVPeG5aU0hLzqw=";
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
npx vite build --outDir dist
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp -r dist/* $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
|
||||
vendorHash = "sha256-pa3WaVJU4WY/EyE3VttfEVOwwaxvkfxQj0wrwOmefYQ=";
|
||||
|
||||
ldflags = [
|
||||
"-X explo/src/config.Version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p src/web/dist
|
||||
cp -r ${finalAttrs.webui}/* src/web/dist
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/main $out/bin/explo
|
||||
mkdir -p $out/share/explo
|
||||
cp src/downloader/youtube_music/search_ytmusic.py $out/share/explo/
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--subpackage"
|
||||
"webui"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Spotify's \"Discover Weekly\" for self-hosted music systems";
|
||||
homepage = "https://github.com/LumePart/Explo/";
|
||||
changelog = "https://github.com/LumePart/Explo/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
lilacious
|
||||
arunoruto
|
||||
];
|
||||
mainProgram = "explo";
|
||||
};
|
||||
})
|
||||
121
pkgs/by-name/fc/fcitx5-lotus/package.nix
Normal file
121
pkgs/by-name/fc/fcitx5-lotus/package.nix
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
acl,
|
||||
buildGoModule,
|
||||
cmake,
|
||||
fcitx5,
|
||||
fetchFromGitHub,
|
||||
gettext,
|
||||
go,
|
||||
hicolor-icon-theme,
|
||||
kdePackages,
|
||||
libinput,
|
||||
libx11,
|
||||
nix-update-script,
|
||||
pkg-config,
|
||||
python3,
|
||||
qt6,
|
||||
udev,
|
||||
}:
|
||||
|
||||
let
|
||||
pythonEnv = python3.withPackages (
|
||||
ps: with ps; [
|
||||
dbus-python
|
||||
pyqt6
|
||||
qtpy
|
||||
]
|
||||
);
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fcitx5-lotus";
|
||||
version = "3.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LotusInputMethod";
|
||||
repo = "fcitx5-lotus";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-MN83U0/o+vDGCxpYgFxfXAf+Iw59OaXyB7770ppLmEQ=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gettext
|
||||
go
|
||||
hicolor-icon-theme
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
acl
|
||||
fcitx5
|
||||
kdePackages.extra-cmake-modules
|
||||
libinput
|
||||
libx11
|
||||
pythonEnv
|
||||
qt6.qtbase
|
||||
udev
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
vendorDir =
|
||||
(buildGoModule {
|
||||
pname = "fcitx5-lotus-go-modules";
|
||||
inherit (finalAttrs) version src;
|
||||
modRoot = "bamboo";
|
||||
vendorHash = "sha256-HjVMGil4bNMTFifxFYtHELdkeKhrumHGrde4msbxvJc=";
|
||||
}).goModules;
|
||||
|
||||
preConfigure = ''
|
||||
export GOCACHE=$TMPDIR/go-cache
|
||||
export GOPATH=$TMPDIR/go
|
||||
|
||||
rm -rf bamboo/vendor
|
||||
cp -r $vendorDir bamboo/vendor
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/lotus-monitor.cpp \
|
||||
--replace-fail 'strcmp(exe_path, "/usr/bin/fcitx5-lotus-server") == 0' \
|
||||
'(strncmp(exe_path, "/nix/store/", 11) == 0 && strlen(exe_path) >= 24 && strcmp(exe_path + strlen(exe_path) - 24, "/bin/fcitx5-lotus-server") == 0)'
|
||||
|
||||
substituteInPlace server/lotus-server.cpp \
|
||||
--replace-fail 'strcmp(exe_path, "/usr/bin/fcitx5") == 0' \
|
||||
'(strncmp(exe_path, "/nix/store/", 11) == 0 && strlen(exe_path) >= 11 && strcmp(exe_path + strlen(exe_path) - 11, "/bin/fcitx5") == 0)'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/udev/rules.d/99-lotus.rules \
|
||||
--replace-fail "/usr/bin/setfacl" "${acl}/bin/setfacl"
|
||||
|
||||
substituteInPlace $out/lib/systemd/system/fcitx5-lotus-server@.service \
|
||||
--replace-fail "/usr/bin/setfacl" "${acl}/bin/setfacl" \
|
||||
--replace-fail "/usr/bin/fcitx5-lotus-server" "$out/bin/fcitx5-lotus-server"
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchShebangs $out/share/fcitx5-lotus/settings-gui
|
||||
wrapQtApp $out/bin/fcitx5-lotus-settings
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Vietnamese input method engine for Fcitx5";
|
||||
homepage = "https://github.com/LotusInputMethod/fcitx5-lotus";
|
||||
license = with lib.licenses; [
|
||||
gpl3Plus
|
||||
lgpl21Plus
|
||||
];
|
||||
maintainers = with lib.maintainers; [ imcvampire ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -13,13 +13,13 @@
|
||||
}:
|
||||
let
|
||||
php = php85;
|
||||
version = "6.6.3";
|
||||
version = "6.6.6";
|
||||
|
||||
# Release tarball contains translations downloaded from crowdin
|
||||
releaseTarball = fetchzip {
|
||||
url = "https://github.com/firefly-iii/firefly-iii/releases/download/v${version}/FireflyIII-v${version}.tar.gz";
|
||||
stripRoot = false;
|
||||
hash = "sha256-vPuLCjU8MzV5odoDl9QQXj4kKnT6QBSAPwvekMxJtEM=";
|
||||
hash = "sha256-ejXSfrsmHfbR5KpVo9VxXEsJWZ2ejS55JPl9P/6QzH8=";
|
||||
};
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@@ -30,7 +30,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
owner = "firefly-iii";
|
||||
repo = "firefly-iii";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-MPBWurmtaIaKHRLf4TPCdgTVWRZ0JdZ0Ix2N7d80s8c=";
|
||||
hash = "sha256-OfdMx0qiEszFRsgZlF7KILLNA+XBzcD4c2oWIzdIGfk=";
|
||||
};
|
||||
|
||||
buildInputs = [ php ];
|
||||
@@ -48,13 +48,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit (finalAttrs) pname src version;
|
||||
composerStrictValidation = true;
|
||||
strictDeps = true;
|
||||
vendorHash = "sha256-qjMDZbPpyTkKxvZhgNERe2ZuRFj7LmRW7XZoeezizbk=";
|
||||
vendorHash = "sha256-pdgXnNTE3iQ/v6t23nc7FojvVbB74W1AhiP7Z1XACUA=";
|
||||
};
|
||||
|
||||
npmDeps = fetchNpmDeps {
|
||||
inherit (finalAttrs) src;
|
||||
name = "${finalAttrs.pname}-npm-deps";
|
||||
hash = "sha256-QlLFhrD94mpfoe9mmCVmem9E4oPsLAGMMf+MbI/5Vx0=";
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
|
||||
hash = "sha256-7RvuwFI7NrPwjkS0Lz56ItcHAPt2Sp3iarod+FrNon0=";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "flyway";
|
||||
version = "12.10.0";
|
||||
version = "12.11.0";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flyway/flyway/releases/download/flyway-${finalAttrs.version}/flyway-commandline-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "sha256-JZ0qKGqaNzND+oKMn/mQc0SBzNUxpIzX4C86Znl/9Fo=";
|
||||
sha256 = "sha256-2IVSuzrtwqsvqpj7KlCQblD7j7HCK3HMOs1tkcL0ClU=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
dontBuild = true;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "fzf";
|
||||
version = "0.74.0";
|
||||
version = "0.74.1";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -19,7 +19,7 @@ buildGoModule (finalAttrs: {
|
||||
owner = "junegunn";
|
||||
repo = "fzf";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fsD/usMUfnjxpn5R/Bv4xuP32excEDgtZDEvikjDCY8=";
|
||||
hash = "sha256-Dmd/Vpw/W/pz9Hhkwb22zPQyHGLbs3cDjDHVM8ymkrc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-MLuoKPEAqrpCbUphYOCpHdo8MdW5kvueeDU/3loK33Q=";
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "gallery-dl";
|
||||
version = "1.32.5";
|
||||
version = "1.32.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromCodeberg {
|
||||
owner = "mikf";
|
||||
repo = "gallery-dl";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6E4PgJ6VWI0c6TyQOZ0siqsMxNNLpymy8/rANWaBVnU=";
|
||||
hash = "sha256-EWNKcFMrZG3WAcuKyVBk1u+4qn/a9gWt3QMc5Lu82es=";
|
||||
};
|
||||
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +1,136 @@
|
||||
{
|
||||
buildNpmPackage,
|
||||
bun,
|
||||
concurrently,
|
||||
fetchFromGitLab,
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
bun,
|
||||
fetchFromGitLab,
|
||||
makeBinaryWrapper,
|
||||
nix-update-script,
|
||||
nodejs_22,
|
||||
patch-package,
|
||||
stdenv,
|
||||
versionCheckHook,
|
||||
ripgrep,
|
||||
versionCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "gitlab-duo";
|
||||
version = "8.89.0";
|
||||
version = "9.3.0";
|
||||
|
||||
# DOCS https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp#node-version
|
||||
nodejs = nodejs_22;
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
group = "gitlab-org";
|
||||
owner = "editor-extensions";
|
||||
repo = "gitlab-lsp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-AiC0xxk8d/2rvRGm31vWqRuJ7nzMrITTGabv7v1LpOA=";
|
||||
hash = "sha256-D4WNlmZeMG47Y6AHcwk38PFrO0NMX9mxM781Jy7YDFM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# HACK https://github.com/NixOS/nixpkgs/issues/408720
|
||||
# Fix packages locked but without hash, or even missing
|
||||
./missing-hashes.patch
|
||||
];
|
||||
# Upstream migrated from npm to bun (bun.lock) in v8.90.0. Vendor the fully
|
||||
# resolved node_modules via a fixed-output derivation running `bun install`.
|
||||
node_modules = stdenvNoCC.mkDerivation {
|
||||
pname = "${finalAttrs.pname}-node_modules";
|
||||
inherit (finalAttrs) version src;
|
||||
|
||||
impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [
|
||||
"GIT_PROXY_COMMAND"
|
||||
"SOCKS_SERVER"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
bun
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
export BUN_INSTALL_CACHE_DIR=$(mktemp -d)
|
||||
bun install \
|
||||
--cpu="*" \
|
||||
--os="*" \
|
||||
--frozen-lockfile \
|
||||
--ignore-scripts \
|
||||
--no-progress
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
find . -type d -name node_modules -exec cp -R --parents {} $out \;
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Required: keeping store paths out of the FOD output keeps the hash stable.
|
||||
dontFixup = true;
|
||||
|
||||
outputHash = "sha256-SgLb1b43FJ8EYdRrdkpgA6MgYcAZD56e2u+4y3mKbpI=";
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
};
|
||||
|
||||
npmFlags = [ "--install-links" ];
|
||||
npmDepsHash = "sha256-U/dwfYZqy/1CM+Emz1w44mAzY24Z8vKWBXSzSqeVmnY=";
|
||||
npmRebuildFlags = [ "--ignore-scripts" ];
|
||||
npmBuildScript = "build:binary";
|
||||
npmWorkspace = "@gitlab/duo-cli";
|
||||
nativeBuildInputs = [
|
||||
bun
|
||||
concurrently
|
||||
patch-package
|
||||
nodejs_22
|
||||
makeBinaryWrapper
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "true";
|
||||
env.PUPPETEER_SKIP_DOWNLOAD = "true";
|
||||
env.TARGET = "${stdenv.targetPlatform.node.platform}-${stdenv.targetPlatform.node.arch}";
|
||||
env.SUPPORTED_TARGETS = "bun-${stdenv.targetPlatform.node.platform}-${stdenv.targetPlatform.node.arch}";
|
||||
env.SKIP_RIPGREP_BUNDLE = 1;
|
||||
# Workspace packages export built `dist/` under the default condition and their
|
||||
# TypeScript sources under `_ts-source`. Upstream's release build relies on a
|
||||
# turbo remote cache to supply every dependency's `dist/`; offline we instead
|
||||
# bundle straight from source by resolving the `_ts-source` condition.
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
postConfigure = ''
|
||||
patchShebangs --build ./packages/cli/scripts
|
||||
npmBuildScript=build:bundle runHook npmBuildHook
|
||||
cp -R ${finalAttrs.node_modules}/. .
|
||||
patchShebangs node_modules
|
||||
patchShebangs packages/*/node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
# Use --target=bun instead of a platform-specific target (e.g.
|
||||
# bun-linux-x64-baseline) to avoid bun downloading that platform's runtime
|
||||
# from npm, which is blocked by the Nix sandbox. --target=bun uses the
|
||||
# running bun binary itself as the standalone-executable template, which is
|
||||
# already patchelfd for NixOS.
|
||||
bun build packages/cli/src/index.tsx \
|
||||
--compile \
|
||||
--target=bun \
|
||||
--minify \
|
||||
--conditions _ts-source \
|
||||
--define 'BUNDLER_INJECTED_GITLAB_LANGUAGE_SERVER_VERSION="${finalAttrs.version}"' \
|
||||
--define 'BUNDLER_INJECTED_ENVIRONMENT="production"' \
|
||||
--define 'BUNDLER_INJECTED_DISTRIBUTION="binary"' \
|
||||
--no-compile-autoload-dotenv \
|
||||
--no-compile-autoload-bunfig \
|
||||
--compile-exec-argv=--use-system-ca \
|
||||
--sourcemap=inline \
|
||||
--outfile packages/cli/bin/duo
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
# bun build --compile appends the JS bundle to the bun binary; strip would
|
||||
# discard it and break the resulting executable.
|
||||
dontStrip = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 packages/cli/bin/duo-$TARGET $out/bin/duo
|
||||
install -Dm755 packages/cli/bin/duo $out/bin/duo
|
||||
|
||||
wrapProgram $out/bin/duo \
|
||||
--prefix PATH : ${lib.getExe ripgrep}
|
||||
--prefix PATH : ${lib.makeBinPath [ ripgrep ]}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
@@ -68,7 +139,12 @@ buildNpmPackage (finalAttrs: {
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--subpackage"
|
||||
"node_modules"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://gitlab.com/gitlab-org/editor-extensions/gitlab-lsp/-/blob/main/CHANGELOG.md";
|
||||
@@ -78,5 +154,12 @@ buildNpmPackage (finalAttrs: {
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "duo";
|
||||
maintainers = with lib.maintainers; [ afontaine ];
|
||||
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
||||
platforms = [
|
||||
"aarch64-linux"
|
||||
"x86_64-linux"
|
||||
"aarch64-darwin"
|
||||
"x86_64-darwin"
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -I nixpkgs=./. -i bash -p git jaq prefetch-npm-deps nix-update npm-lockfile-fix nodejs_22
|
||||
set -euo pipefail
|
||||
|
||||
# Get new Gitlab Duo release
|
||||
nix-update --src-only "$UPDATE_NIX_ATTR_PATH"
|
||||
|
||||
# Clone new sources
|
||||
dir="$(mktemp -d --suffix="$UPDATE_NIX_PNAME")"
|
||||
git clone --depth 1 \
|
||||
--branch "$(nix-instantiate --eval --raw -E "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.tag")" \
|
||||
"$(nix-instantiate --eval --raw -E "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.gitRepoUrl")" \
|
||||
"$dir"
|
||||
pushd "$dir"
|
||||
|
||||
# HACK https://github.com/npm/cli/issues/4460
|
||||
# Different dependencies require different versions of esbuild. Vite's lacks
|
||||
# some integrity hashes. We add a dummy "extra-deps" package to the workspace
|
||||
# to force recording those hashes.
|
||||
esbuild_version=$(jaq -r '.packages["node_modules/vite/node_modules/esbuild"].version' ./package-lock.json)
|
||||
mkdir packages/extra-deps
|
||||
cat > packages/extra-deps/package.json <<EOF
|
||||
{
|
||||
"devDependencies": {
|
||||
"only-allow": "*"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"esbuild": "$esbuild_version"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
jaq -i '.devDependencies["extra-deps"]="workspace:*"' ./package.json
|
||||
|
||||
# HACK https://github.com/npm/cli/issues/6787
|
||||
# Commander requires a higher version than the one locked, so we remove it from the lock
|
||||
commander_version=$(jaq -r '.packages["packages/cli"].devDependencies.commander' ./package-lock.json)
|
||||
# Remove ^ prefix
|
||||
commander_version="${commander_version/^}"
|
||||
# Sync locked version and remove URL and hash, so they are fixed later
|
||||
jaq -i --arg ver "$commander_version" \
|
||||
'.packages["node_modules/commander"].version = $ver | del(.packages["node_modules/commander"].integrity, .packages["node_modules/commander"].resolved)' \
|
||||
./package-lock.json
|
||||
|
||||
npm install --package-lock-only --ignore-scripts
|
||||
npm-lockfile-fix package-lock.json
|
||||
npmDepsHash="$(prefetch-npm-deps package-lock.json)"
|
||||
git add -A
|
||||
patch="$(git diff --cached --no-ext-diff)"
|
||||
popd
|
||||
|
||||
# Update nix expression with new hashes
|
||||
pushd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
echo "$patch" > missing-hashes.patch
|
||||
sed -E 's#\bnpmDepsHash = ".*?"#npmDepsHash = "'"$npmDepsHash"'"#' -i package.nix
|
||||
popd
|
||||
@@ -42,6 +42,7 @@ buildGoModule (finalAttrs: {
|
||||
'';
|
||||
|
||||
subPackages = [
|
||||
"cmd/cli-uploader"
|
||||
"cmd/gokapi"
|
||||
];
|
||||
|
||||
@@ -50,6 +51,10 @@ buildGoModule (finalAttrs: {
|
||||
"-w"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cli-uploader $out/bin/gokapi-cli
|
||||
'';
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
|
||||
84
pkgs/by-name/gs/gssproxy/package.nix
Normal file
84
pkgs/by-name/gs/gssproxy/package.nix
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
nix-update-script,
|
||||
pkg-config,
|
||||
ding-libs,
|
||||
krb5,
|
||||
libverto,
|
||||
popt,
|
||||
libxml2,
|
||||
libxslt,
|
||||
docbook-xsl-nons,
|
||||
docbook_xml_dtd_44,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gssproxy";
|
||||
version = "0.9.2";
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gssapi";
|
||||
repo = "gssproxy";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-RcT1ge/XxhTaT9hrvcHElAEAbvOtjqep3kdEw5e7WZY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
docbook-xsl-nons
|
||||
docbook_xml_dtd_44
|
||||
libxml2
|
||||
libxslt
|
||||
pkg-config
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"SGML_CATALOG_FILES=${docbook-xsl-nons}/xml/xsl/docbook/catalog.xml ${docbook_xml_dtd_44}/xml/dtd/docbook/catalog.xml"
|
||||
"VERTO_CFLAGS=${libverto}/include"
|
||||
"VERTO_LIBS=${libverto}/lib/libverto.so"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
find $out -type d -empty -delete
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
ding-libs
|
||||
krb5
|
||||
libverto
|
||||
popt
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-pubconf-path=${placeholder "out"}/etc/gssproxy"
|
||||
"--with-initscript=none"
|
||||
"--without-selinux"
|
||||
# Use REMOTE_FIRST behavior: try gssproxy daemon first, fall back to local credentials
|
||||
"--with-gpp-default-behavior=REMOTE_FIRST"
|
||||
"--with-xml-catalog-path=${docbook-xsl-nons}/xml/xsl/docbook/catalog.xml"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "GSS-API proxy client library for credential isolation";
|
||||
homepage = "https://github.com/gssapi/gssproxy";
|
||||
changelog = "https://github.com/gssapi/gssproxy/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ jlesquembre ];
|
||||
mainProgram = "gssproxy";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
37
pkgs/by-name/ho/homerow/package.nix
Normal file
37
pkgs/by-name/ho/homerow/package.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
fetchzip,
|
||||
stdenvNoCC,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "homerow";
|
||||
version = "1.5.3";
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://builds.homerow.app/v${finalAttrs.version}/Homerow.zip";
|
||||
hash = "sha256-zqa1QYq7UF80z0cvMZJMgTQFo3vqGdwzuLVMwgyuMME=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/Applications"
|
||||
cp -R *.app "$out/Applications"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Keyboard shortcuts for every button in macOS";
|
||||
homepage = "https://www.homerow.app/";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ shunueda ];
|
||||
platforms = lib.platforms.darwin;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
})
|
||||
@@ -20,14 +20,14 @@ let
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "incus-ui-canonical";
|
||||
version = "0.21.4";
|
||||
version = "0.21.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zabbly";
|
||||
repo = "incus-ui-canonical";
|
||||
# only use tags prefixed by incus- they are the tested fork versions
|
||||
tag = "incus-${finalAttrs.version}";
|
||||
hash = "sha256-EMf723WZKyVYDpvdmzjdp61rIZVsoj6gRMiMF323K/A=";
|
||||
hash = "sha256-HUx5QAXFtW+l3LYNWgiGWyOQzbHRbFQ1OpI0cSVLkd8=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
installShellFiles,
|
||||
testers,
|
||||
nix-update-script,
|
||||
@@ -11,18 +12,24 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "kind";
|
||||
version = "0.31.0";
|
||||
version = "0.32.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${finalAttrs.version}";
|
||||
owner = "kubernetes-sigs";
|
||||
repo = "kind";
|
||||
hash = "sha256-3icwtfwlSkYOEw9bzEhKJC7OtE1lnBjZSYp+cC/2XNc=";
|
||||
hash = "sha256-ii0VhS1Nib+r2ZFIIkRvkcGY1fLxev6WnhbqvaZW7j8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix kernel module path used by kind
|
||||
./kernel-module-path.patch
|
||||
|
||||
# fix apiserver connection loss after envoy lb container restart
|
||||
(fetchpatch {
|
||||
url = "https://github.com/kubernetes-sigs/kind/commit/9a24e6c1ae3d59f8de052ee5c3842820450a369a.patch";
|
||||
hash = "sha256-BP2Ub8b1GA7V0CGvhcoGuHRm7u+IMRTmN3mDc2rePnY=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = "sha256-tRpylYpEGF6XqtBl7ESYlXKEEAt+Jws4x4VlUVW8SNI=";
|
||||
|
||||
@@ -6,8 +6,11 @@
|
||||
|
||||
lib.lowPrio (
|
||||
lammps.override {
|
||||
extraBuildInputs = [
|
||||
extraNativeBuildInputs = [
|
||||
mpi
|
||||
];
|
||||
extraCmakeFlags = {
|
||||
BUILD_MPI = "ON";
|
||||
};
|
||||
}
|
||||
)
|
||||
|
||||
@@ -40,12 +40,12 @@
|
||||
SRD = true;
|
||||
REAXFF = true;
|
||||
PYTHON = true;
|
||||
MPIIO = true;
|
||||
},
|
||||
# Extra cmakeFlags to add as "-D${attr}=${value}"
|
||||
extraCmakeFlags ? { },
|
||||
# Extra `buildInputs` - meant for packages that require more inputs
|
||||
extraBuildInputs ? [ ],
|
||||
extraNativeBuildInputs ? [ ],
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -69,21 +69,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
# Although not always needed, it is needed if cmakeFlags include
|
||||
# GPU_API=cuda, and it doesn't users that don't enable the GPU package.
|
||||
autoAddDriverRunpath
|
||||
]
|
||||
++ extraNativeBuildInputs
|
||||
++ lib.optionals packages.PYTHON [
|
||||
python3
|
||||
]
|
||||
++ lib.optionals packages.MPIIO [
|
||||
mpich
|
||||
];
|
||||
|
||||
passthru = {
|
||||
inherit packages;
|
||||
inherit extraCmakeFlags;
|
||||
inherit extraBuildInputs;
|
||||
inherit extraNativeBuildInputs;
|
||||
};
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
|
||||
|
||||
@@ -13,14 +13,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "libsignal-ffi";
|
||||
# must match the version used in mautrix-signal
|
||||
# see https://github.com/mautrix/signal/issues/401
|
||||
version = "0.94.4";
|
||||
version = "0.97.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
fetchSubmodules = true;
|
||||
owner = "signalapp";
|
||||
repo = "libsignal";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Uh/j8cXUWgWgSo9UBfYOFuC8i+2YdMwGHcXf55PkGgU=";
|
||||
hash = "sha256-p9NIt+n7MTsYWAFS+FOuSGMJUZi8rBlTb6ATgVJ+uU8=";
|
||||
};
|
||||
|
||||
postPatch =
|
||||
@@ -46,7 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
NIX_LDFLAGS = if stdenv.hostPlatform.isDarwin then "-lc++" else "-lstdc++";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-st6zTKvxSsyMce22E8nFsJMGjQkk9sEAzSCmyZP8x20=";
|
||||
cargoHash = "sha256-JtNGubDMrUINCCiawrAW63L1trcBCAIibFpojK8mzhc=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
|
||||
@@ -80,7 +80,7 @@ let
|
||||
in
|
||||
effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "llama-cpp";
|
||||
version = "9925";
|
||||
version = "10063";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -91,7 +91,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
owner = "ggml-org";
|
||||
repo = "llama.cpp";
|
||||
tag = "b${finalAttrs.version}";
|
||||
hash = "sha256-yX8BrHA0fIgIozBGOXnN72KlfqIcR/mnO5ttUBLvxZE=";
|
||||
hash = "sha256-mkvRK5vn0qK6iE8kMyN9Zo/zaaaKTzp6WV9QfrKrHWc=";
|
||||
leaveDotGit = true;
|
||||
postFetch = ''
|
||||
git -C "$out" rev-parse --short HEAD > $out/COMMIT
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mautrix-meta";
|
||||
version = "26.06";
|
||||
tag = "v0.2606.0";
|
||||
version = "26.07";
|
||||
tag = "v0.2607.0";
|
||||
|
||||
subPackages = [ "cmd/mautrix-meta" ];
|
||||
|
||||
@@ -24,13 +24,13 @@ buildGoModule rec {
|
||||
owner = "mautrix";
|
||||
repo = "meta";
|
||||
inherit tag;
|
||||
hash = "sha256-fpuJc2OAAvOPd/mbkboyx1cwXgMhBYZgILbbBS2R2ko=";
|
||||
hash = "sha256-/NwO6B3IevmkP6nOgZ+Zjg12PvY/cGmH++7pKsJjaAk=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional (!withGoolm) olm;
|
||||
tags = lib.optional withGoolm "goolm";
|
||||
|
||||
vendorHash = "sha256-IW+xQbw+YQ5thqyIV5amfUSbOe543meXCNytzHf4p6A=";
|
||||
vendorHash = "sha256-ykTk6JQ6cMBH0HYK7n1FWxhAJkD7HVKrg9HChtvuCMk=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -20,14 +20,14 @@ let
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "mautrix-signal";
|
||||
version = "26.06";
|
||||
tag = "v0.2606.0";
|
||||
version = "26.07";
|
||||
tag = "v0.2607.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mautrix";
|
||||
repo = "signal";
|
||||
inherit tag;
|
||||
hash = "sha256-DSOf6kyNcsknwKM77vUQs6pWX8hMo4mU9dOGai62QR0=";
|
||||
hash = "sha256-l6IIL2bClC6t5+P0/AkFIjkD/eDpQnnmA8x4i5ROaY4=";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
@@ -46,7 +46,7 @@ buildGoModule rec {
|
||||
CGO_LDFLAGS = toString [ cppStdLib ];
|
||||
};
|
||||
|
||||
vendorHash = "sha256-e9Et97QEn12kkiqrQTaDtwECLhwvxwDUF6IcWoL/+Mg=";
|
||||
vendorHash = "sha256-0ifGza94s4+ED5OrlrqoDKIDZIYJWJhB2q3LJRpKiJs=";
|
||||
|
||||
ldflags = [
|
||||
"-X"
|
||||
|
||||
@@ -14,20 +14,20 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mautrix-whatsapp";
|
||||
version = "26.06";
|
||||
tag = "v0.2606.0";
|
||||
version = "26.07";
|
||||
tag = "v0.2607.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mautrix";
|
||||
repo = "whatsapp";
|
||||
inherit tag;
|
||||
hash = "sha256-xxUsFrBX6wwANKECwL6ITDkc88XpCyGpWDPjGQlH3fI=";
|
||||
hash = "sha256-cl3nJY9ui9J9fE9T1hBUV/o8lH0usrsUcpj9OwXxgtY=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional (!withGoolm) olm;
|
||||
tags = lib.optional withGoolm "goolm";
|
||||
|
||||
vendorHash = "sha256-H8dSwOPVJ3TofAJDupYhX6/Vm5qshhFXaMtUDWM/0mw=";
|
||||
vendorHash = "sha256-fVs5su6UkjvQEkoWJH6WL1FCZNdwj0jzrjfpbWOHWDU=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
diff --git a/bin/melos.dart b/bin/melos.dart
|
||||
index 2476436..bd79fad 100644
|
||||
index 2476436..ee6adb0 100644
|
||||
--- a/packages/melos/bin/melos.dart
|
||||
+++ b/packages/melos/bin/melos.dart
|
||||
@@ -1,11 +1,72 @@
|
||||
@@ -1,11 +1,74 @@
|
||||
import 'package:cli_launcher/cli_launcher.dart';
|
||||
import 'package:melos/src/command_runner.dart';
|
||||
+import 'dart:io';
|
||||
@@ -19,31 +19,29 @@ index 2476436..bd79fad 100644
|
||||
-);
|
||||
+final ExecutableName executableName = ExecutableName('melos');
|
||||
+
|
||||
+// Substituted at build time to the package's install location in the
|
||||
+// nix store (see preBuild in package.nix).
|
||||
+const _globalPackageRoot = '__NIX_MELOS_PACKAGE_ROOT__';
|
||||
+
|
||||
+Future<void> main(List<String> arguments) async {
|
||||
+ final workspaceRoot = _findLocalInstallation(Directory.current);
|
||||
+ final localInstallation = _findLocalInstallation(Directory.current);
|
||||
+
|
||||
+ if (workspaceRoot == null) {
|
||||
+ print("Error: Could not find your work ");
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ melosEntryPoint(
|
||||
+ await melosEntryPoint(
|
||||
+ arguments,
|
||||
+ LaunchContext(
|
||||
+ directory: Directory.current,
|
||||
+ localInstallation: ExecutableInstallation(
|
||||
+ globalInstallation: ExecutableInstallation(
|
||||
+ name: executableName,
|
||||
+ isSelf: false,
|
||||
+ packageRoot: workspaceRoot,
|
||||
+ packageRoot: Directory(_globalPackageRoot),
|
||||
+ ),
|
||||
+ localInstallation: localInstallation,
|
||||
+ ),
|
||||
+ );
|
||||
+}
|
||||
+
|
||||
+// Stolen then simplified from https://github.com/blaugold/cli_launcher/blob/dcdf11c42b77ddc8e38e7e2445c8cff9b55658ec/lib/cli_launcher.dart#L249
|
||||
+Directory? _findLocalInstallation(
|
||||
+ Directory start,
|
||||
+) {
|
||||
+ExecutableInstallation? _findLocalInstallation(Directory start) {
|
||||
+ if (path.equals(start.path, start.parent.path)) {
|
||||
+ return null;
|
||||
+ }
|
||||
@@ -72,12 +70,16 @@ index 2476436..bd79fad 100644
|
||||
+
|
||||
+ final isSelf = name == executableName.package;
|
||||
+
|
||||
+ if ((isSelf) ||
|
||||
+ if (isSelf ||
|
||||
+ (dependencies != null &&
|
||||
+ dependencies.containsKey(executableName.package)) ||
|
||||
+ (devDependencies != null &&
|
||||
+ devDependencies.containsKey(executableName.package))) {
|
||||
+ return start;
|
||||
+ return ExecutableInstallation(
|
||||
+ name: executableName,
|
||||
+ isSelf: isSelf,
|
||||
+ packageRoot: start,
|
||||
+ );
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
|
||||
@@ -27,6 +27,8 @@ buildDartApplication (finalAttrs: {
|
||||
--replace-fail "final melosPackageFileUri = await Isolate.resolvePackageUri(melosPackageUri);" "return \"$out\";"
|
||||
substituteInPlace packages/melos/lib/src/common/utils.dart \
|
||||
--replace-fail "return p.normalize('\''${melosPackageFileUri!.toFilePath()}/../..');" " "
|
||||
substituteInPlace packages/melos/bin/melos.dart \
|
||||
--replace-fail "__NIX_MELOS_PACKAGE_ROOT__" "$out"
|
||||
mkdir --parents $out
|
||||
cp --recursive packages/melos/templates $out/
|
||||
'';
|
||||
|
||||
@@ -16,10 +16,10 @@ let
|
||||
music-assistant-frontend = prev.callPackage ./frontend.nix { };
|
||||
|
||||
music-assistant-models = final.music-assistant-models.overridePythonAttrs (oldAttrs: {
|
||||
version = "1.1.129";
|
||||
version = "1.1.129.post1";
|
||||
|
||||
src = oldAttrs.src.override {
|
||||
hash = "sha256-6gVHlFTt/bsj4nUGPS6HDUQ7zczpfos75U6l4Yk9W6k=";
|
||||
hash = "sha256-86BmUmduNcSbEHxK+/he78b5fAM/XBhnNEc28Uv74GI=";
|
||||
};
|
||||
});
|
||||
}
|
||||
@@ -40,7 +40,7 @@ assert
|
||||
|
||||
pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
pname = "music-assistant";
|
||||
version = "2.9.8";
|
||||
version = "2.9.9";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -48,7 +48,7 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
owner = "music-assistant";
|
||||
repo = "server";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Zk9jgcGwksMQo45qzzlE2Dqw1IQr0rsBkzMnFHTdl1U=";
|
||||
hash = "sha256-ooe+QW+7S5LCgpin5/2g4L8+UDtr4TGZRpeR5F/tqZo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -203,6 +203,7 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
"snapcast"
|
||||
"sonic_analysis"
|
||||
"sonic_similarity"
|
||||
"sonos_s1"
|
||||
"tidal"
|
||||
"wiim"
|
||||
"ytmusic"
|
||||
@@ -227,6 +228,7 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
"tests/providers/kion_music"
|
||||
"tests/providers/nicovideo"
|
||||
"tests/providers/qqmusic"
|
||||
"tests/providers/siriusxm"
|
||||
"tests/providers/yandex_music"
|
||||
"tests/providers/yandex_ynison"
|
||||
"tests/providers/zvuk_music"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Do not edit manually, run ./update-providers.py
|
||||
|
||||
{
|
||||
version = "2.9.8";
|
||||
version = "2.9.9";
|
||||
builtins = [
|
||||
"builtin"
|
||||
"coverartarchive"
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "nextvi";
|
||||
version = "6.1";
|
||||
version = "7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyx0r";
|
||||
repo = "nextvi";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-SysBH4+Rp1M9HtdGUAHErmc+148/fTAtYrY/QQG2OS4=";
|
||||
hash = "sha256-corF/cPmkCkpqg2UVLrMHL33pgp3ffBohbQzq95b+Ws=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
@@ -302,6 +302,7 @@ goBuild (finalAttrs: {
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
|
||||
-DFETCHCONTENT_SOURCE_DIR_LLAMA_CPP="$TMPDIR/llama-cpp-src" \
|
||||
-DOLLAMA_MLX_BACKENDS="" \
|
||||
$cmakeFlags \
|
||||
${cmakeFlagsCudaArchitectures} \
|
||||
${cmakeFlagsRocmTargets} \
|
||||
${cmakeFlagsBackend}
|
||||
@@ -393,5 +394,7 @@ goBuild (finalAttrs: {
|
||||
maintainers = with maintainers; [
|
||||
prusnak
|
||||
];
|
||||
# install TARGETS RUNTIME_DEPENDENCIES is not supported when cross-compiling.
|
||||
broken = stdenv.buildPlatform != stdenv.hostPlatform;
|
||||
};
|
||||
})
|
||||
|
||||
14
pkgs/by-name/op/openra/engines/default.nix
Normal file
14
pkgs/by-name/op/openra/engines/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
callPackage,
|
||||
}:
|
||||
let
|
||||
openRaUpdater = callPackage ../updater.nix { };
|
||||
buildOpenRAEngine = callPackage ../build-engine.nix { inherit openRaUpdater; };
|
||||
callPackage' = path: callPackage path { inherit buildOpenRAEngine; };
|
||||
in
|
||||
{
|
||||
engines = {
|
||||
release = callPackage' ./release;
|
||||
bleed = callPackage' ./bleed;
|
||||
};
|
||||
}
|
||||
4
pkgs/by-name/op/openra/package.nix
Normal file
4
pkgs/by-name/op/openra/package.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
openraPackages,
|
||||
}:
|
||||
openraPackages.engines.release
|
||||
@@ -1,17 +1,17 @@
|
||||
if [[ -z "${UPDATE_NIX_ATTR_PATH:-}" ]]; then
|
||||
echo "Missing UPDATE_NIX_ATTR_PATH - make sure you use mainters/scripts/update.nix to run this script!" 1>&2
|
||||
echo "Missing UPDATE_NIX_ATTR_PATH - make sure you use maintainers/scripts/update.nix to run this script!" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
attrPath="$UPDATE_NIX_ATTR_PATH"
|
||||
|
||||
nixFilePath="$(pwd)/pkgs/games/openra/engines/$build/default.nix"
|
||||
nixFilePath="$(pwd)/pkgs/by-name/op/openra/engines/$build/default.nix"
|
||||
if [[ ! -f "$nixFilePath" ]]; then
|
||||
echo "$nixFilePath does not exist!" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
depsFilePath="$(pwd)/pkgs/games/openra/engines/$build/deps.json"
|
||||
depsFilePath="$(pwd)/pkgs/by-name/op/openra/engines/$build/deps.json"
|
||||
if [[ ! -f "$depsFilePath" ]]; then
|
||||
echo "$depsFilePath does not exist!" 1>&2
|
||||
exit 1
|
||||
@@ -12,16 +12,16 @@
|
||||
}:
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "pi-coding-agent";
|
||||
version = "0.80.8";
|
||||
version = "0.80.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "earendil-works";
|
||||
repo = "pi";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-wCsZA1gb9sFri6OdTWBf0UCXYxqxlbImG8iE6K+D9u4=";
|
||||
hash = "sha256-Vs/ndHYzFyfN4CjPV2zMYblLXe9IuM13UrPJI1VsZEQ=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-WdSQHKKOVzEFxUQH3QnSVzs+HpJPATnCQ701nbRB0lc=";
|
||||
npmDepsHash = "sha256-XGvDNH+eilsgc0Z7ITqbitB/9RVc+WuDfCcr1pibNqk=";
|
||||
|
||||
npmWorkspace = "packages/coding-agent";
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "quantlib";
|
||||
version = "1.42.1";
|
||||
version = "1.43";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "lballabio";
|
||||
repo = "QuantLib";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-sc+CZzDNITOBSUG0ZkJEmrSLv/cr5LvLRdqD0LAfe8I=";
|
||||
hash = "sha256-Bl+Q5BKUg9WCzktaeCr9Zdw38arg3K4/wqBC8tS8ghM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -5,22 +5,24 @@
|
||||
cmake,
|
||||
pkg-config,
|
||||
kdePackages,
|
||||
ctestCheckHook,
|
||||
withGstreamer ? true,
|
||||
gst_all_1,
|
||||
withOmemo ? true,
|
||||
libomemo-c,
|
||||
withEncryption ? true,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "qxmpp";
|
||||
version = "1.15.1";
|
||||
version = "1.16.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "libraries";
|
||||
repo = "qxmpp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PkdzEQKI0NiLvDyI+SEoKainF7UiAU3UVJQjgwYKHuo=";
|
||||
hash = "sha256-JuGSLi0oqlUTbJnjlqd9qo0Dk2yCY1hfryQy0CuEjLo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -46,21 +48,30 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libomemo-c
|
||||
];
|
||||
cmakeFlags = [
|
||||
"-DBUILD_EXAMPLES=false"
|
||||
"-DBUILD_TESTS=false"
|
||||
]
|
||||
++ lib.optionals withGstreamer [
|
||||
"-DWITH_GSTREAMER=ON"
|
||||
]
|
||||
++ lib.optionals withOmemo [
|
||||
"-DBUILD_OMEMO=ON"
|
||||
(lib.cmakeBool "BUILD_DOCUMENTATION" false)
|
||||
(lib.cmakeBool "BUILD_EXAMPLES" false)
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.doCheck)
|
||||
(lib.cmakeBool "BUILD_OMEMO" withOmemo)
|
||||
(lib.cmakeBool "WITH_ENCRYPTION" withEncryption)
|
||||
(lib.cmakeBool "WITH_GSTREAMER" withGstreamer)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ ctestCheckHook ];
|
||||
disabledTests = [
|
||||
"tst_QXmppIceConnection"
|
||||
"tst_QXmppTransferManager"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Cross-platform C++ XMPP client and server library";
|
||||
changelog = "https://invent.kde.org/libraries/qxmpp/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
homepage = "https://invent.kde.org/libraries/qxmpp";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = with lib.maintainers; [ astro ];
|
||||
maintainers = with lib.maintainers; [
|
||||
astro
|
||||
haansn08
|
||||
];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "snyk";
|
||||
version = "1.1306.0";
|
||||
version = "1.1306.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "snyk";
|
||||
repo = "cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-SYF5o/yx8A3u81yCwIU3njVSLG2vZskhZhJSAXAEioA=";
|
||||
hash = "sha256-L2aR09o2FVYKDXdbRr9cw93cerWybw3b6Tdvs5Q1atQ=";
|
||||
|
||||
# TODO: Remove once https://github.com/snyk/cli/pull/6924 is released.
|
||||
postFetch = ''
|
||||
@@ -26,7 +26,7 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
npmDepsFetcherVersion = 3;
|
||||
|
||||
npmDepsHash = "sha256-6re7WgeeuiHSJJmr+3wWyHYEq+jcVy9FvkwwVwwdnBg=";
|
||||
npmDepsHash = "sha256-AmJNFEw7IF9PjgeRma6vp3I7a60ZkekfRkPXJtjVIik=";
|
||||
|
||||
nodejs = nodejs_24;
|
||||
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sview";
|
||||
version = "26_02";
|
||||
version = "26.07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gkv311";
|
||||
repo = "sview";
|
||||
tag = version;
|
||||
hash = "sha256-UIA8bDGYVN8Zw23PkKprYrvcMubHzoquaSArLShu+aw=";
|
||||
tag = lib.replaceString "." "_" version;
|
||||
hash = "sha256-Kyz+FHYpBKKAyHMEM0DTKNNIAw4/tORxeCOFOLySspY=";
|
||||
};
|
||||
|
||||
droidSansFallback = fetchurl {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
apple-sdk,
|
||||
fetchFromGitHub,
|
||||
ibtool,
|
||||
lib,
|
||||
@@ -20,6 +19,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-Hd9cI3R2nQK2deBb5CBYz4DTHAEcO4vzqtA5qZwa1Ao=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
ibtool
|
||||
makeBinaryWrapper
|
||||
@@ -28,15 +31,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
llvmPackages.lld
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
apple-sdk
|
||||
];
|
||||
|
||||
xcbuildFlags = [
|
||||
"-target"
|
||||
"terminal-notifier"
|
||||
"-configuration"
|
||||
"Release"
|
||||
];
|
||||
|
||||
# TODO: Clean up on `staging`
|
||||
@@ -45,12 +42,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{Applications,bin}
|
||||
mkdir -p $out/Applications
|
||||
cp -r Products/Release/terminal-notifier.app $out/Applications/
|
||||
|
||||
makeWrapper \
|
||||
$out/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier \
|
||||
$out/bin/terminal-notifier \
|
||||
--chdir $out/Applications/terminal-notifier.app
|
||||
$out/bin/terminal-notifier
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "thunar";
|
||||
version = "4.20.8";
|
||||
version = "4.20.9";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "xfce";
|
||||
repo = "thunar";
|
||||
tag = "thunar-${finalAttrs.version}";
|
||||
hash = "sha256-gcNo9HNBY5NGhJ8N8DBTXYb5gsNAXrItvWuo3XdSBRg=";
|
||||
hash = "sha256-rKKxCl7hoIcEDcKVaaRJfU+hyDHE/vpL0gxXExX6NeI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "tombi";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
owner = "tombi-toml";
|
||||
repo = "tombi";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-aK2Y9knJwJCaRFifGpsEvH5hm0ZqtDPLHYnabxAEZZQ=";
|
||||
hash = "sha256-F7YQy+p0nsC4rKBs8CUG39FrK7fI8JE71YhHV6RaFZg=";
|
||||
};
|
||||
|
||||
# Tests relies on the presence of network
|
||||
|
||||
@@ -4,20 +4,25 @@
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
openssl,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "tootik";
|
||||
version = "0.20.2";
|
||||
version = "0.23.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dimkr";
|
||||
repo = "tootik";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-zkKkHzgIBHg0FH07KNr7jGNZU4QUbl6udoD7hLaDOL0=";
|
||||
hash = "sha256-YcpRt17X9EHTCDhyFRnUriin4Y5vllLItKPGbrzUr8Y=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-UZQw63KPs7GzOv5Ls69DLqJqc/taWwC5UCYdNlq9fXc=";
|
||||
proxyVendor = true;
|
||||
vendorHash = "sha256-VeMTiOL4JQGzDN4Nan6nZbujDnX2Ksby2W+AK7kAs+M=";
|
||||
|
||||
subPackages = [ "cmd/tootik" ];
|
||||
|
||||
nativeBuildInputs = [ openssl ];
|
||||
|
||||
@@ -31,6 +36,11 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
doCheck = !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64);
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "turso";
|
||||
version = "0.6.1";
|
||||
version = "0.7.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -15,10 +15,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
owner = "tursodatabase";
|
||||
repo = "turso";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-32bYI3pWKlQTWZr/AS5aULZt4sgBHMswMBViGlRiwjk=";
|
||||
hash = "sha256-eRB8IM7cda7UaYfX5dIubIK4K0M6ydrTxyLAUPB9/WM=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-bmyMjjjmKeDySDzyOJCtDHF9HD/u/A4Jt2qxpZgHVqY=";
|
||||
cargoHash = "sha256-94lXY24XnURv6ebr4I/O8Rzk/iqflo7fib18S7XPhdU=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--bin"
|
||||
|
||||
58
pkgs/by-name/un/unifly/package.nix
Normal file
58
pkgs/by-name/un/unifly/package.nix
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
llvmPackages,
|
||||
installShellFiles,
|
||||
dbus,
|
||||
versionCheckHook,
|
||||
stdenv,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
__structuredAttrs = true;
|
||||
|
||||
pname = "unifly";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyperb1iss";
|
||||
repo = "unifly";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Hw/zm9OjBcAI0H2vvwnAj4tjF0E+d6RHpWIexhPBuy8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
llvmPackages.bintools
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [ dbus ];
|
||||
|
||||
cargoHash = "sha256-4nLfMzlN5KQK3JvmoHbktI/tyc3aaI78Oa5RtQN4xLo=";
|
||||
|
||||
doCheck = false;
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd unifly \
|
||||
--bash <($out/bin/unifly completions bash) \
|
||||
--fish <($out/bin/unifly completions fish) \
|
||||
--zsh <($out/bin/unifly completions zsh)
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Elegant UniFi network management CLI & TUI - for humans and agents";
|
||||
homepage = "https://hyperb1iss.github.io/unifly";
|
||||
changelog = "https://github.com/hyperb1iss/unifly/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.apsl20;
|
||||
maintainers = with lib.maintainers; [ britter ];
|
||||
mainProgram = "unifly";
|
||||
};
|
||||
})
|
||||
@@ -6,8 +6,7 @@
|
||||
copyDesktopItems,
|
||||
autoPatchelfHook,
|
||||
|
||||
# Upstream is officially built with Electron 18
|
||||
# (but it works with latest Electron with minor changes, see HACK below)
|
||||
# Upstream is built with older Electron
|
||||
electron,
|
||||
asar,
|
||||
dpkg,
|
||||
@@ -40,19 +39,14 @@
|
||||
}:
|
||||
|
||||
let
|
||||
# CDN links for 2.0.2:
|
||||
# MacOS: https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20240927/ecb6ca54f4dc97a2f91e53358bbb532d.dmg
|
||||
# Windows: https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20240927/9db7ae1c60c26836a447a71a6fb25b3b.exe
|
||||
# Linux ARM64: https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20240927/02ec69e6a2f3b744d964fd7ba4f40fc3.deb
|
||||
# Linux AMD64: https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20240927/3e688d423cd0cd31a8a589b8325a309e.deb
|
||||
srcs = {
|
||||
x86_64-linux = {
|
||||
url = "https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20240927/3e688d423cd0cd31a8a589b8325a309e.deb";
|
||||
sha256 = "sha256-ZHqaEL8FoSnRtuqGWpTyJka7D0dHtRADZthq8DG2k24=";
|
||||
url = "https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20260410/simulator_2.1.1_linux_amd64.deb";
|
||||
hash = "sha256-+cRt2jZexe3hI+jN2Lp58uM8GBDvEDqt/u3rp5F0wPo=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20240927/02ec69e6a2f3b744d964fd7ba4f40fc3.deb";
|
||||
sha256 = "sha256-J5Y4wLiFOM9D2MIMiRyUtHIZ19rt65ktVCOMZQQwBCI=";
|
||||
url = "https://upload-cdn.zepp.com/zepp-applet-and-wechat-applet/20260509/simulator_2.1.1_arm64.deb";
|
||||
hash = "sha256-JnMfiKmA3tyMYDtO2XoeGYOLE2wANKixcfz9wesXoLk=";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -60,7 +54,7 @@ in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "zepp-simulator";
|
||||
version = "2.0.2";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchurl srcs.${stdenv.hostPlatform.system};
|
||||
|
||||
|
||||
@@ -80,9 +80,9 @@
|
||||
major = "3";
|
||||
minor = "15";
|
||||
patch = "0";
|
||||
suffix = "b3";
|
||||
suffix = "b4";
|
||||
};
|
||||
hash = "sha256-apNa4jSmfmVJiUNzsM/rg2EYLQOyFEIyiulZirdCISc=";
|
||||
hash = "sha256-k++5yI17ZjM2jn97j4226YmI9/dhwJt3hJRHJihBzjo=";
|
||||
inherit passthruFun;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,48 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
cctools,
|
||||
autoSignDarwinBinariesHook,
|
||||
fixDarwinDylibNames,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liquid-dsp";
|
||||
version = "1.6.0";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgaeddert";
|
||||
repo = "liquid-dsp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-3UKAwhYaYZ42+d+wiW/AB6x5TSOel8d++d3HeZqAg/8=";
|
||||
sha256 = "sha256-IvWtoXuuIvpJfY4cyRUsPHgax2/aytYShSdxEStiPYI=";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"LIBTOOL=${cctools}/bin/libtool"
|
||||
]
|
||||
++ [
|
||||
# Prevent native cpu arch from leaking into binaries. This might lead to
|
||||
# poor performance, but having portable and working executables is more
|
||||
# important.
|
||||
(lib.enableFeature true "simdoverride")
|
||||
];
|
||||
cmakeFlags = [
|
||||
# Prevent native cpu arch from leaking into binaries.
|
||||
(lib.cmakeBool "ENABLE_SIMD" false)
|
||||
(lib.cmakeBool "FIND_SIMD" false)
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
cmake
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
cctools
|
||||
autoSignDarwinBinariesHook
|
||||
fixDarwinDylibNames
|
||||
];
|
||||
|
||||
patches = [
|
||||
./fix-cmake-pc-paths.patch
|
||||
./include-stdarg.patch
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://liquidsdr.org/";
|
||||
description = "Digital signal processing library for software-defined radios";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ iank ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 07c123889..a6640515c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -564,6 +564,9 @@ if (fftw3f_FOUND)
|
||||
string(APPEND LIQUID_PC_LIBS_PRIVATE " -lfftw3f")
|
||||
endif()
|
||||
|
||||
+cmake_path(APPEND libdir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_LIBDIR}")
|
||||
+cmake_path(APPEND includedir_for_pc_file "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
+
|
||||
configure_file(
|
||||
cmake/liquid-dsp.pc.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/liquid-dsp.pc
|
||||
diff --git a/cmake/liquid-dsp.pc.in b/cmake/liquid-dsp.pc.in
|
||||
index 93597a7e4..06de85dee 100644
|
||||
--- a/cmake/liquid-dsp.pc.in
|
||||
+++ b/cmake/liquid-dsp.pc.in
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
+libdir=@libdir_for_pc_file@
|
||||
+includedir=@includedir_for_pc_file@
|
||||
|
||||
Name: liquid-dsp
|
||||
Description: Software-defined radio digital signal processing library
|
||||
12
pkgs/development/libraries/liquid-dsp/include-stdarg.patch
Normal file
12
pkgs/development/libraries/liquid-dsp/include-stdarg.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/include/liquid.h b/include/liquid.h
|
||||
index 290778b50..52d898d07 100644
|
||||
--- a/include/liquid.h
|
||||
+++ b/include/liquid.h
|
||||
@@ -34,6 +34,7 @@ extern "C" {
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
+#include <stdarg.h>
|
||||
|
||||
// compile-time short file path: use __FILE_NAME__ if available (Clang 9+, GCC 12+)
|
||||
#ifdef __FILE_NAME__
|
||||
@@ -5,8 +5,8 @@
|
||||
# Example: nix-shell ./maintainers/scripts/update.nix --argstr package cacert
|
||||
|
||||
import ./generic.nix {
|
||||
version = "3.125";
|
||||
hash = "sha256-pIRoFJYsQZzI+hJcNzTX+WT91tfXDygWE0RrirfyBPc=";
|
||||
version = "3.126";
|
||||
hash = "sha256-+yiBEc8WLZ6qiO8MBQBiIXfm4OEJ9EFgmw2rY+U/bp8=";
|
||||
filename = "latest.nix";
|
||||
versionRegex = "NSS_(\\d+)_(\\d+)(?:_(\\d+))?_RTM";
|
||||
}
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "agentic-threat-hunting-framework";
|
||||
version = "0.13.0";
|
||||
version = "0.16.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nebulock-Inc";
|
||||
repo = "agentic-threat-hunting-framework";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-5E9nUSGwEuGdt04M0rRoHES8Klco6j5X1TLa/E7KdgM=";
|
||||
hash = "sha256-KyrWJlfrpb7vjOVZvIw9f4KZCxpFZtwhmD0oFxQJ7RE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -2,20 +2,28 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
click,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "click-log";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
pname = "click-log";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-OXD4VwrFRJEje82z2KtePu9sBX3yn4w9EVGlGpwjuXU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ click ];
|
||||
|
||||
pythonImportsCheck = [ "click_log" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/click-contrib/click-log/";
|
||||
@@ -23,4 +31,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -2,23 +2,28 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
click,
|
||||
pytest,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cligj";
|
||||
version = "0.7.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapbox";
|
||||
repo = "cligj";
|
||||
rev = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-0f9+I6ozX93Vn0l7+WR0mpddDZymJQ3+Krovt6co22Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ click ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
@@ -28,10 +33,12 @@ buildPythonPackage rec {
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "cligj" ];
|
||||
|
||||
meta = {
|
||||
description = "Click params for command line interfaces to GeoJSON";
|
||||
homepage = "https://github.com/mapbox/cligj";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -2,26 +2,33 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pyyaml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cmdline";
|
||||
version = "0.2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7cf6af53549892b2218c2f56a199dff54a733be5c5515c0fd626812070b0a86a";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-fPavU1SYkrIhjC9WoZnf9UpzO+XFUVwP1iaBIHCwqGo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# No tests, https://github.com/rca/cmdline/issues/1
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ pyyaml ];
|
||||
dependencies = [ pyyaml ];
|
||||
|
||||
pythonImportsCheck = [ "cmdline" ];
|
||||
|
||||
meta = {
|
||||
description = "Utilities for consistent command line tools";
|
||||
homepage = "https://github.com/rca/cmdline";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "iamdata";
|
||||
version = "0.1.202607171";
|
||||
version = "0.1.202607181";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloud-copilot";
|
||||
repo = "iam-data-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-i4/vmq7Adxrmb6Ad/eFU5NwOseHo/uBMsN5UyyqDyqY=";
|
||||
hash = "sha256-p9wgcA6POyOpEJk6DrtTRFsxnFFB3Szay+JVNSGAFnQ=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -1,29 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
pip,
|
||||
pythonAtLeast,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pip-chill";
|
||||
version = "1.0.3";
|
||||
version = "1.0.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rbanffy";
|
||||
repo = "pip-chill";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-oWq3UWBL5nsCBUkaElashZKvm7pN3StJNubgU++8YFs=";
|
||||
src = fetchPypi {
|
||||
pname = "pip_chill";
|
||||
inherit version;
|
||||
hash = "sha256-55vFFKv+FE8u9SKQ9ZZ30nnLBbQIT6n4FLvlzA6gTBw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = lib.optionals (pythonAtLeast "3.12") [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pip
|
||||
pytestCheckHook
|
||||
@@ -39,7 +35,6 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "More relaxed `pip freeze`";
|
||||
homepage = "https://github.com/rbanffy/pip-chill";
|
||||
changelog = "https://github.com/rbanffy/pip-chill/releases/tag/v${version}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ tochiaha ];
|
||||
mainProgram = "pip-chill";
|
||||
|
||||
@@ -68,6 +68,11 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
pythonImportsCheck = [ "pyinfra" ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"paramiko"
|
||||
"types-paramiko"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires SSH binary
|
||||
"test_load_ssh_config"
|
||||
@@ -83,7 +88,10 @@ buildPythonPackage (finalAttrs: {
|
||||
downloadPage = "https://pyinfra.com/Fizzadar/pyinfra/releases";
|
||||
changelog = "https://github.com/Fizzadar/pyinfra/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ totoroot ];
|
||||
maintainers = with lib.maintainers; [
|
||||
robsliwi
|
||||
totoroot
|
||||
];
|
||||
mainProgram = "pyinfra";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -46,14 +46,14 @@ let
|
||||
in
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "rembg";
|
||||
version = "2.0.76";
|
||||
version = "2.0.77";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danielgatis";
|
||||
repo = "rembg";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Iv98z6LdQCkfndBOZubyUtN8teTlZsi8fmQ/Vec18yI=";
|
||||
hash = "sha256-N7G9jYERoFAj3GBuGypuWqeOMmspKr3lzVY/3mb58Mw=";
|
||||
};
|
||||
|
||||
env.POETRY_DYNAMIC_VERSIONING_BYPASS = finalAttrs.version;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "scverse-misc";
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage (finalAttrs: {
|
||||
owner = "scverse";
|
||||
repo = "scverse-misc";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-PkvOaxGbZ1i10xgghdvGLCKiXcwg/eZzYvQ7Gp3K+JE=";
|
||||
hash = "sha256-ARiC/7yBm4n08RyTAOVc/PnBivhBY/NqJEauCL4QQZA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -47,6 +47,7 @@ buildPythonPackage rec {
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"toolz"
|
||||
"pandas"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "types-decorator";
|
||||
version = "5.2.0.20260519";
|
||||
version = "5.2.0.20260712";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "types_decorator";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-tbI7Lw0RwGdIeAaX00XIpoT8LQx1PwjugGNmDZ16I9k=";
|
||||
hash = "sha256-KJDwX+PGVUa69QAP1fHu1NHJW65VFuI+FzW3taTdmMY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -38,8 +38,8 @@ let
|
||||
pyyaml
|
||||
];
|
||||
|
||||
mysqlShellVersion = "8.4.9";
|
||||
mysqlServerVersion = "8.4.9";
|
||||
mysqlShellVersion = "8.4.10";
|
||||
mysqlServerVersion = "8.4.10";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mysql-shell";
|
||||
@@ -48,11 +48,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor mysqlServerVersion}/mysql-${mysqlServerVersion}.tar.gz";
|
||||
hash = "sha256-5KqLOeQtH+B48zu9c2lfrCtU28e7E38L2+Y/e+GgLWs=";
|
||||
hash = "sha256-1XpnMLrvFK4Rj39KbgKEW1tQkzdY32H7BuEE8nzMj5Y=";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-${finalAttrs.version}-src.tar.gz";
|
||||
hash = "sha256-btYUh/akFRCSOXDL1C5xuXLysHS1lm4H74kqY+4zyiQ=";
|
||||
hash = "sha256-2pOMjkr8y1lCuh5EC34kI9V8vcQpAotJPHWHkMbgET4=";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ let
|
||||
pyyaml
|
||||
];
|
||||
|
||||
mysqlShellVersion = "9.7.0";
|
||||
mysqlServerVersion = "9.7.0";
|
||||
mysqlShellVersion = "9.7.1";
|
||||
mysqlServerVersion = "9.7.1";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mysql-shell";
|
||||
@@ -48,11 +48,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor mysqlServerVersion}/mysql-${mysqlServerVersion}.tar.gz";
|
||||
hash = "sha256-dLV0urxWsOy2MqvTWdITxnlOz0Qq5Ekov8WB+z1iMG0=";
|
||||
hash = "sha256-2r/yYwIr5qCRUcIYEjIoc0N+DXeuyMTMc4GILD6hrq4=";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-${finalAttrs.version}-src.tar.gz";
|
||||
hash = "sha256-s/omxSFTC/n3B8OtYddDqXzCd4GE4b5O8NUKbLdvwRI=";
|
||||
hash = "sha256-7bRgb3CBu3oQiZm5xe6U6DvX5xd9iWqqeNPDwI+BYRQ=";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
@@ -1,157 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
pkg-config,
|
||||
cmake,
|
||||
fetchurl,
|
||||
git,
|
||||
cctools,
|
||||
darwin,
|
||||
makeWrapper,
|
||||
bison,
|
||||
openssl,
|
||||
protobuf,
|
||||
curl,
|
||||
zlib,
|
||||
libssh,
|
||||
zstd,
|
||||
lz4,
|
||||
readline,
|
||||
libtirpc,
|
||||
rpcsvc-proto,
|
||||
libedit,
|
||||
libevent,
|
||||
icu,
|
||||
re2,
|
||||
ncurses,
|
||||
libfido2,
|
||||
python3,
|
||||
cyrus_sasl,
|
||||
openldap,
|
||||
antlr,
|
||||
}:
|
||||
|
||||
let
|
||||
pythonDeps = with python3.pkgs; [
|
||||
certifi
|
||||
paramiko
|
||||
pyyaml
|
||||
];
|
||||
|
||||
mysqlShellVersion = "9.7.0";
|
||||
mysqlServerVersion = "9.7.0";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mysql-shell-innovation";
|
||||
version = mysqlShellVersion;
|
||||
|
||||
srcs = [
|
||||
(fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/MySQL-${lib.versions.majorMinor mysqlServerVersion}/mysql-${mysqlServerVersion}.tar.gz";
|
||||
hash = "sha256-dLV0urxWsOy2MqvTWdITxnlOz0Qq5Ekov8WB+z1iMG0=";
|
||||
})
|
||||
(fetchurl {
|
||||
url = "https://dev.mysql.com/get/Downloads/MySQL-Shell/mysql-shell-${finalAttrs.version}-src.tar.gz";
|
||||
hash = "sha256-s/omxSFTC/n3B8OtYddDqXzCd4GE4b5O8NUKbLdvwRI=";
|
||||
})
|
||||
];
|
||||
|
||||
sourceRoot = "mysql-shell-${finalAttrs.version}-src";
|
||||
|
||||
postUnpack = ''
|
||||
mv mysql-${mysqlServerVersion} mysql
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# No openssl bundling on macOS. It's not working.
|
||||
# See https://github.com/mysql/mysql-shell/blob/5b84e0be59fc0e027ef3f4920df15f7be97624c1/cmake/ssl.cmake#L53
|
||||
./no-openssl-bundling.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ../mysql/cmake/libutils.cmake --replace-fail /usr/bin/libtool libtool
|
||||
substituteInPlace ../mysql/cmake/os/Darwin.cmake --replace-fail /usr/bin/libtool libtool
|
||||
|
||||
substituteInPlace cmake/libutils.cmake --replace-fail /usr/bin/libtool libtool
|
||||
|
||||
${lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
patch -d .. -p1 < ${./mysql-server-libcxx-21.patch}
|
||||
''}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
git
|
||||
bison
|
||||
makeWrapper
|
||||
]
|
||||
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ rpcsvc-proto ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
cctools
|
||||
darwin.DarwinTools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
libedit
|
||||
libssh
|
||||
lz4
|
||||
openssl
|
||||
protobuf
|
||||
readline
|
||||
zlib
|
||||
zstd
|
||||
libevent
|
||||
icu
|
||||
re2
|
||||
ncurses
|
||||
libfido2
|
||||
cyrus_sasl
|
||||
openldap
|
||||
python3
|
||||
antlr.runtime.cpp
|
||||
]
|
||||
++ pythonDeps
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ libtirpc ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.libutil ];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=maybe-uninitialized -Wno-error=array-bounds";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
# Build MySQL
|
||||
echo "Building mysqlclient mysqlxclient"
|
||||
|
||||
cmake -DWITH_SYSTEM_LIBS=ON -DWITH_FIDO=system -DWITH_ROUTER=ON -DWITH_UNIT_TESTS=OFF \
|
||||
-DFORCE_UNSUPPORTED_COMPILER=1 -S ../mysql -B ../mysql/build
|
||||
|
||||
cmake --build ../mysql/build --parallel ''${NIX_BUILD_CORES:-1} \
|
||||
--target mysqlclient mysqlxclient mysqlbinlog mysql_binlog_event_standalone mysqlrouter_all
|
||||
|
||||
cmakeFlagsArray+=(
|
||||
"-DMYSQL_SOURCE_DIR=''${NIX_BUILD_TOP}/mysql"
|
||||
"-DMYSQL_BUILD_DIR=''${NIX_BUILD_TOP}/mysql/build"
|
||||
"-DMYSQL_CONFIG_EXECUTABLE=''${NIX_BUILD_TOP}/mysql/build/scripts/mysql_config"
|
||||
"-DWITH_ZSTD=system"
|
||||
"-DWITH_LZ4=system"
|
||||
"-DWITH_ZLIB=system"
|
||||
"-DWITH_PROTOBUF=system"
|
||||
"-DHAVE_PYTHON=1"
|
||||
)
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/mysqlsh --set PYTHONPATH "${lib.makeSearchPath python3.sitePackages pythonDeps}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://dev.mysql.com/doc/mysql-shell/${lib.versions.majorMinor finalAttrs.version}/en/";
|
||||
description = "New command line scriptable shell for MySQL";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||
mainProgram = "mysqlsh";
|
||||
};
|
||||
})
|
||||
@@ -1,13 +0,0 @@
|
||||
{ callPackage }:
|
||||
|
||||
let
|
||||
openRaUpdater = callPackage ./updater.nix { };
|
||||
buildOpenRAEngine = callPackage ./build-engine.nix { inherit openRaUpdater; };
|
||||
callPackage' = path: callPackage path { inherit buildOpenRAEngine; };
|
||||
in
|
||||
{
|
||||
engines = {
|
||||
release = callPackage' ./engines/release;
|
||||
bleed = callPackage' ./engines/bleed;
|
||||
};
|
||||
}
|
||||
121
pkgs/misc/barebox/default.nix
Normal file
121
pkgs/misc/barebox/default.nix
Normal file
@@ -0,0 +1,121 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
bison,
|
||||
dtc,
|
||||
flex,
|
||||
libusb1,
|
||||
lzop,
|
||||
openssl,
|
||||
pkg-config,
|
||||
buildPackages,
|
||||
lz4,
|
||||
}:
|
||||
|
||||
let
|
||||
defaultVersion = "2026.06.1";
|
||||
defaultSrc = fetchurl {
|
||||
url = "https://www.barebox.org/download/barebox-${defaultVersion}.tar.bz2";
|
||||
sha256 = "sha256-h1KzdSgZ7EqvhIodBt8FJCpklUUl+xW2zwezw91+vX8=";
|
||||
};
|
||||
|
||||
buildBarebox = lib.makeOverridable (
|
||||
{
|
||||
version ? null,
|
||||
src ? null,
|
||||
filesToInstall,
|
||||
installDir ? "$out",
|
||||
defconfig,
|
||||
extraMeta ? { },
|
||||
...
|
||||
}@args:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "barebox-${defconfig}";
|
||||
strictDeps = true;
|
||||
|
||||
version = if version == null then defaultVersion else version;
|
||||
src = if src == null then defaultSrc else src;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs scripts
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
bison
|
||||
dtc
|
||||
flex
|
||||
lz4
|
||||
lzop
|
||||
openssl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libusb1
|
||||
lzop
|
||||
openssl
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
makeFlags = [
|
||||
"DTC=dtc"
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
make ${defconfig}
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p ${installDir}
|
||||
cp ${lib.concatStringsSep " " filesToInstall} ${installDir}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta =
|
||||
with lib;
|
||||
{
|
||||
homepage = "https://www.barebox.org";
|
||||
description = "Swiss Army Knive for bare metal";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ emantor ];
|
||||
}
|
||||
// extraMeta;
|
||||
})
|
||||
// removeAttrs args [ "extraMeta" ]
|
||||
);
|
||||
in
|
||||
{
|
||||
inherit buildBarebox;
|
||||
|
||||
bareboxTools = buildBarebox {
|
||||
defconfig = "hosttools_defconfig";
|
||||
installDir = "$out/bin";
|
||||
extraMeta.platforms = lib.platforms.linux;
|
||||
filesToInstall = [
|
||||
"scripts/bareboximd"
|
||||
"scripts/imx/imx-usb-loader"
|
||||
"scripts/omap4_usbboot"
|
||||
"scripts/omap3-usb-loader"
|
||||
"scripts/kwboot"
|
||||
"scripts/rk-usb-loader"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/package.json b/package.json
|
||||
index 1ec793b..74e538e 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -12,6 +12,7 @@
|
||||
"author": "Thomas Lovén",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
+ "@babel/core": "^7.0.0",
|
||||
"@rollup/plugin-babel": "^6.0.4",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"@rollup/plugin-node-resolve": "^16.0.1",
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "fold-entity-row";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thomasloven";
|
||||
repo = "lovelace-fold-entity-row";
|
||||
tag = "v.${finalAttrs.version}";
|
||||
hash = "sha256-pbH2XNVrZEq3U9Kugq0X5U/CT9LNaWP9su4qWk6oob0=";
|
||||
};
|
||||
|
||||
patches = [ ./add-babel-core-dependency.patch ];
|
||||
|
||||
npmDepsFetcherVersion = 2;
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
npmDepsHash = "sha256-/pm5K088cOa1M/NqlOJ7RtrxKik95Me/d68yzem9ktI=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp fold-entity-row.js $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fold away and hide rows in lovelace entities cards.";
|
||||
homepage = "https://github.com/thomasloven/lovelace-fold-entity-row";
|
||||
changelog = "https://github.com/thomasloven/lovelace-fold-entity-row/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ rhoriguchi ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
@@ -2,15 +2,15 @@
|
||||
builtins.mapAttrs (_: callPackage ./generic.nix) rec {
|
||||
wordpress = wordpress_7_0;
|
||||
wordpress_6_8 = {
|
||||
version = "6.8.5";
|
||||
hash = "sha256-N/WVUQxI0W3t4L+lr6KcuK8S2/Dj00WyXElMFfjIHYE=";
|
||||
version = "6.8.6";
|
||||
hash = "sha256-ID5C12xn+GprUynX8WLS5dl9iJyv13yDxYbqMDPB8P4=";
|
||||
};
|
||||
wordpress_6_9 = {
|
||||
version = "6.9.4";
|
||||
hash = "sha256-22EK2fVJ4Ku1rz49XGcpxY2HRDllTN8K/qQlsuqJXzU=";
|
||||
version = "6.9.5";
|
||||
hash = "sha256-01h7VJpvXZDG5PQmj/xsI2cUY2Jc+ImiyBWnB86fXEE=";
|
||||
};
|
||||
wordpress_7_0 = {
|
||||
version = "7.0.1";
|
||||
hash = "sha256-3BBZLam1gMdSVjKFDgzO03GxMIGFOsKa/pO11bsA25g=";
|
||||
version = "7.0.2";
|
||||
hash = "sha256-1KTSGd6mTGxo5i8v/D8zHFR1UQJG1sRPYftS83fSlbk=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -505,13 +505,7 @@ with pkgs;
|
||||
mysql-shell_9
|
||||
;
|
||||
|
||||
mysql-shell-innovation = callPackage ../development/tools/mysql-shell/innovation.nix {
|
||||
antlr = antlr4_10;
|
||||
icu = icu77;
|
||||
protobuf = protobuf_25.override {
|
||||
abseil-cpp = abseil-cpp_202407;
|
||||
};
|
||||
};
|
||||
mysql-shell-innovation = mysql-shell_9;
|
||||
|
||||
# this is used by most `fetch*` functions
|
||||
repoRevToNameMaybe = lib.repoRevToName config.fetchedSourceNameDefault;
|
||||
@@ -8184,6 +8178,12 @@ with pkgs;
|
||||
ubootWandboard
|
||||
;
|
||||
|
||||
# Upstream Barebox:
|
||||
inherit (callPackage ../misc/barebox { })
|
||||
buildBarebox
|
||||
bareboxTools
|
||||
;
|
||||
|
||||
usbrelay = callPackage ../os-specific/linux/usbrelay { };
|
||||
usbrelayd = callPackage ../os-specific/linux/usbrelay/daemon.nix { };
|
||||
|
||||
@@ -10042,9 +10042,7 @@ with pkgs;
|
||||
|
||||
openra_2019 = openraPackages_2019.engines.release;
|
||||
|
||||
openraPackages = recurseIntoAttrs (callPackage ../games/openra { });
|
||||
|
||||
openra = openraPackages.engines.release;
|
||||
openraPackages = recurseIntoAttrs (callPackage ../by-name/op/openra/engines { });
|
||||
|
||||
papermcServers = callPackages ../games/papermc { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user