Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-06-15 00:02:20 +00:00 committed by GitHub
commit 61c7617cc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
100 changed files with 3133 additions and 1162 deletions

View File

@ -1,6 +1,8 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, installShellFiles
, cmake
, pkg-config
, makeWrapper
@ -34,6 +36,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
cmake
installShellFiles
pkg-config
makeWrapper
];
@ -57,6 +60,11 @@ rustPlatform.buildRustPackage rec {
install -Dm644 "assets/ludusavi.desktop" -t "$out/share/applications/"
install -Dm644 assets/MaterialIcons-Regular.ttf -t "$out/share/fonts/TTF/"
install -Dm644 LICENSE -t "$out/share/licenses/ludusavi/"
'' + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd ludusavi \
--bash <($out/bin/ludusavi complete bash) \
--fish <($out/bin/ludusavi complete fish) \
--zsh <($out/bin/ludusavi complete zsh)
'';
postFixup =

View File

@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
pname = "urbackup-client";
version = "2.5.24";
version = "2.5.25";
src = fetchzip {
url = "https://hndl.urbackup.org/Client/${version}/urbackup-client-${version}.tar.gz";
sha256 = "sha256-n0/NVClZz6ANgEdPCtdZxsEvllIl32vwDjC2nq5R8Z4=";
sha256 = "sha256-+xm2mBcTLMvrstCq2sLgJiU3zbFCassKvln3SMmRH9s=";
};
postPatch = ''

View File

@ -33,11 +33,11 @@
firefox-beta = buildMozillaMach rec {
pname = "firefox-beta";
version = "127.0b2";
version = "128.0b3";
applicationName = "Mozilla Firefox Beta";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "ce3bb42674fb5c820ce46a1f86d482d9c7631f1e0f31fe63c0813436cb54b3bbae9b53f397dc6cfc48b28682f720bfd042bb68715a3c653046870f2d50e9ed04";
sha512 = "d2519052244dd6d5cad39afcf78e86b17e5f1520f3f182db123997f8d126b048cd6862e92558c8f112224c951f706ccf1ccb2cb19b5221d4a47bc7154f562ab2";
};
meta = {
@ -62,13 +62,13 @@
firefox-devedition = buildMozillaMach rec {
pname = "firefox-devedition";
version = "127.0b2";
version = "128.0b3";
applicationName = "Mozilla Firefox Developer Edition";
requireSigning = false;
branding = "browser/branding/aurora";
src = fetchurl {
url = "mirror://mozilla/devedition/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "109e834e533db1a815151777170cdc0617a1f725ce8e5af04e63ac9e874edb22a33d51f2d85fcbb0c4132c3884785a54f6ea0ffaf7a0cc764e033fda311c48d6";
sha512 = "b1313d35218adac5b81059f605b788188454f064c3192a6bb91a7c7b361fb2e087ac49177c48f23de517551b563489adfc7486bc4e6b95e5ae4aeac49aa5ac97";
};
meta = {

View File

@ -7,13 +7,13 @@
buildGoModule rec {
pname = "arkade";
version = "0.11.13";
version = "0.11.15";
src = fetchFromGitHub {
owner = "alexellis";
repo = "arkade";
rev = version;
hash = "sha256-mXT0/cDfvzE9fBCy4rY1epeOolXmc50QNNXSn3bHi1I=";
hash = "sha256-tfJ9LTPu8B6xlIkAKmbl2d2GLY9p4VcOQGOC5TTx9Cs=";
};
CGO_ENABLED = 0;

View File

@ -20,13 +20,13 @@
buildGoModule rec {
pname = "kubernetes";
version = "1.30.1";
version = "1.30.2";
src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
hash = "sha256-nTVjgNMnB6775ubzK7ezOxR5Z0z5PBxx88CxtbxGxrY=";
hash = "sha256-cxWltHCwb01QsIRSieXwYtImrSfvJLBhN3VIJkxOzX8=";
};
vendorHash = null;

View File

@ -6,10 +6,12 @@
, makeDesktopItem
, makeWrapper
, pkg-config
, alsa-lib
, curl
, gtkmm3
, libhandy
, libopus
, libpulseaudio
, libsecret
, libsodium
, nlohmann_json
@ -58,6 +60,7 @@ stdenv.mkDerivation rec {
mkdir $out/bin
cp abaddon $out/bin
wrapProgram $out/bin/abaddon \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ alsa-lib libpulseaudio ]}" \
--chdir $out/share/abaddon
runHook postInstall

View File

@ -27,11 +27,11 @@ let
in
stdenv.mkDerivation rec {
pname = "PortfolioPerformance";
version = "0.68.4";
version = "0.69.0";
src = fetchurl {
url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz";
hash = "sha256-E4uVI2MJ2tD2wuAxxzCZSmNRbKTTzhi44c4ip7uEhCk=";
hash = "sha256-5U1MGZ/CWI0m1utXCak6qWEHIFwMvZSqRt4qrUPCqVo=";
};
nativeBuildInputs = [

View File

@ -16,6 +16,7 @@
let
canRunCmd = stdenv.hostPlatform.emulatorAvailable buildPackages;
gix = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/gix";
ein = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/ein";
in rustPlatform.buildRustPackage rec {
pname = "gitoxide";
version = "0.36.0";
@ -40,6 +41,11 @@ in rustPlatform.buildRustPackage rec {
--bash <(${gix} completions --shell bash) \
--fish <(${gix} completions --shell fish) \
--zsh <(${gix} completions --shell zsh)
installShellCompletion --cmd ein \
--bash <(${ein} completions --shell bash) \
--fish <(${ein} completions --shell fish) \
--zsh <(${ein} completions --shell zsh)
'';
# Needed to get openssl-sys to use pkg-config.

View File

@ -165,11 +165,11 @@ let
desktopItems = [
(makeDesktopItem {
name = "davinci-resolve";
desktopName = "Davinci Resolve";
name = "davinci-resolve${lib.optionalString studioVariant "-studio"}";
desktopName = "Davinci Resolve${lib.optionalString studioVariant " Studio"}";
genericName = "Video Editor";
exec = "resolve";
# icon = "DV_Resolve";
exec = "davinci-resolve${lib.optionalString studioVariant "-studio"}";
icon = "davinci-resolve${lib.optionalString studioVariant "-studio"}";
comment = "Professional video editing, color, effects and audio post-processing";
categories = [
"AudioVideo"
@ -254,6 +254,12 @@ buildFHSEnv {
''
}";
extraInstallCommands = ''
mkdir -p $out/share/applications $out/share/icons/hicolor/128x128/apps
ln -s ${davinci}/share/applications/*.desktop $out/share/applications/
ln -s ${davinci}/graphics/DV_Resolve.png $out/share/icons/hicolor/128x128/apps/davinci-resolve${lib.optionalString studioVariant "-studio"}.png
'';
passthru = {
inherit davinci;
updateScript = lib.getExe (writeShellApplication {
@ -284,6 +290,6 @@ buildFHSEnv {
maintainers = with maintainers; [ amarshall jshcmpbll orivej ];
platforms = [ "x86_64-linux" ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
mainProgram = "davinci-resolve";
mainProgram = "davinci-resolve${lib.optionalString studioVariant "-studio"}";
};
}

View File

@ -308,11 +308,11 @@ rec {
};
docker_26 = callPackage dockerGen rec {
version = "26.1.3";
version = "26.1.4";
cliRev = "v${version}";
cliHash = "sha256-xE+g9Gtza4oAIlGUzDmjrqJa42bEkpbKbL2fsFlYzpY=";
cliHash = "sha256-7yCR49Un1i1kB+66IKt/8lgwKNkUjtVh52DH9OY8Pw4=";
mobyRev = "v${version}";
mobyHash = "sha256-s4hOvYV2+wDNKs4iFw6OflK+nemvqNhmfFURzhWaUzY=";
mobyHash = "sha256-0WwlpUECvmNq6DBm7U7rjzYfGKF7pxsfs9+x5uVPV0k=";
runcRev = "v1.1.12";
runcHash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0=";
containerdRev = "v1.7.15";

View File

@ -38,6 +38,5 @@ buildGoModule rec {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dit7ya ];
mainProgram = "kraft";
broken = stdenv.isDarwin; # > machine/platform/iterator_v1alpha1.go:32:34: undefined: hostSupportedStrategies
};
}

View File

@ -14,13 +14,13 @@
buildGoModule rec {
pname = "runc";
version = "1.1.12";
version = "1.1.13";
src = fetchFromGitHub {
owner = "opencontainers";
repo = "runc";
rev = "v${version}";
hash = "sha256-N77CU5XiGYIdwQNPFyluXjseTeaYuNJ//OsEUS0g/v0=";
hash = "sha256-RQsM8Q7HogDVGbNpen3wxXNGR9lfqmNhkXTRoC+LBk8=";
};
vendorHash = null;

View File

@ -24,13 +24,13 @@
}:
stdenv.mkDerivation (self: {
pname = "xdg-desktop-portal-hyprland";
version = "1.3.1";
version = "1.3.2";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "xdg-desktop-portal-hyprland";
rev = "v${self.version}";
hash = "sha256-wP611tGIWBA4IXShWbah7TxqdbvhfcfT2vnXalX/qzk=";
hash = "sha256-KsX7sAwkEFpXiwyjt0HGTnnrUU58wW1jlzj5IA/LRz8=";
};
nativeBuildInputs = [

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "application-title-bar";
version = "0.6.2";
version = "0.6.3";
src = fetchFromGitHub {
owner = "antroids";
repo = "application-title-bar";
rev = "v${version}";
hash = "sha256-KKODCfLL+T4NdflxUFP++TO3OtQWJpLHAnUVqmvIzrg=";
hash = "sha256-r15wZCioWrTr5mA0WARFd4j8zwWIWU4wEv899RSURa4=";
};
propagatedUserEnvPkgs = with kdePackages; [ kconfig ];

View File

@ -5,6 +5,7 @@
, nodejs
, npmHooks
, makeBinaryWrapper
, shellcheck
}:
stdenv.mkDerivation (finalAttrs: {
@ -56,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
# Create the executable, based upon what happens in npmHooks.npmInstallHook
makeWrapper ${lib.getExe nodejs} $out/bin/bash-language-server \
--prefix PATH : ${lib.makeBinPath [ shellcheck ]} \
--inherit-argv0 \
--add-flags $out/lib/bash-language-server/out/cli.js

1699
pkgs/by-name/co/code2prompt/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "code2prompt";
version = "1.1.0";
src = fetchFromGitHub {
owner = "mufeedvh";
repo = "code2prompt";
rev = "v${version}";
hash = "sha256-KZqh0Vq4Mn56PhUO1JUzVpNBAGOZqUAsj31Cj5K+Lyk=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = ''
# src is missing Cargo.lock
ln -s ${./Cargo.lock} Cargo.lock
'';
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.AppKit
];
meta = {
description = "A CLI tool that converts your codebase into a single LLM prompt with a source tree, prompt templating, and token counting";
homepage = "https://github.com/mufeedvh/code2prompt";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ heisfer ];
mainProgram = "code2prompt";
};
}

View File

@ -0,0 +1,33 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
perl
}:
stdenvNoCC.mkDerivation {
pname = "colorgrind";
version = "0-unstable-2016-07-05";
src = fetchFromGitHub {
owner = "renatocf";
repo = "colorgrind";
rev = "6b68367c9713075a40c6719cb24217e9437ffa74";
hash = "sha256-KVR2IeoAkaTXDjEndPvrKUzOf4Zkha20vcH4TTJqXfM=";
};
buildInputs = [ perl ];
installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin colorgrind
runHook postInstall
'';
meta = {
description = "Perl wrapper for Valgrind with ANSI escape code colored output";
homepage = "http://renatocf.github.io/colorgrind/";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ pluiedev ];
mainProgram = "colorgrind";
};
}

View File

@ -42,6 +42,10 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''
wrapProgram $out/bin/cryptor \
--prefix PATH : "${lib.makeBinPath [ gocryptfs ]}"
install -Dm444 $src/resources/misc/cryptor.desktop -t $out/share/applications
substituteInPlace $out/share/applications/cryptor.desktop \
--replace-warn '/usr/bin/cryptor' 'cryptor'
'';
meta = {

View File

@ -1,40 +1,46 @@
{ lib
, stdenv
, fetchYarnDeps
, fetchFromGitHub
, fixup-yarn-lock
, nodejs
, python3
, makeWrapper
, git
, docker
, yarn
, docker-compose
{
lib,
stdenv,
fetchYarnDeps,
fetchFromGitHub,
fixup-yarn-lock,
nodejs,
python3,
makeBinaryWrapper,
git,
docker,
yarn,
docker-compose,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "devcontainer";
version = "0.60.0";
version = "0.64.0";
src = fetchFromGitHub {
owner = "devcontainers";
repo = "cli";
rev = "v${finalAttrs.version}";
hash = "sha256-/QznJhw+DYwnj/kdP6f4liJlOFhNQO0y7r4i55bJPug=";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-kO5bRLbHNObDLGURrEgNLK70ml2FVDQioLa8cbBBurk=";
};
yarnOfflineCache = fetchYarnDeps {
yarnLock = finalAttrs.src + "/yarn.lock";
yarnLock = "${finalAttrs.src}/yarn.lock";
hash = "sha256-tN7qAvfYmDz5ZtgZL5+ZZtkuxZxvlS9FM3+dGl+daUQ=";
};
nativeBuildInputs = [ yarn fixup-yarn-lock python3 makeWrapper ];
nativeBuildInputs = [
yarn
fixup-yarn-lock
python3
makeBinaryWrapper
nodejs
];
buildPhase = ''
runHook preBuild
export HOME=$(mktemp -d)
yarn config --offline set yarn-offline-mirror ${finalAttrs.yarnOfflineCache}
# Without this, yarn will try to download the dependencies
fixup-yarn-lock yarn.lock
@ -44,27 +50,39 @@ stdenv.mkDerivation (finalAttrs: {
yarn --offline --frozen-lockfile
yarn --offline --frozen-lockfile compile-prod
mkdir -p $out/bin
mkdir -p $out/libexec
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,libexec}
cp -r dist $out/libexec
cp devcontainer.js $out/libexec/devcontainer.js
cp -r node_modules $out/libexec/node_modules
cp -r $src/scripts $out/libexec/scripts
runHook postBuild
runHook postInstall
'';
postInstall = ''
makeWrapper "${nodejs}/bin/node" "$out/bin/devcontainer" \
makeWrapper "${lib.getExe nodejs}" "$out/bin/devcontainer" \
--add-flags "$out/libexec/devcontainer.js" \
--prefix PATH : ${lib.makeBinPath [ git docker docker-compose ]}
--prefix PATH : ${
lib.makeBinPath [
git
docker
docker-compose
]
}
'';
meta = with lib; {
meta = {
description = "Dev container CLI, run and manage your dev environments via a devcontainer.json";
homepage = "https://containers.dev/";
license = licenses.mit;
maintainers = with maintainers; [ rucadi ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rucadi ];
platforms = lib.platforms.unix;
mainProgram = "devcontainer";
};
})

View File

@ -1,9 +1,10 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, fetchzip
, installShellFiles
{
buildGoModule,
fetchFromGitHub,
fetchzip,
installShellFiles,
lib,
stdenv,
}:
let
@ -12,13 +13,13 @@ let
manifestsSha256 = "sha256-PdhR+UDquIJWtpSymtT6V7qO5fVJOkFz6RGzAx7xeb4=";
manifests = fetchzip {
url =
"https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
sha256 = manifestsSha256;
url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz";
hash = manifestsSha256;
stripRoot = false;
};
in
in buildGoModule rec {
buildGoModule rec {
pname = "fluxcd";
inherit version;
@ -26,7 +27,7 @@ in buildGoModule rec {
owner = "fluxcd";
repo = "flux2";
rev = "v${version}";
inherit sha256;
hash = sha256;
};
vendorHash = "sha256-0YH3pgFrsnh5jIsZpj/sIgfiOCTtIlPltMS5mdGz1eM=";
@ -38,7 +39,11 @@ in buildGoModule rec {
rm source/cmd/flux/create_secret_git_test.go
'';
ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ];
ldflags = [
"-s"
"-w"
"-X main.VERSION=${version}"
];
subPackages = [ "cmd/flux" ];
@ -53,7 +58,7 @@ in buildGoModule rec {
$out/bin/flux --version | grep ${version} > /dev/null
'';
postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
for shell in bash fish zsh; do
$out/bin/flux completion $shell > flux.$shell
installShellCompletion flux.$shell
@ -62,18 +67,22 @@ in buildGoModule rec {
passthru.updateScript = ./update.sh;
meta = with lib; {
description =
"Open and extensible continuous delivery solution for Kubernetes";
meta = {
changelog = "https://github.com/fluxcd/flux2/releases/tag/v${version}";
description = "Open and extensible continuous delivery solution for Kubernetes";
downloadPage = "https://github.com/fluxcd/flux2/";
longDescription = ''
Flux is a tool for keeping Kubernetes clusters in sync
with sources of configuration (like Git repositories), and automating
updates to configuration when there is new code to deploy.
'';
homepage = "https://fluxcd.io";
downloadPage = "https://github.com/fluxcd/flux2/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ bryanasdev000 jlesquembre ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
bryanasdev000
jlesquembre
superherointj
];
mainProgram = "flux";
};
}

View File

@ -120,7 +120,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "fwupd";
version = "1.9.20";
version = "1.9.21";
# libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out
@ -131,7 +131,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "fwupd";
repo = "fwupd";
rev = finalAttrs.version;
hash = "sha256-uPHZtl1jzx3rRHADXcQmpXwQrbUbIXuoww3fN4BUviE=";
hash = "sha256-V3v3lTz3KUt/zEv5BuUcN7S2ZXHPbhYN5vsFPNuxbFY=";
};
patches = [
@ -371,10 +371,11 @@ stdenv.mkDerivation (finalAttrs: {
};
};
meta = with lib; {
meta = {
homepage = "https://fwupd.org/";
maintainers = with maintainers; [ rvdp ];
license = licenses.lgpl21Plus;
platforms = platforms.linux;
changelog = "https://github.com/fwupd/fwupd/releases/tag/${finalAttrs.version}";
maintainers = with lib.maintainers; [ rvdp ];
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
};
})

View File

@ -0,0 +1,35 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "hn-text";
version = "0.1.4";
src = fetchFromGitHub {
owner = "piqoni";
repo = "hn-text";
rev = "v${version}";
hash = "sha256-YoPdYuNlWrLITyd2XeCOeGy70Ews1rvtOQzYZAQTI+Y=";
};
vendorHash = "sha256-lhghteKspXK1WSZ3dVHaTgx2BRx9S7yGNbvRYZKeA+s=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Fast, easy-to-use and distraction-free Hacker News terminal client";
homepage = "https://github.com/piqoni/hn-text";
license = lib.licenses.mit;
mainProgram = "hn-text";
maintainers = with lib.maintainers; [ Guanran928 ];
};
}

View File

@ -1,13 +1,13 @@
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, testers, immich-go }:
buildGoModule rec {
pname = "immich-go";
version = "0.16.0";
version = "0.17.0";
src = fetchFromGitHub {
owner = "simulot";
repo = "immich-go";
rev = "${version}";
hash = "sha256-9b9eQ1ufVQsg9hzwK0570HKmWTPcTag6DM2NB7mutjk=";
hash = "sha256-pmzf9z0x8Bcnguyhge6Qr68eJvyVdnzVok+QbMikp34=";
# Inspired by: https://github.com/NixOS/nixpkgs/blob/f2d7a289c5a5ece8521dd082b81ac7e4a57c2c5c/pkgs/applications/graphics/pdfcpu/default.nix#L20-L32
# The intention here is to write the information into files in the `src`'s

View File

@ -6,13 +6,13 @@
stdenvNoCC.mkDerivation rec {
pname = "nuclei-templates";
version = "9.8.8";
version = "9.8.9";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "nuclei-templates";
rev = "refs/tags/v${version}";
hash = "sha256-6oY22IQKCV00MtxUw4YwY2U/xH+N06n371DSK7C0nj8=";
hash = "sha256-BdlS0gBeGI+5hEgUvkdJPEuZhXpA7Spd2wJ2PtmCkpM=";
};
installPhase = ''

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "omnictl";
version = "0.37.0";
version = "0.37.5";
src = fetchFromGitHub {
owner = "siderolabs";
repo = "omni";
rev = "v${version}";
hash = "sha256-sUxeKrtFZDzD68C7yrbnwOnz3jZ+XLOuhs08FvPGINM=";
hash = "sha256-eM3Tq314B4cb4fL7XdJacn2lmsEGvNwPXROoKvwzIKU=";
};
vendorHash = "sha256-ZeFumtIxRaHtKzsVgBMNpikcOKJ1G5MoFgerKlKXNQo=";
vendorHash = "sha256-4G47S/Mb0zjiAiD7QsXzmbdNmb8hcfGwhuFMfwRuHnY=";
ldflags = [ "-s" "-w" ];

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "proto";
version = "0.36.0";
version = "0.36.2";
src = fetchFromGitHub {
owner = "moonrepo";
repo = pname;
rev = "v${version}";
hash = "sha256-UziA1TlsVbFqdsg8A4ClNOioZFHMzmiA4N4bHqCiwZw=";
hash = "sha256-k1aVz3eiZHE92cPKtxEZhCN8I3hcNEr2HN3Z70zPT+I=";
};
cargoHash = "sha256-Eehx5wXQcdLKVfVp4vB3kzOAZ9SDJn5BweTe1d1KKHM=";
cargoHash = "sha256-HFYISBB+5lyNtWcYNBj3rTX0C52YNC6bBsVT+OpWa+c=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration

View File

@ -15,11 +15,24 @@ let
package = buildNpmPackage {
inherit pname version;
src = ./.;
src = fileset.toSource {
root = ./.;
fileset = fileset.unions [
./package.json
./package-lock.json
./.gitignore
];
};
dontNpmBuild = true;
npmDeps = fetchNpmDeps {
src = ./.;
src = fileset.toSource {
root = ./.;
fileset = fileset.unions [
./package-lock.json
./package.json
];
};
hash = "sha256-ljeFcLvIET77Q0OR6O5Ok1fGnaxaKaoywpcy2aHq/6o=";
};

View File

@ -1,16 +1,18 @@
{ lib
, rust
, stdenv
, rustPlatform
, fetchCrate
, pkg-config
, cargo-c
, libgit2
, nasm
, zlib
, libiconv
, Security
, buildPackages
{
lib,
rust,
stdenv,
rustPlatform,
fetchCrate,
pkg-config,
cargo-c,
darwin,
libgit2,
libiconv,
nasm,
testers,
zlib,
rav1e,
}:
rustPlatform.buildRustPackage rec {
@ -19,22 +21,26 @@ rustPlatform.buildRustPackage rec {
src = fetchCrate {
inherit pname version;
sha256 = "sha256-Db7qb7HBAy6lniIiN07iEzURmbfNtuhmgJRv7OUagUM=";
hash = "sha256-Db7qb7HBAy6lniIiN07iEzURmbfNtuhmgJRv7OUagUM=";
};
cargoHash = "sha256-VyQ6n2kIJ7OjK6Xlf0T0GNsBvgESRETzKZDZzAn8ZuY=";
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ cargo-c libgit2 nasm ];
buildInputs = [
zlib
] ++ lib.optionals stdenv.isDarwin [
libiconv
Security
nativeBuildInputs = [
cargo-c
libgit2
nasm
];
buildInputs =
[ zlib ]
++ lib.optionals stdenv.isDarwin [
libiconv
darwin.apple_sdk.frameworks.Security
];
# Darwin uses `llvm-strip`, which results in link errors when using `-x` to strip the asm library
# and linking it with cctools ld64.
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
@ -43,7 +49,7 @@ rustPlatform.buildRustPackage rec {
checkType = "debug";
postBuild = ''
postBuild = ''
${rust.envVars.setEnv} cargo cbuild --release --frozen --prefix=${placeholder "out"} --target ${stdenv.hostPlatform.rust.rustcTarget}
'';
@ -51,7 +57,11 @@ rustPlatform.buildRustPackage rec {
${rust.envVars.setEnv} cargo cinstall --release --frozen --prefix=${placeholder "out"} --target ${stdenv.hostPlatform.rust.rustcTarget}
'';
meta = with lib; {
passthru = {
tests.version = testers.testVersion { package = rav1e; };
};
meta = {
description = "Fastest and safest AV1 encoder";
longDescription = ''
rav1e is an AV1 video encoder. It is designed to eventually cover all use
@ -61,8 +71,8 @@ rustPlatform.buildRustPackage rec {
'';
homepage = "https://github.com/xiph/rav1e";
changelog = "https://github.com/xiph/rav1e/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = [ ];
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "rav1e";
};
}

View File

@ -3,24 +3,21 @@
, fetchFromGitHub
, qt5
, openssl
, protobuf3_20 # https://github.com/blueprint-freespeech/ricochet-refresh/issues/178
, protobuf
, pkg-config
, cmake
}:
let
protobuf = protobuf3_20;
in
stdenv.mkDerivation (finalAttrs: {
pname = "ricochet-refresh";
version = "3.0.23";
version = "3.0.24";
src = fetchFromGitHub {
owner = "blueprint-freespeech";
repo = "ricochet-refresh";
rev = "v${finalAttrs.version}-release";
hash = "sha256-Wz53KeI3t12MqnvGuGS8Jd9gDY4eCTc5wcXBDHp5m0U=";
fetchSubmodules = true;
hash = "sha256-xz1cyNQgmXUIZc56OHwWZCGVNpp7CFFyCd0EvAas4zw=";
};
sourceRoot = "${finalAttrs.src.name}/src";

View File

@ -9,6 +9,8 @@
, libXinerama
, libXext
, libXcursor
, makeDesktopItem
, copyDesktopItems
}:
stdenv.mkDerivation (finalAttrs: {
@ -23,7 +25,10 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
copyDesktopItems
];
buildInputs = [
alsa-lib
freetype
@ -53,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
install -Dt $out/share/ShowMIDI/themes Themes/*
install -D Design/icon.png $out/share/icons/hicolor/1024x1024/apps/show-midi.png
mkdir -p $out/bin $out/lib/lv2 $out/lib/vst3
cd Builds/LinuxMakefile/build/
cp -r ShowMIDI.lv2 $out/lib/lv2
@ -62,6 +69,16 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
desktopItems = [(makeDesktopItem {
name = "ShowMIDI";
exec = finalAttrs.meta.mainProgram;
comment = finalAttrs.meta.description;
type = "Application";
icon = "show-midi";
desktopName = "ShowMIDI";
categories = [ "Audio" ];
})];
# JUCE dlopens these, make sure they are in rpath
# Otherwise, segfault will happen
env.NIX_LDFLAGS = toString [

View File

@ -7,16 +7,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "slumber";
version = "1.3.2";
version = "1.4.0";
src = fetchFromGitHub {
owner = "LucasPickering";
repo = "slumber";
rev = "v${version}";
hash = "sha256-aYNsTAqMcoOSRXWclrVR5DWQCTSDHXSQsSJn37yYPY8=";
hash = "sha256-sUCOuQ35wfbrLgiPdzw5wmr8BgzDinZDKfBJ3O9JrzI=";
};
cargoHash = "sha256-uSKE8jFLYCEac2PR97VSPBnqllTsXkYZUO0b+xHR/CA=";
cargoHash = "sha256-geTQ/56nuPW9fVtz+YEP3VaYPdWVm83hsGslKCtj0Vo=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];

View File

@ -10,14 +10,14 @@
stdenv.mkDerivation rec {
pname = "subtitlecomposer";
version = "0.8.0";
version = "0.8.1";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "multimedia";
repo = "subtitlecomposer";
rev = "v${version}";
hash = "sha256-RKS3VTtpxnox0hzessMHmoGPpT+Ho0b3fxtQMGw9OrM=";
hash = "sha256-5RBrxOy1EIgDLb21r1y+Pou8d/j05a1YYMRJh1n8vSA=";
};
nativeBuildInputs = [ cmake extra-cmake-modules libsForQt5.wrapQtAppsHook ];

View File

@ -16,16 +16,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "surrealdb";
version = "1.5.2";
version = "1.5.3";
src = fetchFromGitHub {
owner = "surrealdb";
repo = "surrealdb";
rev = "v${version}";
hash = "sha256-yXC1qlZTR5qWcbyfQ2jR2QlEnaxlNn0U3VGHdh2har0=";
hash = "sha256-lRXQq834KYDW/ugpFudrmSDPlzBaGDuS/pC2riElF04=";
};
cargoHash = "sha256-npo/tlqnq8vzFeOfpVryzwJkFaDJ9WG1iwMgcv3tRCQ=";
cargoHash = "sha256-XQu1I4ufQZKpeDBTb13g2vECmdWAGRckQjWz8BbHMHA=";
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''

View File

@ -15,9 +15,15 @@ let
exec = "unciv";
comment = "An open-source Android/Desktop remake of Civ V";
desktopName = "Unciv";
icon = "unciv";
categories = [ "Game" ];
};
desktopIcon = fetchurl {
url = "https://github.com/yairm210/Unciv/blob/4.11.16/extraImages/Icons/Unciv%20icon%20v6.png?raw=true";
hash = "sha256-Zuz+HGfxjGviGBKTiHdIFXF8UMRLEIfM8f+LIB/xonk=";
};
envLibPath = lib.makeLibraryPath (lib.optionals stdenv.isLinux [
libGL
libpulseaudio
@ -46,6 +52,8 @@ stdenv.mkDerivation rec {
--prefix PATH : ${lib.makeBinPath [ jre ]} \
--add-flags "-jar ${src}"
install -Dm444 ${desktopIcon} $out/share/icons/hicolor/512x512/apps/unciv.png
runHook postInstall
'';

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "upbound";
version = "0.30.0";
version = "0.31.0";
src = fetchFromGitHub {
owner = pname;
repo = "up";
rev = "v${version}";
sha256 = "sha256-KAWyHlqgj4xz3abSSa1cezpeDTmJbGSZAMffq3p/CyI=";
sha256 = "sha256-nXP97J0DdcXPAD/gB3py5UXhe48Kaec7CRTHmalo+RQ=";
};
vendorHash = "sha256-4o1WJHGHiO9r8RC8hr4KWZBiC8h52la1gKdYaYxEjbk=";
vendorHash = "sha256-9HnKpofJPxCieG5thNcLC7diA51ohzy7xgtniL7FEgo=";
subPackages = [ "cmd/docker-credential-up" "cmd/up" ];

View File

@ -11,18 +11,18 @@
buildGoModule rec {
pname = "usql";
version = "0.19.2";
version = "0.19.3";
src = fetchFromGitHub {
owner = "xo";
repo = "usql";
rev = "v${version}";
hash = "sha256-ahaRrSRk8n8gjFy/B/yG1ORUlNcmMuUF9eyirZMhxeI=";
hash = "sha256-VenqDYkBJ4XJ2zV7kaVvwlgDyCaTY77zQ5hPq5cOZKg=";
};
buildInputs = [ unixODBC icu ];
vendorHash = "sha256-f0rpkYGaorOaIikUVcibyDMTbBJK6DF5EguSPHolsIk=";
vendorHash = "sha256-KdLUxgNGMkkWBhUpXSecu0m3fsKl7Qj8Aw3z8WcdnSs=";
proxyVendor = true;
# Exclude drivers from the bad group

View File

@ -4368,7 +4368,7 @@ checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0"
[[package]]
name = "uv"
version = "0.2.10"
version = "0.2.11"
dependencies = [
"anstream",
"anyhow",
@ -4404,7 +4404,6 @@ dependencies = [
"rustc-hash",
"serde",
"serde_json",
"tempfile",
"textwrap",
"thiserror",
"tikv-jemallocator",
@ -4545,7 +4544,6 @@ dependencies = [
"serde",
"serde_json",
"sys-info",
"tempfile",
"thiserror",
"tl",
"tokio",
@ -4682,6 +4680,7 @@ dependencies = [
"tokio",
"tokio-util",
"toml",
"toml_edit",
"tracing",
"url",
"uv-cache",
@ -4962,7 +4961,7 @@ dependencies = [
[[package]]
name = "uv-version"
version = "0.2.10"
version = "0.2.11"
[[package]]
name = "uv-virtualenv"

View File

@ -16,14 +16,14 @@
python3Packages.buildPythonApplication rec {
pname = "uv";
version = "0.2.10";
version = "0.2.11";
pyproject = true;
src = fetchFromGitHub {
owner = "astral-sh";
repo = "uv";
rev = "refs/tags/${version}";
hash = "sha256-xVddhsCGJcESZhkZnu6tcwwifT9+MQz53qV00B9oHA0=";
hash = "sha256-SkWhff9nYlbbzsXb9EWMzC0aKRU+LbJqClBddq1yl3Y=";
};
cargoDeps = rustPlatform.importCargoLock {

View File

@ -40,6 +40,11 @@ python3Packages.buildPythonApplication rec {
wxpython
];
postInstall = ''
install -Dm444 yt-dlg.desktop -t $out/share/applications
cp -r youtube_dl_gui/data/* $out/share
'';
meta = {
description = "Cross platform front-end GUI of the popular youtube-dl written in wxPython";
homepage = "https://oleksis.github.io/youtube-dl-gui";

View File

@ -2,13 +2,13 @@
stdenvNoCC.mkDerivation rec {
pname = "wd";
version = "0.7.0";
version = "0.7.1";
src = fetchFromGitHub {
owner = "mfaerevaag";
repo = "wd";
rev = "v${version}";
sha256 = "sha256-u3n+JzInv8VajWAFXECuEOWuQurX8iWklwV2LG4Tj24=";
sha256 = "sha256-Zc49X/8T66xnDkfotf0p6AVyHHd4P3eNDMOsO1sUryY=";
};
nativeBuildInputs = [ installShellFiles ];

View File

@ -25,6 +25,8 @@
, withQt ? true
, qt5
, zip
, makeDesktopItem
, copyDesktopItems
}:
let
dlopenBuildInputs = []
@ -58,7 +60,11 @@ in stdenv.mkDerivation rec {
strictDeps = true;
nativeBuildInputs = lib.optionals withQt [ zip qt5.wrapQtAppsHook ];
nativeBuildInputs = lib.optionals withQt [
zip
qt5.wrapQtAppsHook
copyDesktopItems
];
buildInputs = staticBuildInputs ++ dlopenBuildInputs;
@ -118,6 +124,7 @@ in stdenv.mkDerivation rec {
install -Dm755 bin/linux/release/zxtune123 -t $out/bin
'' + lib.optionalString withQt ''
install -Dm755 bin/linux/release/zxtune-qt -t $out/bin
install -Dm755 apps/zxtune-qt/res/theme_default/zxtune.png -t $out/share/icons/hicolor/48x48/apps
'' + ''
runHook postInstall
'';
@ -128,6 +135,17 @@ in stdenv.mkDerivation rec {
wrapQtApp "$out/bin/zxtune-qt"
'';
desktopItems = lib.optionals withQt [(makeDesktopItem {
name = "ZXTune";
exec = "zxtune-qt";
icon = "zxtune";
desktopName = "ZXTune";
genericName = "ZXTune";
comment = meta.description;
categories = [ "Audio" ];
type = "Application";
})];
meta = with lib; {
description = "Crossplatform chiptunes player";
longDescription = ''

View File

@ -1,10 +1,18 @@
{ buildDunePackage, ppxlib, reason }:
{ lib, buildDunePackage, ppxlib, reason }:
buildDunePackage rec {
pname = "helloreason";
version = "0.0.1";
src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./helloreason.opam
./helloreason.re
./dune-project
./dune
];
};
nativeBuildInputs = [
reason

View File

@ -97,5 +97,6 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.asl20;
maintainers = with maintainers; [ hzeller ];
platforms = platforms.all;
broken = versionAtLeast yosys.version "0.39";
};
})

View File

@ -18,12 +18,19 @@ let
setupCudaHook
;
inherit (lib) getDev getLib getOutput;
fs = lib.fileset;
in
backendStdenv.mkDerivation {
pname = "saxpy";
version = "unstable-2023-07-11";
src = ./.;
src = fs.toSource {
root = ./.;
fileset = fs.unions [
./CMakeLists.txt
./saxpy.cu
];
};
__structuredAttrs = true;
strictDeps = true;

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, validatePkgConfig }:
{ lib, stdenv, fetchurl, fixDarwinDylibNames, validatePkgConfig }:
stdenv.mkDerivation (finalAttrs: {
pname = "duktape";
@ -11,7 +11,8 @@ stdenv.mkDerivation (finalAttrs: {
# https://github.com/svaarala/duktape/issues/2464
LDFLAGS = [ "-lm" ];
nativeBuildInputs = [ validatePkgConfig ];
nativeBuildInputs = [ validatePkgConfig ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ];
buildPhase = ''
make -f Makefile.sharedlibrary

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "httplib";
version = "0.15.3";
version = "0.16.0";
src = fetchFromGitHub {
owner = "yhirose";
repo = "cpp-httplib";
rev = "v${version}";
hash = "sha256-+YAjmsZvBkOk5bsjE07weTNUmevHd1ZXP0bv5QbkZMs=";
hash = "sha256-1w7uu2E4YIcGWNq//BZ2wtDKj9/tgmIhkJgadvCKmVg=";
};
nativeBuildInputs = [ cmake ];

View File

@ -3,17 +3,24 @@
, libtirpc, rpcsvc-proto, avahi, libxml2
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "liblxi";
version = "1.20";
src = fetchFromGitHub {
owner = "lxi-tools";
repo = "liblxi";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-jS0huNkbyKrsJ3NkenrYtjkzLakOsTJpwlgSo98ribE=";
};
postPatch = ''
# needed by darwin
sed -e 1i'#include <string.h>' \
-e 1i'#include <stdlib.h>' \
-i src/bonjour.c
'';
nativeBuildInputs = [ meson ninja cmake pkg-config rpcsvc-proto ];
buildInputs = lib.optionals (!stdenv.isDarwin) [
@ -36,4 +43,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix;
maintainers = [ maintainers.vq ];
};
}
})

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "nghttp3";
version = "1.3.0";
version = "1.4.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
hash = "sha256-MPycG8Fd7GJnp7WyFlGzbuTCYIF+xq6I7oeqXKFOehQ=";
hash = "sha256-ZbgByLTkQWd3gfWW2V1kkboblfF9v+0HcNhxrjYpX28=";
fetchSubmodules = true;
};

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation rec {
pname = "ngtcp2";
version = "1.5.0";
version = "1.6.0";
src = fetchFromGitHub {
owner = "ngtcp2";
repo = pname;
rev = "v${version}";
hash = "sha256-Ez97uFzXvI7cE2TIk4/RCAwbAf+vXG1PlPaSvdSrcnE=";
hash = "sha256-alS6M4sSyyytnzu9RTjDAioqkafEmgt/HpFUQ4MniCI=";
fetchSubmodules = true;
};

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "mstore";
version = "0.2.0";
version = "0.3.0";
src = fetchFromGitHub {
owner = "grimme-lab";
repo = pname;
rev = "v${version}";
hash = "sha256-dN2BulLS/ENRFVdJIrZRxgBV8S4d5+7BjTCGnhBbf4I=";
hash = "sha256-zfrxdrZ1Um52qTRNGJoqZNQuHhK3xM/mKfk0aBLrcjw=";
};
nativeBuildInputs = [ gfortran meson ninja pkg-config python3 ];

View File

@ -20,7 +20,6 @@
"@webassemblyjs/wasm-text-gen-1.11.1" = "wasmgen";
"@webassemblyjs/wast-refmt-1.11.1" = "wast-refmt";
aws-cdk = "cdk";
bash-language-server = "bash-language-server";
cdk8s-cli = "cdk8s";
cdktf-cli = "cdktf";
clipboard-cli = "clipboard";

View File

@ -65546,61 +65546,6 @@ in
bypassCache = true;
reconstructLock = true;
};
bash-language-server = nodeEnv.buildNodePackage {
name = "bash-language-server";
packageName = "bash-language-server";
version = "5.3.4";
src = fetchurl {
url = "https://registry.npmjs.org/bash-language-server/-/bash-language-server-5.3.4.tgz";
sha512 = "9GEzJVOOyU7ZQbDI/uFc8N9FGuun6UZv1qB9bNUbehIb1gA4pOpkIYtqtfSq0XQSO25hMp8d/tzsmFJmeX+dQg==";
};
dependencies = [
sources."@nodelib/fs.scandir-2.1.5"
sources."@nodelib/fs.stat-2.0.5"
sources."@nodelib/fs.walk-1.2.8"
sources."braces-3.0.3"
sources."domino-2.1.6"
sources."encoding-0.1.13"
sources."fast-glob-3.3.2"
sources."fastq-1.17.1"
sources."fill-range-7.1.1"
sources."fuzzy-search-3.2.1"
sources."glob-parent-5.1.2"
sources."iconv-lite-0.6.3"
sources."is-extglob-2.1.1"
sources."is-glob-4.0.3"
sources."is-number-7.0.0"
sources."merge2-1.4.1"
sources."micromatch-4.0.7"
sources."node-fetch-2.7.0"
sources."picomatch-2.3.1"
sources."queue-microtask-1.2.3"
sources."reusify-1.0.4"
sources."run-parallel-1.2.0"
sources."safer-buffer-2.1.2"
sources."to-regex-range-5.0.1"
sources."tr46-0.0.3"
sources."turndown-7.1.3"
sources."vscode-jsonrpc-8.0.2"
sources."vscode-languageserver-8.0.2"
sources."vscode-languageserver-protocol-3.17.2"
sources."vscode-languageserver-textdocument-1.0.11"
sources."vscode-languageserver-types-3.17.2"
sources."web-tree-sitter-0.22.5"
sources."webidl-conversions-3.0.1"
sources."whatwg-url-5.0.0"
sources."zod-3.22.4"
];
buildInputs = globalBuildInputs;
meta = {
description = "A language server for Bash";
homepage = "https://github.com/bash-lsp/bash-language-server#readme";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
bower = nodeEnv.buildNodePackage {
name = "bower";
packageName = "bower";

View File

@ -40,14 +40,6 @@ final: prev: {
};
};
bash-language-server = prev.bash-language-server.override {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''
wrapProgram "$out/bin/bash-language-server" \
--prefix PATH : ${lib.makeBinPath [ pkgs.shellcheck ]}
'';
};
bower2nix = prev.bower2nix.override {
nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ];
postInstall = ''

View File

@ -3,11 +3,11 @@
buildPythonPackage,
fetchFromGitHub,
geopy,
hatchling,
httpx,
numpy,
poetry-core,
pytestCheckHook,
pytest-asyncio,
pytestCheckHook,
python-dateutil,
pythonOlder,
rapidfuzz,
@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "avwx-engine";
version = "1.8.28";
version = "1.9.0";
pyproject = true;
disabled = pythonOlder "3.10";
@ -28,14 +28,14 @@ buildPythonPackage rec {
owner = "avwx-rest";
repo = "avwx-engine";
rev = "refs/tags/${version}";
hash = "sha256-sxOLhcmTJg/dTrtemr9BcfcBoHTP1eGo8U1ab8iSvUM=";
hash = "sha256-CUnUz2SsXtWaqGzaB1PH+EoHqebSue6e8GXhRZRcXLs=";
};
postPatch = ''
sed -i -e "/--cov/d" -e "/--no-cov/d" pyproject.toml
'';
build-system = [ poetry-core ];
build-system = [ hatchling ];
dependencies = [
geopy

View File

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "azure-eventgrid";
version = "4.19.0";
version = "4.20.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-a9fVQBbMo6Zwdp6WTYKiQBlqJcQRs+nxqKqBVcPbBew=";
hash = "sha256-we2rkHabxOei+wogN88EVXVNUK95NnTAiz/sIpMkjEw=";
};
build-system = [ setuptools ];

View File

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "azure-monitor-ingestion";
version = "1.0.3";
version = "1.0.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-idAEqP+HaZs/0fzyBaqO8enTTySg88w3TSIUceiYdDs=";
hash = "sha256-JU11mTof5wfRmPAUrvWhT6pXDO5zabNbsDriqo+Zvnk=";
};
nativeBuildInputs = [ setuptools ];

View File

@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "azure-synapse-artifacts";
version = "0.18.0";
version = "0.19.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-qgiHMzW7T5NuQl0jwZheMXp7wHhNOHyH24J6wfc4VqQ=";
hash = "sha256-UvCSsiZ315IoDwvMI02JLJ9zjpPI4Ut0wZUQG5uicYQ=";
};
propagatedBuildInputs = [

View File

@ -11,6 +11,7 @@
pytest-mock,
pytestCheckHook,
pythonOlder,
pyyaml,
rich,
rich-rst,
typing-extensions,
@ -18,7 +19,7 @@
buildPythonPackage rec {
pname = "cyclopts";
version = "2.6.2";
version = "2.7.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -27,7 +28,7 @@ buildPythonPackage rec {
owner = "BrianPugh";
repo = "cyclopts";
rev = "refs/tags/v${version}";
hash = "sha256-GWUD9Qu2EKrT7nwlmSpJ31LWSvv6mASxsXGznumusdw=";
hash = "sha256-oYYsHT8VZdqcOkMj++Bh7xjZ3JfJ9CiacFt92lBiQmc=";
};
build-system = [
@ -48,6 +49,7 @@ buildPythonPackage rec {
pydantic
pytest-mock
pytestCheckHook
pyyaml
];
pythonImportsCheck = [ "cyclopts" ];

View File

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "dpath";
version = "2.1.6";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8eB8cuhgXGqegLZLyPQnFN4Ip4nH3kF+ScP4ehlpLkc=";
hash = "sha256-NPfmMNxV6j8hnlVXJvXaS0sl8iADGcjmkCw5Qljdaj4=";
};
nativeBuildInputs = [ setuptools ];

View File

@ -30,14 +30,14 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery";
version = "3.23.1";
version = "3.24.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-S0WX+SkbQhAslmfTtFKPgB1MjyTvKxLdHsuIEnMzCVU=";
hash = "sha256-6V5vbgqjLmxFPUTisymJMf3XlHwwnqMpoxtv8fk54X4=";
};
build-system = [ setuptools ];

View File

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "google-cloud-bigtable";
version = "2.23.1";
version = "2.24.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FHWiK/zhY7XELN9O717AUyPuozWFUpT5zk4j+qIk8Cg=";
hash = "sha256-rOdfYso8UtZhnU/3rtmCEpyuUIuvd22BszMT9PnqXtQ=";
};
build-system = [ setuptools ];

View File

@ -15,14 +15,14 @@
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.46.0";
version = "2.47.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-3kbZ+y22ml8j4NVjfEzzl1JcAsbyVJGCRJuitv7K7lw=";
hash = "sha256-tvzOKTu2n5b9JDo9EJw48BUrJuOwOR9JK6PQyi44HfI=";
};
build-system = [ setuptools ];

View File

@ -18,14 +18,14 @@
buildPythonPackage rec {
pname = "google-cloud-pubsub";
version = "2.21.2";
version = "2.21.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-/HIiaxRzHbKHP3xAMcx1fidLvNq8rHUjss1uRhMNYJY=";
hash = "sha256-30THmk17+1rfpnVBPjuRu74G6R0nFaFfklFAsFcVu30=";
};
build-system = [ setuptools ];

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "hstspreload";
version = "2024.5.1";
version = "2024.6.1";
pyproject = true;
disabled = pythonOlder "3.6";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "sethmlarson";
repo = "hstspreload";
rev = "refs/tags/${version}";
hash = "sha256-Ut2VhU2+o4wm4WY4zz/25EyDLvrYoBu3iVFkx3FZVYo=";
hash = "sha256-eeZR+UDQ6Cp1WTcz2duSTgQ+7vrF9T08aVT0mJk6ctA=";
};
build-system = [ setuptools ];

View File

@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "langfuse";
version = "2.35.0";
version = "2.36.1";
pyproject = true;
src = fetchFromGitHub {
owner = "langfuse";
repo = "langfuse-python";
rev = "refs/tags/v${version}";
hash = "sha256-u1gnv2eDYhF0C4r88VMIedxUEk6WU88Q0mlweVKLaoc=";
hash = "sha256-qPSkATK+IRgtK43B9nr5rC3zZ7qm+/uBJrm7mVhZyUE=";
};
build-system = [ poetry-core ];

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "llama-index-vector-stores-chroma";
version = "0.1.8";
version = "0.1.9";
pyproject = true;
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "llama_index_vector_stores_chroma";
inherit version;
hash = "sha256-nFdLrzcPr0Vry2e51eonOm+h8rT9IFpZxHtoESNkuec=";
hash = "sha256-alwnqzriXPUEvtlRPB8DU2XftXa4hv4zTUaQjKJKWc8=";
};
build-system = [ poetry-core ];

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "pdfplumber";
version = "0.11.0";
version = "0.11.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "jsvine";
repo = "pdfplumber";
rev = "refs/tags/v${version}";
hash = "sha256-sjiCxE2WcvBASANCeookNn1n9M+mY0/8QGOCen+pzqM=";
hash = "sha256-5A1hjmC6GCS0Uqq5AiCEGqDTwASbJBX0pJGNNyvP3+4=";
};
postPatch = ''

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "pytelegrambotapi";
version = "4.18.0";
version = "4.19.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "eternnoir";
repo = "pyTelegramBotAPI";
rev = "refs/tags/${version}";
hash = "sha256-MlKLLLoEbB+ju+ewYDSEUCLVpCt+MsRKzTDVDuxDr8I=";
hash = "sha256-vyhX6TG3B6f1u49ngzdaCOZwSnEUQ2XMiq80bqCSmxU=";
};
build-system = [ hatchling ];

View File

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "python-box";
version = "7.1.1";
version = "7.2.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "cdgriffith";
repo = "Box";
rev = "refs/tags/${version}";
hash = "sha256-oxT2y3um6BZ3bwYa+LWBoTgU+9b+V7XtQdCdECU3Gu0=";
hash = "sha256-5aORpuh0ezA3mUEpAPANDkdeN8ujNRfCUCV5qamMk68=";
};
nativeBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "python-fullykiosk";
version = "0.0.12";
version = "0.0.13";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "cgarwood";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-88PsJ1qAlOpxDtZyQe8pFC2Y3ygg3boiPxmYad58Fm8=";
hash = "sha256-GElLaSSr/EEhtjgasP2C79kf+HluVPuQ21I8La7IvLs=";
};
propagatedBuildInputs = [ aiohttp ];

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "pywerview";
version = "0.6";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "the-useless-one";
repo = "pywerview";
rev = "refs/tags/v${version}";
hash = "sha256-WZE6qWq9v4A78YELMEcbgyufBRrVFRTqlhGmknpKn1Y=";
hash = "sha256-hsilBqk73txYIlgRtbn/l/kWORMGft7ne5BffchDLPc=";
};
nativeBuildInputs = [ setuptools ];

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "reolink-aio";
version = "0.9.1";
version = "0.9.2";
pyproject = true;
disabled = pythonOlder "3.9";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "starkillerOG";
repo = "reolink_aio";
rev = "refs/tags/${version}";
hash = "sha256-Y07QBUZs7olagoJ+ihIpgkAt9yit+4WK/2YDfvHPYOk=";
hash = "sha256-wkOmwZ4pE5AqZkAUyxgBHywCcJlcMauzJ8OO3Po2u4s=";
};
build-system = [ setuptools ];

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "spatial-image";
version = "1.0.0";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "spatial-image";
repo = "spatial-image";
rev = "refs/tags/v${version}";
hash = "sha256-nCsxPhIgGmZZntYbhQ3KnzptcKdN288eNixbQDgECSQ=";
hash = "sha256-yIAqHhq2naTA8PdLOdrNSrhEOhRwlFD6x9dH4xDVt9Y=";
};
nativeBuildInputs = [ flit-core ];

View File

@ -35,14 +35,14 @@
buildPythonPackage rec {
pname = "uiprotect";
version = "1.1.0";
version = "1.7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "uilibs";
repo = "uiprotect";
rev = "refs/tags/v${version}";
hash = "sha256-TWErGEQot99x48Ti9rBxaq9qcrZiT/W0irdR+UxC1XI=";
hash = "sha256-gr+P7V0vsmWha/Di3BGORjssCLz0lsufawzMZKOMYt0=";
};
postPatch = ''

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "xarray-dataclasses";
version = "1.7.0";
version = "1.8.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "astropenguin";
repo = "xarray-dataclasses";
rev = "refs/tags/v${version}";
hash = "sha256-fyRUH6t2+9tsxRQFfJR2EHinYtwCmWeCB77kpmBgdBA=";
hash = "sha256-NZBWq1G63yef6h9TjRBfCqPzhaks0Cm7bUCJfIIpmcE=";
};
nativeBuildInputs = [

View File

@ -14,12 +14,13 @@
pythonOlder,
requests,
requests-mock,
setuptools,
poetry-core,
typing-extensions,
}:
buildPythonPackage rec {
pname = "yalexs";
version = "3.1.0";
version = "6.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
@ -28,16 +29,15 @@ buildPythonPackage rec {
owner = "bdraco";
repo = "yalexs";
rev = "refs/tags/v${version}";
hash = "sha256-+Sn+d6CuxIUEDLkDvcq7OT3AumElJFfWCwM02LPIeyg=";
hash = "sha256-xBBO0cXdOzt2ioMQzzdtSKB0WxOZBIb4PsiKoRrUUSc=";
};
postPatch = ''
# Not used requirement
substituteInPlace setup.py \
--replace-fail '"vol",' ""
substituteInPlace pyproject.toml \
--replace-fail "-v -Wdefault --cov=yalexs --cov-report=term-missing:skip-covered" ""
'';
build-system = [ setuptools ];
build-system = [ poetry-core ];
dependencies = [
aiofiles
@ -47,6 +47,7 @@ buildPythonPackage rec {
pyjwt
python-dateutil
requests
typing-extensions
];
# aiounittest is not supported on 3.12

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "buildkit";
version = "0.13.2";
version = "0.14.0";
src = fetchFromGitHub {
owner = "moby";
repo = "buildkit";
rev = "v${version}";
hash = "sha256-Kb5p838jezDTJnc2jcKnima1gE7ENMm+4cmN6F6vh+Y=";
hash = "sha256-41e/S3TzDAJuvopd5JFMKvdDOmHwnwF+4wrdOvifyoU=";
};
vendorHash = null;

View File

@ -4,7 +4,7 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "check-jsonschema";
version = "0.28.4";
version = "0.28.5";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -13,7 +13,7 @@ buildPythonApplication rec {
owner = "python-jsonschema";
repo = "check-jsonschema";
rev = "refs/tags/${version}";
hash = "sha256-7EHx5XQ3sthxKcD+9ujo5ZXWQ7tZx/f7eN9OiK4k7mc=";
hash = "sha256-O2w9P/5og0cI7Ol+d5YVwLuvCjiskrRLL3V/jsYB4k4=";
};
propagatedBuildInputs = [

View File

@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
version = "2.5.0";
srcHash = "sha256-tR+suOR09folwZ6qmuaQhGml134L8dcK7ZX8/Pl4xfQ=";
version = "2.6.0";
srcHash = "sha256-SuTizOHsj1t4WovbOX5MuMZixbPo7TyCnD6nnf62/H4=";
# The tarball contains vendored dependencies
vendorHash = null;
in

View File

@ -5,13 +5,13 @@
buildGoModule rec {
pname = "dblab";
version = "0.24.0";
version = "0.24.1";
src = fetchFromGitHub {
owner = "danvergara";
repo = "dblab";
rev = "v${version}";
hash = "sha256-xaggGX1BROyfexPV3I2TGYf3BPHg2uFebm8XZ0qwXUw=";
hash = "sha256-p579rxv8ntNLfunKl6JGYE7eFZc51p2OGWGhQmAuADY=";
};
vendorHash = "sha256-RmZkSlA6KU1wXKFHPLYVhRjwxsDjO1XNoGBdNCmeGSw=";

View File

@ -5,16 +5,16 @@
buildNpmPackage rec {
pname = "eask";
version = "0.9.9";
version = "0.10.0";
src = fetchFromGitHub {
owner = "emacs-eask";
repo = "cli";
rev = version;
hash = "sha256-BW2Kw5arYJStz468uLokNj7c1nFVdvYMPdVoaU6dRts=";
hash = "sha256-bTig1g9G/2NYlvlo6TBMIQjmCqaC8AOwvTiPDbLv//Q=";
};
npmDepsHash = "sha256-lgkPyu7kM6ZW/MgO2eBsf46Z767wDObrgh8dCLl+dGA=";
npmDepsHash = "sha256-JEk+dbLndXn8Bfz9HZWzY9Blk2ZyEf5AH6M4+X1uwaM=";
dontBuild = true;

View File

@ -15,16 +15,16 @@
rustPlatform.buildRustPackage rec {
pname = "espup";
version = "0.11.0";
version = "0.12.0";
src = fetchFromGitHub {
owner = "esp-rs";
repo = "espup";
rev = "v${version}";
hash = "sha256-BW71yFX4jfx90KHdynkGSqWD4diyjEBQfdBNquVdDDI=";
hash = "sha256-ofC9pBKZEKGNNirshhfcCkzWN4CvD7IfArZaikkfnmI=";
};
cargoHash = "sha256-iUVOU1P996hLC1rR/wWtsDBkKSB0rD7PPh6ZsQkHq3I=";
cargoHash = "sha256-fM1If/RnPzLDYjUImNkMViWkjXBc5YRIJHthypcJfmc=";
nativeBuildInputs = [
pkg-config

View File

@ -2,25 +2,23 @@
buildGoModule rec {
pname = "gotools";
version = "0.18.0";
version = "0.22.0";
# using GitHub instead of https://go.googlesource.com/tools because Gitiles UI is to basic to browse
src = fetchFromGitHub {
owner = "golang";
repo = "tools";
rev = "v${version}";
hash = "sha256-sOT98DdLYtPXovpcX020BbLSH99ByJSaVQeM10IcKG4=";
hash = "sha256-qqzvbHFbm6RlqztBnuj7HvMa9Wff1+YUA0fxiM0cx8o=";
};
postPatch = ''
# The gopls folder contains a Go submodule which causes a build failure
# and lives in its own package named gopls.
rm -r gopls
# getgo is an experimental go installer which adds generic named server and client binaries to $out/bin
rm -r cmd/getgo
'';
vendorHash = "sha256-gGAEl3yabXy1qbuBJyrpD+TRrKr56cZEOiSaBoBsYc8=";
vendorHash = "sha256-eQ/T/Zxmzn6KF0ewjvt9TDd48RSsSbQ3LgVcKgdeVbU=";
doCheck = false;

View File

@ -10,7 +10,7 @@
stdenv.mkDerivation rec {
pname = "blackfire";
version = "2.28.3";
version = "2.28.4";
src = passthru.sources.${stdenv.hostPlatform.system} or (throw "Unsupported platform for blackfire: ${stdenv.hostPlatform.system}");
@ -57,23 +57,23 @@ stdenv.mkDerivation rec {
sources = {
"x86_64-linux" = fetchurl {
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_amd64.deb";
sha256 = "nku9F29PjoPZL/PppK6HuC5Mk7TEWv4iAUVgoiYmaG8=";
sha256 = "k6CCNafcw6oRD5Dj0AYkidVdOdOOcwT8GBiEcwviByc=";
};
"i686-linux" = fetchurl {
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_i386.deb";
sha256 = "xZfjCn0HXqw0fBrZEKc4X2m8aTEiXOFjSEpSdFq9Wvc=";
sha256 = "zFnzbkPkTRUU6zn4zOlN9AyE3G2Y2Gp9l3MZRsmbdJc=";
};
"aarch64-linux" = fetchurl {
url = "https://packages.blackfire.io/debian/pool/any/main/b/blackfire/blackfire_${version}_arm64.deb";
sha256 = "05aI2Ao0++bTiwt6TygY/yvLkmByH604t8EX8T2bGZs=";
sha256 = "KxpSVTUyhbRHzlLH65XH2bXWS+OZExu0lpiLJ8comZA=";
};
"aarch64-darwin" = fetchurl {
url = "https://packages.blackfire.io/blackfire/${version}/blackfire-darwin_arm64.pkg.tar.gz";
sha256 = "ICG0SGBzpSQoug+5kl7kQ05Q0+0BAKdhRdUUwxgPEb4=";
sha256 = "sVM7LLVbvbLBArjuZq/qclXclEzqbY47CmgUCNXuZw0=";
};
"x86_64-darwin" = fetchurl {
url = "https://packages.blackfire.io/blackfire/${version}/blackfire-darwin_amd64.pkg.tar.gz";
sha256 = "qbhFK8Oe7565sOQMGE68TlyYN1B56kk2ibiBiDWw7VE=";
sha256 = "mOxYOmDQiEZdAPVKaM/rO37/YLlRXHil83/DKhRqim8=";
};
};

View File

@ -13,14 +13,14 @@
rustPlatform.buildRustPackage rec {
pname = "rust-analyzer-unwrapped";
version = "2024-06-03";
cargoSha256 = "sha256-UTN2VLByC+aIoIfftTnXm/l+vEYOKuMIrVdUAnt3ZAc=";
version = "2024-06-11";
cargoSha256 = "sha256-mo3TGaUI1gjJX64Di7+M40CzHkIuFAuXl27yJ9GPkPU=";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "rust-analyzer";
rev = version;
sha256 = "sha256-7ZKcQoNc4Od+oXdZQdTDbaPRpKW64WH0adSBlqzqWHU=";
sha256 = "sha256-/N0sZW3xiivMm5klk9zBtzMlO+uaxnUq35kI3bakLx8=";
};
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];

View File

@ -0,0 +1,12 @@
diff --git a/CorsixTH/CMakeLists.txt b/CorsixTH/CMakeLists.txt
index 85856df3..f0f08277 100644
--- a/CorsixTH/CMakeLists.txt
+++ b/CorsixTH/CMakeLists.txt
@@ -293,7 +293,6 @@ if(NOT USE_SOURCE_DATADIRS)
install(CODE "
INCLUDE(BundleUtilities)
SET(BU_CHMOD_BUNDLE_ITEMS ON)
- FIXUP_BUNDLE(\"${CMAKE_INSTALL_PREFIX}/CorsixTH.app\" \"\" \"\")
")
if(WITH_LUAROCKS)
install(CODE "execute_process(

View File

@ -10,9 +10,15 @@
, SDL2
, SDL2_mixer
, timidity
# Darwin dependencies
, libiconv
, Cocoa
, CoreVideo
# Update
, nix-update-script
}:
stdenv.mkDerivation (finalAttrs: {
stdenv.mkDerivation(finalAttrs: {
pname = "corsix-th";
version = "0.67";
@ -23,23 +29,50 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-WA/VJqHXzBfVUBNtxCVsGBRzSRQ0pvDvAy03ntc0KZE=";
};
luaEnv = lua.withPackages(p: with p; [ luafilesystem lpeg luasec luasocket ]);
patches = [
./darwin-cmake-no-fixup-bundle.patch
];
nativeBuildInputs = [ cmake doxygen makeWrapper ];
buildInputs = [ ffmpeg freetype lua finalAttrs.luaEnv SDL2 SDL2_mixer timidity ];
buildInputs = let
luaEnv = lua.withPackages(p: with p; [ luafilesystem lpeg luasec luasocket ]);
in [
ffmpeg
freetype
lua
luaEnv
SDL2
SDL2_mixer
timidity
] ++ lib.optionals stdenv.isDarwin [
libiconv
Cocoa
CoreVideo
];
cmakeFlags = [ "-Wno-dev" ];
postInstall = ''
postInstall = lib.optionalString stdenv.isLinux ''
wrapProgram $out/bin/corsix-th \
--set LUA_PATH "$LUA_PATH" \
--set LUA_CPATH "$LUA_CPATH"
'' + lib.optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
mv $out/CorsixTH.app $out/Applications
wrapProgram $out/Applications/CorsixTH.app/Contents/MacOS/CorsixTH \
--set LUA_PATH "$LUA_PATH" \
--set LUA_CPATH "$LUA_CPATH"
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Reimplementation of the 1997 Bullfrog business sim Theme Hospital";
mainProgram = "corsix-th";
homepage = "https://corsixth.com/";
license = licenses.mit;
maintainers = with maintainers; [ hughobrien ];
platforms = platforms.linux;
maintainers = with maintainers; [ hughobrien matteopacini ];
platforms = platforms.linux ++ platforms.darwin;
};
})

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, nixosTests, jre_headless, version, url, sha1 }:
{ lib, stdenv, fetchurl, nixosTests, jre_headless, makeWrapper, udev, version, url, sha1 }:
stdenv.mkDerivation {
pname = "minecraft-server";
inherit version;
@ -7,16 +7,18 @@ stdenv.mkDerivation {
preferLocalBuild = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin $out/lib/minecraft
cp -v $src $out/lib/minecraft/server.jar
runHook preInstall
cat > $out/bin/minecraft-server << EOF
#!/bin/sh
exec ${jre_headless}/bin/java \$@ -jar $out/lib/minecraft/server.jar nogui
EOF
install -Dm644 $src $out/lib/minecraft/server.jar
chmod +x $out/bin/minecraft-server
makeWrapper ${lib.getExe jre_headless} $out/bin/minecraft-server \
--append-flags "-jar $out/lib/minecraft/server.jar nogui" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
runHook postInstall
'';
dontUnpack = true;

View File

@ -1,4 +1,10 @@
{
"1.21": {
"sha1": "450698d1863ab5180c25d7c804ef0fe6369dd1ba",
"url": "https://piston-data.mojang.com/v1/objects/450698d1863ab5180c25d7c804ef0fe6369dd1ba/server.jar",
"version": "1.21",
"javaVersion": 21
},
"1.20": {
"sha1": "145ff0858209bcfc164859ba735d4199aafa1eea",
"url": "https://piston-data.mojang.com/v1/objects/145ff0858209bcfc164859ba735d4199aafa1eea/server.jar",

View File

@ -10,13 +10,13 @@
buildGoModule rec {
pname = "fastly";
version = "10.12.1";
version = "10.12.2";
src = fetchFromGitHub {
owner = "fastly";
repo = "cli";
rev = "refs/tags/v${version}";
hash = "sha256-qQlKgK24xLRpueTdu6nVM91HEby6X1/fPhMXshCqi0s=";
hash = "sha256-2B/7XmhHo/1Y2szdXNygiK6IsmVvcdAPtOvZI/B26pw=";
# The git commit is part of the `fastly version` original output;
# leave that output the same in nixpkgs. Use the `.git` directory
# to retrieve the commit SHA, and remove the directory afterwards,

View File

@ -59,14 +59,14 @@ let
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
version = "2.15.62"; # N.B: if you change this, check if overrides are still up-to-date
version = "2.16.4"; # N.B: if you change this, check if overrides are still up-to-date
pyproject = true;
src = fetchFromGitHub {
owner = "aws";
repo = "aws-cli";
rev = "refs/tags/${version}";
hash = "sha256-hhjxhdrU4FFJWNcq4JiKpSSDr6YxKbUDGIuBoixryWU=";
hash = "sha256-l+AbacIs/1cJ78BACb3f5KuN9jM55WBT1SHD/lcAbcA=";
};
postPatch = ''

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "cyberchef";
version = "10.18.6";
version = "10.18.8";
src = fetchzip {
url = "https://github.com/gchq/CyberChef/releases/download/v${version}/CyberChef_v${version}.zip";
sha256 = "sha256-LbauIeDUqfL1ChZTThq7CJ++yNiuKaa773jSdmxorf8=";
sha256 = "sha256-1Ta0fgrwBHfUlj7aJkiAHV7MmHRlXJloYt2P889ya+U=";
stripRoot = false;
};

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "notation";
version = "1.1.0";
version = "1.1.1";
src = fetchFromGitHub {
owner = "notaryproject";
repo = pname;
rev = "v${version}";
hash = "sha256-MJBFdtx+HkPCN1SIohKOy33BW746GNN2fWkr7TIuBmk=";
hash = "sha256-Pi4Ddlx8G4dRDz79yTiPBf6gf0wsvoE9CuyeVGrHst0=";
};
vendorHash = "sha256-USkufc1dG4eyRfRJHSX4mVZHnvOc5onHenF98Aedac4=";
vendorHash = "sha256-REJPSBLXzIPAmxwzckufTqJvZCWUUkJLBmHTx2nv9QM=";
nativeBuildInputs = [
installShellFiles

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec {
pname = "automatic-timezoned";
version = "2.0.15";
version = "2.0.16";
src = fetchFromGitHub {
owner = "maxbrunet";
repo = pname;
rev = "v${version}";
sha256 = "sha256-iYsZSWWgapKj5EwGdAsv4YR2sEqGEol3VsZsOPFHAtA=";
sha256 = "sha256-Ew2UiWq/K93HfKqaQoDHPrkKgHkgzzzdQwJTXmSYTeE=";
};
cargoHash = "sha256-ZlKG+KU1CjxSMA+hZ+kWrJ68kuJjDLJF8dAU/BHCBRw=";
cargoHash = "sha256-HsLDpfdL5/rQU8usKiWRnbZ5s6XxchbHpp+9SFhoDi4=";
meta = with lib; {
description = "Automatically update system timezone based on location";

View File

@ -5,17 +5,17 @@
rustPlatform.buildRustPackage rec {
pname = "mdbook-i18n-helpers";
version = "0.3.3";
version = "0.3.4";
src = fetchFromGitHub {
owner = "google";
repo = "mdbook-i18n-helpers";
# TODO fix once upstream uses semver for tags again
rev = "refs/tags/mdbook-i18n-helpers-${version}";
hash = "sha256-5DfQCkNilRB309BXQ/DWrSMX+A64uiZ2CZxPZ0krtys=";
hash = "sha256-nIavOBWPyCmCLwPcDbjjG1sa71HObGnhms9sSCAR2iA=";
};
cargoHash = "sha256-BrbEW5PD7n9KDaBUjdF60nto6mcfdQ0OUDKcnRH23DA=";
cargoHash = "sha256-bBUgsZHvJPwsdM3DjhaoAvIkPXQ6gzPOdfcE5rAnMQk=";
meta = with lib; {
description = "Helpers for a mdbook i18n workflow based on Gettext";

View File

@ -6218,10 +6218,6 @@ with pkgs;
rainloop-community
rainloop-standard;
rav1e = callPackage ../tools/video/rav1e {
inherit (darwin.apple_sdk.frameworks) Security;
};
raven-reader = callPackage ../applications/networking/newsreaders/raven-reader { };
razergenie = libsForQt5.callPackage ../applications/misc/razergenie { };
@ -29006,6 +29002,10 @@ with pkgs;
redhat-official-fonts = callPackage ../data/fonts/redhat-official { };
ricochet-refresh = callPackage ../by-name/ri/ricochet-refresh/package.nix {
protobuf = protobuf_21; # https://github.com/blueprint-freespeech/ricochet-refresh/issues/178
};
rime-data = callPackage ../data/misc/rime-data { };
roapi-http = callPackage ../servers/roapi/http.nix { };
@ -32236,8 +32236,6 @@ with pkgs;
fluxctl = callPackage ../applications/networking/cluster/fluxctl { };
fluxcd = callPackage ../applications/networking/cluster/fluxcd { };
linkerd = callPackage ../applications/networking/cluster/linkerd { };
linkerd_edge = callPackage ../applications/networking/cluster/linkerd/edge.nix { };
linkerd_stable = linkerd;
@ -36196,7 +36194,9 @@ with pkgs;
colobot = callPackage ../games/colobot { };
corsix-th = callPackage ../games/corsix-th { };
corsix-th = callPackage ../games/corsix-th {
inherit (darwin.apple_sdk.frameworks) Cocoa CoreVideo;
};
enigma = callPackage ../games/enigma { };