Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-08-06 18:01:04 +00:00 committed by GitHub
commit 191e60634e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 1418 additions and 883 deletions

View file

@ -13294,7 +13294,7 @@
}; };
piturnah = { piturnah = {
email = "peterhebden6@gmail.com"; email = "peterhebden6@gmail.com";
github = "piturnah"; github = "Piturnah";
githubId = 20472367; githubId = 20472367;
name = "Peter Hebden"; name = "Peter Hebden";
}; };

View file

@ -278,6 +278,12 @@ in
You can't set services.kubo.settings.Pinning.RemoteServices because the ``config replace`` subcommand used at startup does not work with it. You can't set services.kubo.settings.Pinning.RemoteServices because the ``config replace`` subcommand used at startup does not work with it.
''; '';
} }
{
assertion = !((lib.versionAtLeast cfg.package.version "0.21") && (builtins.hasAttr "Experimental" cfg.settings) && (builtins.hasAttr "AcceleratedDHTClient" cfg.settings.Experimental));
message = ''
The `services.kubo.settings.Experimental.AcceleratedDHTClient` option was renamed to `services.kubo.settings.Routing.AcceleratedDHTClient` in Kubo 0.21.
'';
}
]; ];
environment.systemPackages = [ cfg.package ]; environment.systemPackages = [ cfg.package ];

View file

@ -26,13 +26,13 @@ assert withQt -> wrapQtAppsHook != null;
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "carla"; pname = "carla";
version = "2.5.5"; version = "2.5.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "falkTX"; owner = "falkTX";
repo = finalAttrs.pname; repo = finalAttrs.pname;
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-kXQ0dv4KrwvfxdP73zimof9XKpAz5E6hQrFOjLG4hKU="; hash = "sha256-/ZIproky1AHJHvV62xWm0nrzNBOjvBBv93V0KespVjU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ft2-clone"; pname = "ft2-clone";
version = "1.68"; version = "1.69";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "8bitbubsy"; owner = "8bitbubsy";
repo = "ft2-clone"; repo = "ft2-clone";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-mO8GrLyO7Zr9+lRy2WQ4OeRWDGmo22mPnZbajL78hJ8="; sha256 = "sha256-tm0yTh46UKnsjH9hv3cMW0YL2x3OTRL+14x4c7w124U=";
}; };
# Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh) # Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh)

View file

@ -1,13 +1,13 @@
{ lib {
, stdenv chromaprint
, fetchurl
, chromaprint
, cmake , cmake
, docbook_xml_dtd_45 , docbook_xml_dtd_45
, docbook_xsl , docbook_xsl
, fetchurl
, ffmpeg , ffmpeg
, flac , flac
, id3lib , id3lib
, lib
, libogg , libogg
, libvorbis , libvorbis
, libxslt , libxslt
@ -20,18 +20,19 @@
, qtquickcontrols , qtquickcontrols
, qttools , qttools
, readline , readline
, stdenv
, taglib , taglib
, wrapQtAppsHook , wrapQtAppsHook
, zlib , zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "kid3"; pname = "kid3";
version = "3.9.4"; version = "3.9.4";
src = fetchurl { src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.xz"; url = "https://download.kde.org/stable/kid3/${finalAttrs.version}/kid3-${finalAttrs.version}.tar.xz";
sha256 = "sha256-xBCWDpYiXeChxIiMPqHG3CyiRau2kUdDJtzcPtvWpSA="; hash = "sha256-xBCWDpYiXeChxIiMPqHG3CyiRau2kUdDJtzcPtvWpSA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -42,6 +43,7 @@ stdenv.mkDerivation rec {
python3 python3
wrapQtAppsHook wrapQtAppsHook
]; ];
buildInputs = [ buildInputs = [
chromaprint chromaprint
ffmpeg ffmpeg
@ -68,9 +70,10 @@ stdenv.mkDerivation rec {
export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/" export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/"
''; '';
meta = with lib; { meta = {
homepage = "https://kid3.kde.org/";
description = "A simple and powerful audio tag editor"; description = "A simple and powerful audio tag editor";
homepage = "https://kid3.kde.org/";
license = lib.licenses.lgpl2Plus;
longDescription = '' longDescription = ''
If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC,
MP2, Opus, Speex, TrueAudio, WavPack, WMA, WAV and AIFF files (e.g. full MP2, Opus, Speex, TrueAudio, WavPack, WMA, WAV and AIFF files (e.g. full
@ -100,8 +103,7 @@ stdenv.mkDerivation rec {
- Edit synchronized lyrics and event timing codes, import and export - Edit synchronized lyrics and event timing codes, import and export
LRC files. LRC files.
''; '';
license = licenses.lgpl2Plus; maintainers = [ lib.maintainers.AndersonTorres ];
maintainers = [ maintainers.AndersonTorres ]; platforms = lib.platforms.linux;
platforms = platforms.linux;
}; };
} })

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ fftwSinglePrec lv2 ]; buildInputs = [ fftwSinglePrec lv2 ];
meta = with lib; { meta = with lib; {
homepage = "http://drobilla.net/software/mda-lv2/"; homepage = "http://drobilla.net/software/mda-lv2.html";
description = "An LV2 port of the MDA plugins by Paul Kellett"; description = "An LV2 port of the MDA plugins by Paul Kellett";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];

View file

@ -1,38 +1,63 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, wrapGAppsHook, alsa-lib, gtk3, libpulseaudio }: {
alsa-lib
, fetchFromGitHub
, gtk3
, lib
, libpulseaudio
, pkg-config
, stdenv
, wrapGAppsHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "praat"; pname = "praat";
version = "6.3.10"; version = "6.3.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "praat"; owner = "praat";
repo = "praat"; repo = "praat";
rev = "v${version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-wnw8GKMukiraZgMMzd3S2NldC/cnRSILNo+D1Rqhr4k="; hash = "sha256-HN4w7n0nh7voL/QKhGQwCcGfzn+nyFOwluESlP3B6VM=";
}; };
configurePhase = '' nativeBuildInputs = [
cp makefiles/makefile.defs.linux.pulse makefile.defs pkg-config
''; wrapGAppsHook
];
buildInputs = [
alsa-lib
gtk3
libpulseaudio
];
makeFlags = [ makeFlags = [
"AR=${stdenv.cc.targetPrefix}ar" "AR=${stdenv.cc.targetPrefix}ar"
]; ];
installPhase = '' configurePhase = ''
install -Dt $out/bin praat runHook preConfigure
cp makefiles/makefile.defs.linux.pulse makefile.defs
runHook postConfigure
''; '';
nativeBuildInputs = [ pkg-config wrapGAppsHook ]; installPhase = ''
buildInputs = [ alsa-lib gtk3 libpulseaudio ]; runHook preInstall
install -Dt $out/bin praat
runHook postInstall
'';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = {
description = "Doing phonetics by computer"; description = "Doing phonetics by computer";
homepage = "https://www.fon.hum.uva.nl/praat/"; homepage = "https://www.fon.hum.uva.nl/praat/";
license = licenses.gpl2Plus; # Has some 3rd-party code in it though license = lib.licenses.gpl2Plus; # Has some 3rd-party code in it though
maintainers = with maintainers; [ orivej ]; maintainers = with lib.maintainers; [ orivej ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} })

View file

@ -0,0 +1,27 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "heh";
version = "0.4.1";
src = fetchFromGitHub {
owner = "ndd7xv";
repo = pname;
rev = "v${version}";
hash = "sha256-IIF/bkTLwR8pCs/hJ625T3NsiKf/6Zf1cW2i4lsiK4U=";
};
cargoHash = "sha256-tDvqaNVuzv1BlS/oNI1D/WV1b5uHreT3Ak/6ruqKXQc=";
meta = with lib; {
description = "A cross-platform terminal UI used for modifying file data in hex or ASCII.";
homepage = "https://github.com/ndd7xv/heh";
changelog = "https://github.com/ndd7xv/heh/releases/tag/${src.rev}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ piturnah ];
};
}

View file

@ -2,7 +2,7 @@
, unzip, libsecret, libXScrnSaver, libxshmfence, buildPackages , unzip, libsecret, libXScrnSaver, libxshmfence, buildPackages
, atomEnv, at-spi2-atk, autoPatchelfHook , atomEnv, at-spi2-atk, autoPatchelfHook
, systemd, fontconfig, libdbusmenu, glib, buildFHSEnv, wayland , systemd, fontconfig, libdbusmenu, glib, buildFHSEnv, wayland
, libglvnd , libglvnd, libkrb5
# Populate passthru.tests # Populate passthru.tests
, tests , tests
@ -71,7 +71,7 @@ let
}; };
buildInputs = [ libsecret libXScrnSaver libxshmfence ] buildInputs = [ libsecret libXScrnSaver libxshmfence ]
++ lib.optionals (!stdenv.isDarwin) ([ at-spi2-atk ] ++ atomEnv.packages); ++ lib.optionals (!stdenv.isDarwin) ([ at-spi2-atk libkrb5 ] ++ atomEnv.packages);
runtimeDependencies = lib.optionals stdenv.isLinux [ (lib.getLib systemd) fontconfig.lib libdbusmenu wayland ]; runtimeDependencies = lib.optionals stdenv.isLinux [ (lib.getLib systemd) fontconfig.lib libdbusmenu wayland ];

View file

@ -24,21 +24,21 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
sha256 = { sha256 = {
x86_64-linux = "05yl6v11ndayz081m3j6dhclj0hshsf0ism7z31hmq6qvfl1sw0k"; x86_64-linux = "0hc1pfrhmdydwgyz3mjp45nmzs101iffam7ciximqmnhf1s1x4qf";
x86_64-darwin = "16x1ppfi3n9gnxg2la2pzj67mlj507879hpqinhpz57dvys421h8"; x86_64-darwin = "1snrr4lsa5qdpdl80wx8ymxp8h1bhd5ablhcgkhzvmj5dh7jrywk";
aarch64-linux = "0m5k9rm14isj9x1j3nw3zvcxxz523396id7yhi8bpncr4ac8a087"; aarch64-linux = "0pm5znbjm79ziwdx37cc75qnbf0jv3yrm2xg7cykavn43gz97abw";
aarch64-darwin = "1kbhf3v71qhw4ql6pp8x5m68lgycjzxzm17c9ri0zn0b86ffp8d3"; aarch64-darwin = "0bq5hvgv228x7vby4475cc65g24kpv9kvj06p6c0y6a2a79j45by";
armv7l-linux = "07lp0schicpnzs52gfbi9y8zfkwxhh92zv29afzy6vxdlqvmrf21"; armv7l-linux = "11gxpqflakp4cwzkpqrwsd6m5fls1vnaigppc4bq9flfknwkjfrx";
}.${system} or throwSystem; }.${system} or throwSystem;
in in
callPackage ./generic.nix rec { callPackage ./generic.nix rec {
# Please backport all compatible updates to the stable release. # Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem. # This is important for the extension ecosystem.
version = "1.80.2"; version = "1.81.0";
pname = "vscode"; pname = "vscode";
# This is used for VS Code - Remote SSH test # This is used for VS Code - Remote SSH test
rev = "2ccd690cbff1569e4a83d7c43d45101f817401dc"; rev = "6445d93c81ebe42c4cbd7a60712e0b17d9463e97";
executableName = "code" + lib.optionalString isInsiders "-insiders"; executableName = "code" + lib.optionalString isInsiders "-insiders";
longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders"; longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders";
@ -62,7 +62,7 @@ in
src = fetchurl { src = fetchurl {
name = "vscode-server-${rev}.tar.gz"; name = "vscode-server-${rev}.tar.gz";
url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable"; url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable";
sha256 = "1425bngv0n2xpd7yp9xbmxv95adr9vv0vzy1wvqvgpd8p6h05r7n"; sha256 = "07x9lmkyhra4hplsgdhh97dixsx92i7lab5z5ihs2wqvvzl69ah2";
}; };
}; };

View file

@ -28,13 +28,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "ryujinx"; pname = "ryujinx";
version = "1.1.968"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml version = "1.1.974"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Ryujinx"; owner = "Ryujinx";
repo = "Ryujinx"; repo = "Ryujinx";
rev = "487261592eb9e9c31cacd08860f8894027bb1a07"; rev = "5a0aa074b661753d8f0202a73d9f6f3ac6e2ab11";
sha256 = "002qgnh7xb9i9yqm4a3m9m7sbx1iz7ng8k5nnanlq897djs3hy0g"; sha256 = "0f1wivwf7hnsqi7sgqjrikxvakrk8dmywpmyd36a3s5lbk878wp3";
}; };
dotnet-sdk = dotnetCorePackages.sdk_7_0; dotnet-sdk = dotnetCorePackages.sdk_7_0;

View file

@ -20,7 +20,7 @@
(fetchNuGet { pname = "Avalonia.X11"; version = "0.10.21"; sha256 = "08vbdiv2k9vp8gp59rk0z63jyn8hlv8a4956jczy05ail5qfl94v"; }) (fetchNuGet { pname = "Avalonia.X11"; version = "0.10.21"; sha256 = "08vbdiv2k9vp8gp59rk0z63jyn8hlv8a4956jczy05ail5qfl94v"; })
(fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; sha256 = "1sldkj8lakggn4hnyabjj1fppqh50fkdrr1k99d4gswpbk5kv582"; }) (fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; sha256 = "1sldkj8lakggn4hnyabjj1fppqh50fkdrr1k99d4gswpbk5kv582"; })
(fetchNuGet { pname = "Concentus"; version = "1.1.7"; sha256 = "0y5z444wrbhlmsqpy2sxmajl1fbf74843lvgj3y6vz260dn2q0l0"; }) (fetchNuGet { pname = "Concentus"; version = "1.1.7"; sha256 = "0y5z444wrbhlmsqpy2sxmajl1fbf74843lvgj3y6vz260dn2q0l0"; })
(fetchNuGet { pname = "DiscordRichPresence"; version = "1.1.3.18"; sha256 = "0p4bhaggjjfd4gl06yiphqgncxgcq2bws4sjkrw0n2ldf3hgrps3"; }) (fetchNuGet { pname = "DiscordRichPresence"; version = "1.2.1.24"; sha256 = "0maw0yd6xgwy0cgk593z3zva0r5j267zpdmmpq8avj3zbna6n4x1"; })
(fetchNuGet { pname = "DynamicData"; version = "7.14.2"; sha256 = "07k79w4702masq71rk865mi3h1kaxamyp7dgl08ny4n22gg8482k"; }) (fetchNuGet { pname = "DynamicData"; version = "7.14.2"; sha256 = "07k79w4702masq71rk865mi3h1kaxamyp7dgl08ny4n22gg8482k"; })
(fetchNuGet { pname = "ExCSS"; version = "4.1.4"; sha256 = "1y50xp6rihkydbf5l73mr3qq2rm6rdfjrzdw9h1dw9my230q5lpd"; }) (fetchNuGet { pname = "ExCSS"; version = "4.1.4"; sha256 = "1y50xp6rihkydbf5l73mr3qq2rm6rdfjrzdw9h1dw9my230q5lpd"; })
(fetchNuGet { pname = "Fizzler"; version = "1.2.1"; sha256 = "1w5jb1d0figbv68dydbnlcsfmqlc3sv9z1zxp7d79dg2dkarc4qm"; }) (fetchNuGet { pname = "Fizzler"; version = "1.2.1"; sha256 = "1w5jb1d0figbv68dydbnlcsfmqlc3sv9z1zxp7d79dg2dkarc4qm"; })
@ -40,9 +40,9 @@
(fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "2.9.6"; sha256 = "18mr1f0wpq0fir8vjnq0a8pz50zpnblr7sabff0yqx37c975934a"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "2.9.6"; sha256 = "18mr1f0wpq0fir8vjnq0a8pz50zpnblr7sabff0yqx37c975934a"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "3.3.4"; sha256 = "0wd6v57p53ahz5z9zg4iyzmy3src7rlsncyqpcag02jjj1yx6g58"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.Analyzers"; version = "3.3.4"; sha256 = "0wd6v57p53ahz5z9zg4iyzmy3src7rlsncyqpcag02jjj1yx6g58"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.Common"; version = "3.4.0"; sha256 = "12rn6gl4viycwk3pz5hp5df63g66zvba4hnkwr3f0876jj5ivmsw"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.Common"; version = "3.4.0"; sha256 = "12rn6gl4viycwk3pz5hp5df63g66zvba4hnkwr3f0876jj5ivmsw"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.Common"; version = "4.5.0"; sha256 = "0hjzca7v3qq4wqzi9chgxzycbaysnjgj28ps20695x61sia6i3da"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.Common"; version = "4.6.0"; sha256 = "0qvkwkbqz4dhkxsisanax1lwm3nzyyb4kgb40qczxbl8g251cjp2"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp"; version = "3.4.0"; sha256 = "0rhylcwa95bxawcgixk64knv7p7xrykdjcabmx3gknk8hvj1ai9y"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp"; version = "3.4.0"; sha256 = "0rhylcwa95bxawcgixk64knv7p7xrykdjcabmx3gknk8hvj1ai9y"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp"; version = "4.5.0"; sha256 = "1l6v0ii5lapmfnfpjwi3j5bwlx8v9nvyani5pwvqzdfqsd5m7mp5"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp"; version = "4.6.0"; sha256 = "1yfvwygx795c9lswpiv8q19zydifarzljdmvv67vjmi559cm8b1q"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp.Scripting"; version = "3.4.0"; sha256 = "1h2f0z9xnw987x8bydka1sd42ijqjx973md6v1gvpy1qc6ad244g"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.CSharp.Scripting"; version = "3.4.0"; sha256 = "1h2f0z9xnw987x8bydka1sd42ijqjx973md6v1gvpy1qc6ad244g"; })
(fetchNuGet { pname = "Microsoft.CodeAnalysis.Scripting.Common"; version = "3.4.0"; sha256 = "195gqnpwqkg2wlvk8x6yzm7byrxfq9bki20xmhf6lzfsdw3z4mf2"; }) (fetchNuGet { pname = "Microsoft.CodeAnalysis.Scripting.Common"; version = "3.4.0"; sha256 = "195gqnpwqkg2wlvk8x6yzm7byrxfq9bki20xmhf6lzfsdw3z4mf2"; })
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.6.3"; sha256 = "1xxzd2yxlbq2h4k6flp7lvffmmwrjlyha2z1yvrxxymiyyggk2zg"; }) (fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.6.3"; sha256 = "1xxzd2yxlbq2h4k6flp7lvffmmwrjlyha2z1yvrxxymiyyggk2zg"; })
@ -164,7 +164,7 @@
(fetchNuGet { pname = "System.Collections"; version = "4.3.0"; sha256 = "19r4y64dqyrq6k4706dnyhhw7fs24kpp3awak7whzss39dakpxk9"; }) (fetchNuGet { pname = "System.Collections"; version = "4.3.0"; sha256 = "19r4y64dqyrq6k4706dnyhhw7fs24kpp3awak7whzss39dakpxk9"; })
(fetchNuGet { pname = "System.Collections.Concurrent"; version = "4.0.12"; sha256 = "07y08kvrzpak873pmyxs129g1ch8l27zmg51pcyj2jvq03n0r0fc"; }) (fetchNuGet { pname = "System.Collections.Concurrent"; version = "4.0.12"; sha256 = "07y08kvrzpak873pmyxs129g1ch8l27zmg51pcyj2jvq03n0r0fc"; })
(fetchNuGet { pname = "System.Collections.Immutable"; version = "1.5.0"; sha256 = "1d5gjn5afnrf461jlxzawcvihz195gayqpcfbv6dd7pxa9ialn06"; }) (fetchNuGet { pname = "System.Collections.Immutable"; version = "1.5.0"; sha256 = "1d5gjn5afnrf461jlxzawcvihz195gayqpcfbv6dd7pxa9ialn06"; })
(fetchNuGet { pname = "System.Collections.Immutable"; version = "6.0.0"; sha256 = "1js98kmjn47ivcvkjqdmyipzknb9xbndssczm8gq224pbaj1p88c"; }) (fetchNuGet { pname = "System.Collections.Immutable"; version = "7.0.0"; sha256 = "1n9122cy6v3qhsisc9lzwa1m1j62b8pi2678nsmnlyvfpk0zdagm"; })
(fetchNuGet { pname = "System.ComponentModel.Annotations"; version = "4.5.0"; sha256 = "1jj6f6g87k0iwsgmg3xmnn67a14mq88np0l1ys5zkxhkvbc8976p"; }) (fetchNuGet { pname = "System.ComponentModel.Annotations"; version = "4.5.0"; sha256 = "1jj6f6g87k0iwsgmg3xmnn67a14mq88np0l1ys5zkxhkvbc8976p"; })
(fetchNuGet { pname = "System.Console"; version = "4.0.0"; sha256 = "0ynxqbc3z1nwbrc11hkkpw9skw116z4y9wjzn7id49p9yi7mzmlf"; }) (fetchNuGet { pname = "System.Console"; version = "4.0.0"; sha256 = "0ynxqbc3z1nwbrc11hkkpw9skw116z4y9wjzn7id49p9yi7mzmlf"; })
(fetchNuGet { pname = "System.Diagnostics.Debug"; version = "4.0.11"; sha256 = "0gmjghrqmlgzxivd2xl50ncbglb7ljzb66rlx8ws6dv8jm0d5siz"; }) (fetchNuGet { pname = "System.Diagnostics.Debug"; version = "4.0.11"; sha256 = "0gmjghrqmlgzxivd2xl50ncbglb7ljzb66rlx8ws6dv8jm0d5siz"; })
@ -218,7 +218,7 @@
(fetchNuGet { pname = "System.Reflection.Extensions"; version = "4.0.1"; sha256 = "0m7wqwq0zqq9gbpiqvgk3sr92cbrw7cp3xn53xvw7zj6rz6fdirn"; }) (fetchNuGet { pname = "System.Reflection.Extensions"; version = "4.0.1"; sha256 = "0m7wqwq0zqq9gbpiqvgk3sr92cbrw7cp3xn53xvw7zj6rz6fdirn"; })
(fetchNuGet { pname = "System.Reflection.Extensions"; version = "4.3.0"; sha256 = "02bly8bdc98gs22lqsfx9xicblszr2yan7v2mmw3g7hy6miq5hwq"; }) (fetchNuGet { pname = "System.Reflection.Extensions"; version = "4.3.0"; sha256 = "02bly8bdc98gs22lqsfx9xicblszr2yan7v2mmw3g7hy6miq5hwq"; })
(fetchNuGet { pname = "System.Reflection.Metadata"; version = "1.6.0"; sha256 = "1wdbavrrkajy7qbdblpbpbalbdl48q3h34cchz24gvdgyrlf15r4"; }) (fetchNuGet { pname = "System.Reflection.Metadata"; version = "1.6.0"; sha256 = "1wdbavrrkajy7qbdblpbpbalbdl48q3h34cchz24gvdgyrlf15r4"; })
(fetchNuGet { pname = "System.Reflection.Metadata"; version = "6.0.1"; sha256 = "0fjqifk4qz9lw5gcadpfalpplyr0z2b3p9x7h0ll481a9sqvppc9"; }) (fetchNuGet { pname = "System.Reflection.Metadata"; version = "7.0.0"; sha256 = "1wilasn2qmj870h2bhw348lspamm7pbinpb4m89icg113510l00v"; })
(fetchNuGet { pname = "System.Reflection.Primitives"; version = "4.0.1"; sha256 = "1bangaabhsl4k9fg8khn83wm6yial8ik1sza7401621jc6jrym28"; }) (fetchNuGet { pname = "System.Reflection.Primitives"; version = "4.0.1"; sha256 = "1bangaabhsl4k9fg8khn83wm6yial8ik1sza7401621jc6jrym28"; })
(fetchNuGet { pname = "System.Reflection.Primitives"; version = "4.3.0"; sha256 = "04xqa33bld78yv5r93a8n76shvc8wwcdgr1qvvjh959g3rc31276"; }) (fetchNuGet { pname = "System.Reflection.Primitives"; version = "4.3.0"; sha256 = "04xqa33bld78yv5r93a8n76shvc8wwcdgr1qvvjh959g3rc31276"; })
(fetchNuGet { pname = "System.Reflection.TypeExtensions"; version = "4.1.0"; sha256 = "1bjli8a7sc7jlxqgcagl9nh8axzfl11f4ld3rjqsyxc516iijij7"; }) (fetchNuGet { pname = "System.Reflection.TypeExtensions"; version = "4.1.0"; sha256 = "1bjli8a7sc7jlxqgcagl9nh8axzfl11f4ld3rjqsyxc516iijij7"; })
@ -257,7 +257,7 @@
(fetchNuGet { pname = "System.Text.Encoding"; version = "4.0.11"; sha256 = "1dyqv0hijg265dwxg6l7aiv74102d6xjiwplh2ar1ly6xfaa4iiw"; }) (fetchNuGet { pname = "System.Text.Encoding"; version = "4.0.11"; sha256 = "1dyqv0hijg265dwxg6l7aiv74102d6xjiwplh2ar1ly6xfaa4iiw"; })
(fetchNuGet { pname = "System.Text.Encoding"; version = "4.3.0"; sha256 = "1f04lkir4iladpp51sdgmis9dj4y8v08cka0mbmsy0frc9a4gjqr"; }) (fetchNuGet { pname = "System.Text.Encoding"; version = "4.3.0"; sha256 = "1f04lkir4iladpp51sdgmis9dj4y8v08cka0mbmsy0frc9a4gjqr"; })
(fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "4.5.1"; sha256 = "1z21qyfs6sg76rp68qdx0c9iy57naan89pg7p6i3qpj8kyzn921w"; }) (fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "4.5.1"; sha256 = "1z21qyfs6sg76rp68qdx0c9iy57naan89pg7p6i3qpj8kyzn921w"; })
(fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "6.0.0"; sha256 = "0gm2kiz2ndm9xyzxgi0jhazgwslcs427waxgfa30m7yqll1kcrww"; }) (fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "7.0.0"; sha256 = "0sn6hxdjm7bw3xgsmg041ccchsa4sp02aa27cislw3x61dbr68kq"; })
(fetchNuGet { pname = "System.Text.Encoding.Extensions"; version = "4.0.11"; sha256 = "08nsfrpiwsg9x5ml4xyl3zyvjfdi4mvbqf93kjdh11j4fwkznizs"; }) (fetchNuGet { pname = "System.Text.Encoding.Extensions"; version = "4.0.11"; sha256 = "08nsfrpiwsg9x5ml4xyl3zyvjfdi4mvbqf93kjdh11j4fwkznizs"; })
(fetchNuGet { pname = "System.Text.Encodings.Web"; version = "4.7.2"; sha256 = "0ap286ykazrl42if59bxhzv81safdfrrmfqr3112siwyajx4wih9"; }) (fetchNuGet { pname = "System.Text.Encodings.Web"; version = "4.7.2"; sha256 = "0ap286ykazrl42if59bxhzv81safdfrrmfqr3112siwyajx4wih9"; })
(fetchNuGet { pname = "System.Text.Encodings.Web"; version = "6.0.0"; sha256 = "06n9ql3fmhpjl32g3492sj181zjml5dlcc5l76xq2h38c4f87sai"; }) (fetchNuGet { pname = "System.Text.Encodings.Web"; version = "6.0.0"; sha256 = "06n9ql3fmhpjl32g3492sj181zjml5dlcc5l76xq2h38c4f87sai"; })

View file

@ -26,12 +26,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tuba"; pname = "tuba";
version = "0.4.0"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GeopJr"; owner = "GeopJr";
repo = "Tuba"; repo = "Tuba";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-sLdkSIevz2spL+Q5sS+ugqEbqJTXrLxmszzijtKvY6k="; hash = "sha256-1XbgsdIcnlXJtNEzDgEfHVJHF9naz3HplCPc2cKFUWw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "clusterctl"; pname = "clusterctl";
version = "1.4.4"; version = "1.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes-sigs"; owner = "kubernetes-sigs";
repo = "cluster-api"; repo = "cluster-api";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-ohk3CKcB6LD1gRKDDNYK+MbFxWa7QEiqmRYYpSkwj8E="; hash = "sha256-rbKPI5hG7R6mRILuvY9BoRDvosw3txFs2q696abrpjY=";
}; };
vendorHash = "sha256-QzD0Stbr8QuQ8n9l9qv16KFqSFBsRbxETmQ8LHdk3nI="; vendorHash = "sha256-t494o9orCVva81v7t0HfKkL8H3cr26scyFSeYZQyqcM=";
subPackages = [ "cmd/clusterctl" ]; subPackages = [ "cmd/clusterctl" ];
@ -43,6 +43,6 @@ buildGoModule rec {
description = "Kubernetes cluster API tool"; description = "Kubernetes cluster API tool";
homepage = "https://cluster-api.sigs.k8s.io/"; homepage = "https://cluster-api.sigs.k8s.io/";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ zowoq qjoly ]; maintainers = with maintainers; [ qjoly ];
}; };
} }

View file

@ -2,7 +2,7 @@
(callPackage ./generic.nix { }) { (callPackage ./generic.nix { }) {
channel = "edge"; channel = "edge";
version = "23.7.2"; version = "23.8.1";
sha256 = "0wc829dzk0in0srq0vbcagrd5ylz2d758032anzlzkf4m3lr9hdw"; sha256 = "0ajcxfqbaimrj8ylbk3s2djv2jpczm4c6z39b4fdak68sylmvb9z";
vendorSha256 = "sha256-16j5B96UDZITY1LEWZKtfAnww7ZcUjKh/cARLaYy9wk="; vendorSha256 = "sha256-sj3KJLPO4pxnGov2Oiqj1FgAQ2atf3FJPINmeKjPUZQ=";
} }

View file

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gnmic"; pname = "gnmic";
version = "0.31.3"; version = "0.31.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openconfig"; owner = "openconfig";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-+TxOl+at/SQIC1x/LwCgk4JmvOPY2el7HE1reAkmVn8="; hash = "sha256-bX8oZk0psPqoXFU8b2JQmfFaPz18yiuSVXDmhoOnpFg=";
}; };
vendorHash = "sha256-4cmFoDMgD9TKacZ2RD73kQKDrpN5xuSKZ4ikcWAd5Rw="; vendorHash = "sha256-hIG3kG2e9Y2hnHJ+96cPLgnlp5ParsLgWQY0HZTDggY=";
ldflags = [ ldflags = [
"-s" "-w" "-s" "-w"

View file

@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "kubo"; pname = "kubo";
version = "0.20.0"; # When updating, also check if the repo version changed and adjust repoVersion below version = "0.21.0"; # When updating, also check if the repo version changed and adjust repoVersion below
rev = "v${version}"; rev = "v${version}";
passthru.repoVersion = "13"; # Also update kubo-migrator when changing the repo version passthru.repoVersion = "14"; # Also update kubo-migrator when changing the repo version
# Kubo makes changes to it's source tarball that don't match the git source. # Kubo makes changes to it's source tarball that don't match the git source.
src = fetchurl { src = fetchurl {
url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz"; url = "https://github.com/ipfs/kubo/releases/download/${rev}/kubo-source.tar.gz";
hash = "sha256-3Oj/x3EkceNO8/Ik7+U43wi1aL0lYJi1FA0AjtdJRDI="; hash = "sha256-tS7hiv7KnALR+hCn/TPUwqp/xIOLnQ3ReSb1bNBnwUY=";
}; };
# tarball contains multiple files/directories # tarball contains multiple files/directories

View file

@ -1,31 +1,47 @@
{ lib, stdenv, fetchurl, cmake }: { lib
, stdenv
, bzip2
, cmake
, fetchurl
, fftw
, llvmPackages
, zlib
}:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "cmtk"; pname = "cmtk";
version = "3.3.1"; version = "3.3.2";
src = fetchurl { src = fetchurl {
name = "cmtk-source.tar.gz"; name = "cmtk-source.tar.gz";
url = "https://www.nitrc.org/frs/download.php/8198/CMTK-${version}-Source.tar.gz//?i_agree=1&download_now=1"; url = "https://www.nitrc.org/frs/download.php/13188/CMTK-${finalAttrs.version}-Source.tar.gz//?i_agree=1&download_now=1";
sha256 = "1nmsga9m7vcc4y4a6zl53ra3mwlgjwdgsq1j291awkn7zr1az6qs"; hash = "sha256-iE164NCOSOypZLLZfZy9RTyrS+YnY9ECqfb4QhlsMS4=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [
bzip2
fftw
zlib
] ++ lib.optionals stdenv.cc.isClang [
llvmPackages.openmp
];
env.NIX_CFLAGS_COMPILE = toString [ env.NIX_CFLAGS_COMPILE = toString [
"-std=c++11" (lib.optionalString stdenv.cc.isGNU "-std=c++11")
(lib.optional stdenv.cc.isClang "-Wno-error=c++11-narrowing") (lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing")
(lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite")
]; ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; description = "Computational Morphometry Toolkit";
description = "Computational Morphometry Toolkit ";
longDescription = ''A software toolkit for computational morphometry of longDescription = ''A software toolkit for computational morphometry of
biomedical images, CMTK comprises a set of command line tools and a biomedical images, CMTK comprises a set of command line tools and a
back-end general-purpose library for processing and I/O''; back-end general-purpose library for processing and I/O'';
maintainers = with maintainers; [ tbenst ]; maintainers = with maintainers; [ tbenst ];
platforms = platforms.all; platforms = platforms.all;
license = licenses.gpl3; license = licenses.gpl3Plus;
homepage = "https://www.nitrc.org/projects/cmtk/"; homepage = "https://www.nitrc.org/projects/cmtk/";
}; };
} })

View file

@ -19,13 +19,13 @@
, openssl , openssl
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "github-desktop"; pname = "github-desktop";
version = "3.2.1"; version = "3.2.5";
src = fetchurl { src = fetchurl {
url = "https://github.com/shiftkey/desktop/releases/download/release-${version}-linux1/GitHubDesktop-linux-${version}-linux1.deb"; url = "https://github.com/shiftkey/desktop/releases/download/release-${finalAttrs.version}-linux1/GitHubDesktop-linux-${finalAttrs.version}-linux1.deb";
hash = "sha256-OdvebRvOTyadgNjzrv6CGDPkljfpo4RVvVAc+X9hjSo="; hash = "sha256-p+qr9/aEQcfkKArC3oTyIijHkaNzLum3xXeSnNexgbU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -50,16 +50,16 @@ stdenv.mkDerivation rec {
]; ];
unpackPhase = '' unpackPhase = ''
mkdir -p $TMP/${pname} $out/{opt,bin} mkdir -p $TMP/${finalAttrs.pname} $out/{opt,bin}
cp $src $TMP/${pname}.deb cp $src $TMP/${finalAttrs.pname}.deb
ar vx ${pname}.deb ar vx ${finalAttrs.pname}.deb
tar --no-overwrite-dir -xvf data.tar.xz -C $TMP/${pname}/ tar --no-overwrite-dir -xvf data.tar.xz -C $TMP/${finalAttrs.pname}/
''; '';
installPhase = '' installPhase = ''
cp -R $TMP/${pname}/usr/share $out/ cp -R $TMP/${finalAttrs.pname}/usr/share $out/
cp -R $TMP/${pname}/usr/lib/${pname}/* $out/opt/ cp -R $TMP/${finalAttrs.pname}/usr/lib/${finalAttrs.pname}/* $out/opt/
ln -sf $out/opt/${pname} $out/bin/${pname} ln -sf $out/opt/${finalAttrs.pname} $out/bin/${finalAttrs.pname}
''; '';
preFixup = '' preFixup = ''
@ -72,12 +72,12 @@ stdenv.mkDerivation rec {
(lib.getLib systemd) (lib.getLib systemd)
]; ];
meta = with lib; { meta = {
description = "GUI for managing Git and GitHub."; description = "GUI for managing Git and GitHub.";
homepage = "https://desktop.github.com/"; homepage = "https://desktop.github.com/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ dan4ik605743 ]; maintainers = with lib.maintainers; [ dan4ik605743 ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} })

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "advanced-scene-switcher"; pname = "advanced-scene-switcher";
version = "1.22.1"; version = "1.23.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WarmUpTill"; owner = "WarmUpTill";
repo = "SceneSwitcher"; repo = "SceneSwitcher";
rev = version; rev = version;
hash = "sha256-SV5hnTIRJ6ZruA5t/G6zRAC/+oalTABor3h66eF+KHM="; hash = "sha256-X1qeMNTC2Hsl3Yh3E7PYVWAMGjGylF/EBkgW4WrtH40=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View file

@ -60,7 +60,7 @@ in stdenvNoCC.mkDerivation {
${optionalString (local_manifests != []) '' ${optionalString (local_manifests != []) ''
mkdir .repo/local_manifests mkdir .repo/local_manifests
for local_manifest in ${concatMapStringsSep " " toString local_manifests}; do for local_manifest in ${concatMapStringsSep " " toString local_manifests}; do
cp $local_manifest .repo/local_manifests/$(stripHash $local_manifest; echo $strippedName) cp $local_manifest .repo/local_manifests/$(stripHash $local_manifest)
done done
''} ''}

View file

@ -35,13 +35,13 @@ rec {
}: }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
inherit pname; inherit pname;
version = "23.7.1"; version = "23.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "notofonts"; owner = "notofonts";
repo = "notofonts.github.io"; repo = "notofonts.github.io";
rev = "noto-monthly-release-${version}"; rev = "noto-monthly-release-${version}";
hash = "sha256-+P0mQ3PaGGPGK3SFPtCe7wrjMgOgZeRpkEQulLeu/zs="; hash = "sha256-TYCJzioZcNFV8N5wLr7Fo69g/p5GQF/tbGgYoLUV7Us=";
}; };
_variants = map (variant: builtins.replaceStrings [ " " ] [ "" ] variant) variants; _variants = map (variant: builtins.replaceStrings [ " " ] [ "" ] variant) variants;

View file

@ -5,13 +5,13 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "assemblyscript"; pname = "assemblyscript";
version = "0.27.6"; version = "0.27.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AssemblyScript"; owner = "AssemblyScript";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-jN8P3EL3giDIZSExkjm5ZUwgkN3EIQhVpMqfx273yZU="; sha256 = "sha256-EwpIUD9+IjJlWOnUEXgvx60i59ftQyHcPTQVWVoOGNQ=";
}; };
npmDepsHash = "sha256-9ILa1qY2GpP2RckcZYcCMmgCwdXIImOm+D8nldeoQL8="; npmDepsHash = "sha256-9ILa1qY2GpP2RckcZYcCMmgCwdXIImOm+D8nldeoQL8=";

View file

@ -17,7 +17,8 @@
, libxml2 , libxml2
, libyaml , libyaml
, libffi , libffi
, llvmPackages , llvmPackages_13
, llvmPackages_15
, makeWrapper , makeWrapper
, openssl , openssl
, pcre2 , pcre2
@ -53,28 +54,29 @@ let
"https://github.com/crystal-lang/crystal/releases/download/${version}/crystal-${version}-${toString rel}-${arch}.tar.gz"; "https://github.com/crystal-lang/crystal/releases/download/${version}/crystal-${version}-${toString rel}-${arch}.tar.gz";
genericBinary = { version, sha256s, rel ? 1 }: genericBinary = { version, sha256s, rel ? 1 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "crystal-binary"; pname = "crystal-binary";
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = binaryUrl version rel; url = binaryUrl version rel;
sha256 = sha256s.${stdenv.system}; sha256 = sha256s.${stdenv.system};
};
buildCommand = ''
mkdir -p $out
tar --strip-components=1 -C $out -xf ${src}
patchShebangs $out/bin/crystal
'';
meta.platforms = lib.attrNames sha256s;
}; };
generic = ( buildCommand = ''
mkdir -p $out
tar --strip-components=1 -C $out -xf ${src}
patchShebangs $out/bin/crystal
'';
meta.platforms = lib.attrNames sha256s;
};
generic =
{ version { version
, sha256 , sha256
, binary , binary
, llvmPackages
, doCheck ? true , doCheck ? true
, extraBuildInputs ? [ ] , extraBuildInputs ? [ ]
, buildFlags ? [ "all" "docs" "release=1"] , buildFlags ? [ "all" "docs" "release=1"]
@ -244,9 +246,7 @@ let
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ david50407 manveru peterhoeg donovanglover ]; maintainers = with maintainers; [ david50407 manveru peterhoeg donovanglover ];
}; };
}) });
);
in in
rec { rec {
binaryCrystal_1_2 = genericBinary { binaryCrystal_1_2 = genericBinary {
@ -263,6 +263,7 @@ rec {
version = "1.2.2"; version = "1.2.2";
sha256 = "sha256-nyOXhsutVBRdtJlJHe2dALl//BUXD1JeeQPgHU4SwiU="; sha256 = "sha256-nyOXhsutVBRdtJlJHe2dALl//BUXD1JeeQPgHU4SwiU=";
binary = binaryCrystal_1_2; binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_13;
extraBuildInputs = [ libatomic_ops ]; extraBuildInputs = [ libatomic_ops ];
}; };
@ -270,18 +271,21 @@ rec {
version = "1.7.3"; version = "1.7.3";
sha256 = "sha256-ULhLGHRIZbsKhaMvNhc+W74BwNgfEjHcMnVNApWY+EE="; sha256 = "sha256-ULhLGHRIZbsKhaMvNhc+W74BwNgfEjHcMnVNApWY+EE=";
binary = binaryCrystal_1_2; binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_13;
}; };
crystal_1_8 = generic { crystal_1_8 = generic {
version = "1.8.2"; version = "1.8.2";
sha256 = "sha256-YAORdipzpC9CrFgZUFlFfjzlJQ6ZeA2ekVu8IfPOxR8="; sha256 = "sha256-YAORdipzpC9CrFgZUFlFfjzlJQ6ZeA2ekVu8IfPOxR8=";
binary = binaryCrystal_1_2; binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_15;
}; };
crystal_1_9 = generic { crystal_1_9 = generic {
version = "1.9.2"; version = "1.9.2";
sha256 = "sha256-M1oUFs7/8ljszga3StzLOLM1aA4fSfVPQlsbuDHGd84="; sha256 = "sha256-M1oUFs7/8ljszga3StzLOLM1aA4fSfVPQlsbuDHGd84=";
binary = binaryCrystal_1_2; binary = binaryCrystal_1_2;
llvmPackages = llvmPackages_15;
}; };
crystal = crystal_1_9; crystal = crystal_1_9;

View file

@ -5,7 +5,6 @@
, libuuid , libuuid
, python3 , python3
, bc , bc
, llvmPackages_9
, lib , lib
, buildPackages , buildPackages
}: }:
@ -24,17 +23,12 @@ else if stdenv.isAarch64 then
else else
throw "Unsupported architecture"; throw "Unsupported architecture";
buildStdenv = if stdenv.isDarwin then
llvmPackages_9.stdenv
else
stdenv;
buildType = if stdenv.isDarwin then buildType = if stdenv.isDarwin then
"CLANGPDB" "CLANGPDB"
else else
"GCC5"; "GCC5";
edk2 = buildStdenv.mkDerivation { edk2 = stdenv.mkDerivation {
pname = "edk2"; pname = "edk2";
version = "202305"; version = "202305";
@ -42,7 +36,7 @@ edk2 = buildStdenv.mkDerivation {
# pass targetPrefix as an env var # pass targetPrefix as an env var
(fetchpatch { (fetchpatch {
url = "https://src.fedoraproject.org/rpms/edk2/raw/08f2354cd280b4ce5a7888aa85cf520e042955c3/f/0021-Tweak-the-tools_def-to-support-cross-compiling.patch"; url = "https://src.fedoraproject.org/rpms/edk2/raw/08f2354cd280b4ce5a7888aa85cf520e042955c3/f/0021-Tweak-the-tools_def-to-support-cross-compiling.patch";
sha256 = "sha256-E1/fiFNVx0aB1kOej2DJ2DlBIs9tAAcxoedym2Zhjxw="; hash = "sha256-E1/fiFNVx0aB1kOej2DJ2DlBIs9tAAcxoedym2Zhjxw=";
}) })
]; ];
@ -62,8 +56,7 @@ edk2 = buildStdenv.mkDerivation {
# trick taken from https://src.fedoraproject.org/rpms/edk2/blob/08f2354cd280b4ce5a7888aa85cf520e042955c3/f/edk2.spec#_319 # trick taken from https://src.fedoraproject.org/rpms/edk2/blob/08f2354cd280b4ce5a7888aa85cf520e042955c3/f/edk2.spec#_319
${"GCC5_${targetArch}_PREFIX"}=stdenv.cc.targetPrefix; ${"GCC5_${targetArch}_PREFIX"}=stdenv.cc.targetPrefix;
makeFlags = [ "-C BaseTools" ] makeFlags = [ "-C BaseTools" ];
++ lib.optionals (stdenv.cc.isClang) [ "CXX=llvm BUILD_AR=ar BUILD_CC=clang BUILD_CXX=clang++ BUILD_AS=clang BUILD_LD=ld" ];
env.NIX_CFLAGS_COMPILE = "-Wno-return-type" + lib.optionalString (stdenv.cc.isGNU) " -Wno-error=stringop-truncation"; env.NIX_CFLAGS_COMPILE = "-Wno-return-type" + lib.optionalString (stdenv.cc.isGNU) " -Wno-error=stringop-truncation";
@ -89,7 +82,7 @@ edk2 = buildStdenv.mkDerivation {
}; };
passthru = { passthru = {
mkDerivation = projectDscPath: attrsOrFun: buildStdenv.mkDerivation (finalAttrs: mkDerivation = projectDscPath: attrsOrFun: stdenv.mkDerivation (finalAttrs:
let let
attrs = lib.toFunction attrsOrFun finalAttrs; attrs = lib.toFunction attrsOrFun finalAttrs;
in in

View file

@ -19,17 +19,23 @@ stdenv.mkDerivation rec {
hash = "sha256-jJKA5JEHsmqQ/IKb1aNmOtoVaGKNjcgTKyo5VCiJbXM="; hash = "sha256-jJKA5JEHsmqQ/IKb1aNmOtoVaGKNjcgTKyo5VCiJbXM=";
}; };
strictDeps = true;
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook autoreconfHook
guile
pkg-config pkg-config
texinfo # for makeinfo
]; ];
buildInputs = [ buildInputs = [
guile guile
libevent libevent
texinfo
]; ];
autoreconfPhase = "./autogen.sh"; makeFlags = [
"GUILE_AUTO_COMPILE=0"
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/wingo/fibers"; homepage = "https://github.com/wingo/fibers";

View file

@ -1,25 +1,33 @@
{ lib, stdenv, fetchFromGitHub, cmake }: { lib
, stdenv
, fetchFromGitHub
, cmake
, fixDarwinDylibNames
}:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
version = "3.4.3"; version = "3.4.3";
pname = "LASzip"; pname = "LASzip";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LASzip"; owner = "LASzip";
repo = "LASzip"; repo = "LASzip";
rev = version; rev = finalAttrs.version;
sha256 = "09lcsgxwv0jq50fhsgfhx0npbf1zcwn3hbnq6q78fshqksbxmz7m"; hash = "sha256-9fzal54YaocONtguOCxnP7h1LejQPQ0dKFiCzfvTjCY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
] ++ lib.optionals stdenv.isDarwin [
fixDarwinDylibNames
]; ];
meta = { meta = {
description = "Turn quickly bulky LAS files into compact LAZ files without information loss"; description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
homepage = "https://laszip.org"; homepage = "https://laszip.org";
changelog = "https://github.com/LASzip/LASzip/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.lgpl2; license = lib.licenses.lgpl2;
maintainers = [ lib.maintainers.michelk ]; maintainers = [ lib.maintainers.michelk ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
} })

View file

@ -4,13 +4,13 @@ let
soVersion = "5"; soVersion = "5";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "liblinear"; pname = "liblinear";
version = "2.46"; version = "2.47";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cjlin1"; owner = "cjlin1";
repo = "liblinear"; repo = "liblinear";
rev = "v${builtins.replaceStrings ["."] [""] version}"; rev = "v${builtins.replaceStrings ["."] [""] version}";
sha256 = "sha256-mKd6idfr6mIIDEie8DCS+drtfpgKoS/5UXI0JenTxlA="; sha256 = "sha256-so7uCc/52NdN0V2Ska8EUdw/wSegaudX5AF+c0xe5jk=";
}; };
makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" ]; makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" "RANLIB=${stdenv.cc.targetPrefix}ranlib" ];

View file

@ -1,6 +1,6 @@
{ callPackage }: { callPackage }:
callPackage ./generic.nix { callPackage ./generic.nix {
version = "2.28.3"; version = "2.28.4";
hash = "sha256-w5bJErCNRZLE8rHcuZlK3bOqel97gPPMKH2cPGUR6Zw="; hash = "sha256-88Lnj9NgS5PWg2hydvb9cwi6s6BG3UMvkUH2Ny1jmtE=";
} }

View file

@ -1,6 +1,6 @@
{ callPackage }: { callPackage }:
callPackage ./generic.nix { callPackage ./generic.nix {
version = "3.4.0"; version = "3.4.1";
hash = "sha256-1YA4hp/VEjph5k0qJqhhH4nBbTP3Qu2pl7WpuvPkVfg="; hash = "sha256-NIjyRcVbg6lT6+RlTz5Jt6V9T85mvta5grOSLIAK9Ts=";
} }

View file

@ -42,6 +42,12 @@ stdenv.mkDerivation rec {
"-DGEN_FILES=off" "-DGEN_FILES=off"
]; ];
doCheck = true;
# Parallel checking causes test failures
# https://github.com/Mbed-TLS/mbedtls/issues/4980
enableParallelChecking = false;
meta = with lib; { meta = with lib; {
homepage = "https://www.trustedfirmware.org/projects/mbed-tls/"; homepage = "https://www.trustedfirmware.org/projects/mbed-tls/";
changelog = "https://github.com/Mbed-TLS/mbedtls/blob/${pname}-${version}/ChangeLog"; changelog = "https://github.com/Mbed-TLS/mbedtls/blob/${pname}-${version}/ChangeLog";

View file

@ -3,21 +3,22 @@
, fetchPypi , fetchPypi
, poetry-core , poetry-core
, pythonOlder , pythonOlder
, requests
, aiohttp , aiohttp
, backoff , backoff
, importlib-metadata
, requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cohere"; pname = "cohere";
version = "4.9.0"; version = "4.16.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-4d89x+Pg5HZSUyxryH6OuMMGiMfeHXQX5Wy0XS++obY="; hash = "sha256-i6kbjugulAcmmInFb+rH4WB50dM7SDO1HNW/JgD4OTQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -25,9 +26,10 @@ buildPythonPackage rec {
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
requests
aiohttp aiohttp
backoff backoff
importlib-metadata
requests
]; ];
# tests require CO_API_KEY # tests require CO_API_KEY

View file

@ -0,0 +1,43 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchPypi
, pillow
, poetry-core
, requests
, rich
}:
buildPythonPackage rec {
pname = "getjump";
version = "2.4.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-gu6h9Yb0xdfvdmoeZGQPFCJhBJxuQ4iWlQquig1ljnY=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
beautifulsoup4
pillow
requests
rich
];
pythonImportsCheck = [
"getjump"
];
meta = with lib; {
description = "Get and save images from jump web viewer";
homepage = "https://github.com/eggplants/getjump";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
mainProgram = "jget";
};
}

View file

@ -80,7 +80,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain"; pname = "langchain";
version = "0.0.240"; version = "0.0.247";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -89,7 +89,7 @@ buildPythonPackage rec {
owner = "hwchase17"; owner = "hwchase17";
repo = "langchain"; repo = "langchain";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-7UwAdOzEgu3K/Gfq8D/GHNGxD6KhSx0xGMxtmpdnYxQ="; hash = "sha256-Eq9jXfVJuoiNWkJanol/tqQU+kOrftMii90743DeI3Y=";
}; };
sourceRoot = "source/libs/langchain"; sourceRoot = "source/libs/langchain";

View file

@ -3,28 +3,33 @@
, fetchPypi , fetchPypi
, numpy , numpy
, laszip , laszip
, setuptools
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "laspy"; pname = "laspy";
version = "2.4.1"; version = "2.5.1";
format = "setuptools"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-E8rsxzJcsiQsslOUmE0hs7X3lsiLy0S8LtLTzxuXKsQ="; hash = "sha256-uqPJxswVVjbxYRSREfnPwkPb0U9synKclLNWsxxmjy4=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
laszip laszip
]; ];
checkInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
]; ];
@ -36,7 +41,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Interface for reading/modifying/creating .LAS LIDAR files"; description = "Interface for reading/modifying/creating .LAS LIDAR files";
homepage = "https://github.com/laspy/laspy"; homepage = "https://github.com/laspy/laspy";
changelog = "https://github.com/laspy/laspy/blob/2.4.1/CHANGELOG.md"; changelog = "https://github.com/laspy/laspy/blob/${version}/CHANGELOG.md";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ]; maintainers = with maintainers; [ matthewcroughan ];
}; };

View file

@ -1,48 +1,44 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, scikit-build-core , scikit-build-core
, distlib
, pytestCheckHook
, pyproject-metadata
, pathspec
, pybind11 , pybind11
, cmake , cmake
, LASzip , LASzip
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "laszip-python"; pname = "laszip-python";
version = "0.2.1"; version = "0.2.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tmontaigu"; owner = "tmontaigu";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ujKoUm2Btu25T7ZrSGqjRc3NR1qqsQU8OwHQDSx8grY="; hash = "sha256-MiPzL9TDCf1xnCv7apwdfcpkFnBRi4PO/atTQxqL8cw=";
}; };
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c++17";
nativeBuildInputs = [ nativeBuildInputs = [
cmake
pybind11
scikit-build-core scikit-build-core
scikit-build-core.optional-dependencies.pyproject scikit-build-core.optional-dependencies.pyproject
cmake
]; ];
dontUseCmakeConfigure = true;
buildInputs = [ buildInputs = [
pybind11
LASzip LASzip
]; ];
checkInputs = [
pytestCheckHook
];
preBuild = ''
cd ..
'';
# There are no tests # There are no tests
doCheck = false; doCheck = false;
@ -51,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Unofficial bindings between Python and LASzip made using pybind11"; description = "Unofficial bindings between Python and LASzip made using pybind11";
homepage = "https://github.com/tmontaigu/laszip-python"; homepage = "https://github.com/tmontaigu/laszip-python";
changelog = "https://github.com/tmontaigu/laszip-python/blob/${src.rev}/Changelog.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ]; maintainers = with maintainers; [ matthewcroughan ];
}; };

View file

@ -1,19 +1,27 @@
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, python, isPy27 { lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, mpv , mpv
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "mpv"; pname = "mpv";
version = "1.0.1"; version = "1.0.4";
disabled = isPy27; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jaseg"; owner = "jaseg";
repo = "python-mpv"; repo = "python-mpv";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-UCJ1PknnWQiFciTEMxTUqDzz0Z8HEWycLuQqYeyQhoM="; hash = "sha256-qP5Biw4sTLioAhmMZX+Pemue2PWc3N7afAe38dwJv3U=";
}; };
nativeBuildInputs = [
setuptools
];
buildInputs = [ mpv ]; buildInputs = [ mpv ];
postPatch = '' postPatch = ''
@ -30,5 +38,6 @@ buildPythonPackage rec {
description = "A python interface to the mpv media player"; description = "A python interface to the mpv media player";
homepage = "https://github.com/jaseg/python-mpv"; homepage = "https://github.com/jaseg/python-mpv";
license = licenses.agpl3Plus; license = licenses.agpl3Plus;
maintainers = with maintainers; [ onny ];
}; };
} }

View file

@ -0,0 +1,71 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, numpy
, pykwalify
, pywavelets
, setuptools
, simpleitk
, six
, versioneer
}:
buildPythonPackage rec {
pname = "pyradiomics";
version = "3.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "AIM-Harvard";
repo = "pyradiomics";
rev = "refs/tags/v${version}";
hash = "sha256-/qFNN63Bbq4DUZDPmwUGj1z5pY3ujsbqFJpVXbO+b8E=";
name = "pyradiomics";
};
nativeBuildInputs = [ setuptools versioneer ];
propagatedBuildInputs = [
numpy
pykwalify
pywavelets
simpleitk
six
];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
rm -rf radiomics
'';
# tries to access network at collection time:
disabledTestPaths = [ "tests/test_wavelet.py" ];
# various urllib download errors and (probably related) missing feature errors:
disabledTests = [
"brain1_shape2D-original_shape2D"
"brain2_shape2D-original_shape2D"
"breast1_shape2D-original_shape2D"
"lung1_shape2D-original_shape2D"
"lung2_shape2D-original_shape2D"
];
# note the above elements of disabledTests are patterns, not exact tests,
# so simply setting `disabledTests` does not suffice:
pytestFlagsArray = [
"-k '${toString (lib.intersperse "and" (lib.forEach disabledTests (t: "not ${t}")))}'"
];
pythonImportsCheck = [
"radiomics"
];
meta = with lib; {
homepage = "https://pyradiomics.readthedocs.io";
description = "Extraction of Radiomics features from 2D and 3D images and binary masks";
changelog = "https://github.com/AIM-Harvard/pyradiomics/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ];
};
}

View file

@ -1,38 +1,43 @@
{ lib { lib
, stdenv
, altair , altair
, blinker , blinker
, buildPythonApplication , buildPythonPackage
, cachetools , cachetools
, click , click
, fetchPypi , fetchPypi
, gitpython , gitpython
, importlib-metadata , importlib-metadata
, jinja2 , numpy
, packaging
, pandas
, pillow , pillow
, protobuf3 , protobuf3
, pyarrow , pyarrow
, pydeck , pydeck
, pympler , pympler
, python-dateutil
, pythonOlder
, requests , requests
, rich , rich
, semver
, setuptools
, tenacity , tenacity
, toml , toml
, tornado , typing-extensions
, tzlocal , tzlocal
, validators , validators
, watchdog , watchdog
}: }:
buildPythonApplication rec { buildPythonPackage rec {
pname = "streamlit"; pname = "streamlit";
version = "1.24.0"; version = "1.24.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version format; inherit pname version format;
hash = "sha256-NSX6zpTHh5JzPFbWOja0iEUVDjume7UKGa20xZdagiU="; hash = "sha256-/V8LZHmOlwY2RAj7WJt3WVMUpjFdE7LXULljx66X82I=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -42,21 +47,23 @@ buildPythonApplication rec {
click click
gitpython gitpython
importlib-metadata importlib-metadata
jinja2 numpy
packaging
pandas
pillow pillow
protobuf3 protobuf3
pyarrow pyarrow
pydeck pydeck
pympler pympler
python-dateutil
requests requests
rich rich
semver
setuptools
tenacity tenacity
toml toml
tornado typing-extensions
tzlocal tzlocal
validators validators
] ++ lib.optionals (!stdenv.isDarwin) [
watchdog watchdog
]; ];
@ -75,7 +82,7 @@ buildPythonApplication rec {
homepage = "https://streamlit.io/"; homepage = "https://streamlit.io/";
changelog = "https://github.com/streamlit/streamlit/releases/tag/${version}"; changelog = "https://github.com/streamlit/streamlit/releases/tag/${version}";
description = "The fastest way to build custom ML tools"; description = "The fastest way to build custom ML tools";
maintainers = with maintainers; [ yrashk ]; maintainers = with maintainers; [ natsukium yrashk ];
license = licenses.asl20; license = licenses.asl20;
}; };
} }

View file

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "api-linter"; pname = "api-linter";
version = "1.55.0"; version = "1.55.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "googleapis"; owner = "googleapis";
repo = "api-linter"; repo = "api-linter";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-aywqb//fhygphjX3suVfqNIG0saPPnhgLPA/DBpSVQY="; hash = "sha256-OBx8zlxDLlPy6hfA8A9+F0bOglAzY81d9U7uCje0vyo=";
}; };
vendorHash = "sha256-oK1d9aQ43Zj+Xt4tMhn+Lz1Q09psqqdTUqbgEdkuBvg="; vendorHash = "sha256-x8mncoXVK7p6xxgaZL/Fv6dHgeOj2rWr55ovvk6zwQE=";
subPackages = [ "cmd/api-linter" ]; subPackages = [ "cmd/api-linter" ];
@ -23,7 +23,7 @@ buildGoModule rec {
"-w" "-w"
]; ];
# reference: https://github.com/googleapis/api-linter/blob/v1.55.0/.github/workflows/release.yaml#L76 # reference: https://github.com/googleapis/api-linter/blob/v1.55.2/.github/workflows/release.yaml#L76
preBuild = '' preBuild = ''
cat > cmd/api-linter/version.go <<EOF cat > cmd/api-linter/version.go <<EOF
package main package main

View file

@ -0,0 +1,59 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, sqlite
, zlib
, stdenv
, darwin
, python3
}:
rustPlatform.buildRustPackage rec {
pname = "prqlc";
version = "0.9.3";
src = fetchFromGitHub {
owner = "prql";
repo = "prql";
rev = version;
hash = "sha256-m5W7ddGlgxaQR+nCFygfLWU6QBDUOK9POPdR2H62j9Q=";
};
cargoHash = "sha256-7vjDWiod52fuAPHbB/UmqG9YZb8GvyZGMgdYr2qI+uM=";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs =
[
openssl
sqlite
zlib
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
];
env = {
PYO3_PYTHON = "${python3}/bin/python3";
};
# we are only interested in the prqlc binary
postInstall = ''
rm -r $out/bin/compile-files $out/bin/mdbook-prql $out/lib
'';
meta = with lib; {
description = "A CLI for the PRQL compiler - a simple, powerful, pipelined SQL replacement";
homepage = "https://github.com/prql/prql";
changelog = "https://github.com/prql/prql/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "vitess"; pname = "vitess";
version = "17.0.0"; version = "17.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vitessio"; owner = "vitessio";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-J/lvOP8MsHOWnq7kKRqIktME0ewtilkyOv8pD1wSnPc="; hash = "sha256-EvCH1NxsGQzkXv0i5WOZXG9jeile0IHyZAoINgBIwYs=";
}; };
vendorHash = "sha256-QcCgDOqKSI+NPCdQJY4v6qU31nLQPIF8fs2qkLOk+DU="; vendorHash = "sha256-0OrPbMG7ElOD+9/kWx1HtvGUBiFpIsNs5Vu7QofzE6Q=";
buildInputs = [ sqlite ]; buildInputs = [ sqlite ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "ddosify"; pname = "ddosify";
version = "1.0.4"; version = "1.0.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-QJbIKzEYZO/LoOHKwXMlIY6q646+FdHwhA3WcXNA+F8="; sha256 = "sha256-oCbEAEBZJsMnnVu2N6eiQiaywovWmGUSVpUyWyS7TpM=";
}; };
vendorHash = "sha256-cGhMhX+SEv9fejViLZrEwXg584o204OQ5iR6AkxKnXo="; vendorHash = "sha256-cGhMhX+SEv9fejViLZrEwXg584o204OQ5iR6AkxKnXo=";

View file

@ -8,12 +8,12 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "frink"; pname = "frink";
version = "2023-05-22"; version = "2023-07-31";
src = fetchurl { src = fetchurl {
# Upstream does not provide versioned download links # Upstream does not provide versioned download links
url = "https://web.archive.org/web/20230526123219/https://frinklang.org/frinkjar/frink.jar"; url = "https://web.archive.org/web/20230806114836/https://frinklang.org/frinkjar/frink.jar";
sha256 = "sha256-IgINJvt9G5f1HELKhV5BHIu9NoA8STDqNg/dVTFzK0Y="; sha256 = "sha256-u44g/pM4ie3NcBh6MZpN8+oWZLYz0LN5ozetee1iXNk=";
}; };
dontUnpack = true; dontUnpack = true;

View file

@ -4,13 +4,13 @@ let bins = [ "crane" "gcrane" ]; in
buildGoModule rec { buildGoModule rec {
pname = "go-containerregistry"; pname = "go-containerregistry";
version = "0.15.2"; version = "0.16.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Bva962laaHJAHwiQAMPtOBkwqce1ww+sBGkjV1TjrwQ="; sha256 = "sha256-uqTWeA449MhHFWJwyqJgLsQHvjfk46S1YA+Yss5muSk=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kubeswitch"; pname = "kubeswitch";
version = "0.7.2"; version = "0.8.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danielfoehrKn"; owner = "danielfoehrKn";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-p4/nYZt+OwNsFX9f9ySfQaz6gbz+8Mvt00W2Rs4dpCY="; sha256 = "sha256-7BQhkFvOgmLuzBEvAou8KANhxWna5KVokIF4DEIVU2g=";
}; };
vendorSha256 = null; vendorHash = null;
subPackages = [ "cmd/main.go" ]; subPackages = [ "cmd/main.go" ];

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "metals"; pname = "metals";
version = "0.11.12"; version = "1.0.0";
deps = stdenv.mkDerivation { deps = stdenv.mkDerivation {
name = "${pname}-deps-${version}"; name = "${pname}-deps-${version}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
''; '';
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHash = "sha256-3zYjjrd3Hc2T4vwnajiAMNfTDUprKJZnZp2waRLQjI4="; outputHash = "sha256-futBxdMEJN0UdDvlk5FLUUmcG7r7P7D81IhbC2oYn5s=";
}; };
nativeBuildInputs = [ makeWrapper setJavaClassPath ]; nativeBuildInputs = [ makeWrapper setJavaClassPath ];
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://scalameta.org/metals/"; homepage = "https://scalameta.org/metals/";
license = licenses.asl20; license = licenses.asl20;
description = "Work-in-progress language server for Scala"; description = "Language server for Scala";
maintainers = with maintainers; [ fabianhjr tomahna ]; maintainers = with maintainers; [ fabianhjr tomahna ];
}; };
} }

View file

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "act"; pname = "act";
version = "0.2.48"; version = "0.2.49";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nektos"; owner = "nektos";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-fEV7WiWoI0TGEAAG0HVRW42TEOlHbB91BZcn9h9G5c8="; hash = "sha256-dJt8XrcB1rYt6os3enLQz0YuqXNIqQTh85BIJdXwi2A=";
}; };
vendorHash = "sha256-r6eJl9KhOWPLqCqe3OTjUbENbZU/1NjOoxssaAh0g78="; vendorHash = "sha256-QPpwYec2Y0x/VOsiTWvObKrNWGGE7dj8Cl5eM2l8ibk=";
doCheck = false; doCheck = false;

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "terraform-ls"; pname = "terraform-ls";
version = "0.31.3"; version = "0.31.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-OzqJ/F3GeIaX4/z1KJdok8kUfualRzHv1AIM8dt8Kik="; hash = "sha256-0IP+83nGODSH/ELKsOA9ylm5fvREtRyiZASMNnwYIL4=";
}; };
vendorHash = "sha256-pEuen7CWniFzLgL1v+Xt1l6hde3YpyOMmQalj08UBX8="; vendorHash = "sha256-FDKprWyOltFy5WmXME/EfLuYRj92WuhgOV0VdWGanHg=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View file

@ -32,13 +32,13 @@ let
in in
mkDerivation rec { mkDerivation rec {
pname = "renderdoc"; pname = "renderdoc";
version = "1.27"; version = "1.28";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "baldurk"; owner = "baldurk";
repo = "renderdoc"; repo = "renderdoc";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-zkot9LbbZyzQ7CLSEVPsospAo9u7WR2VHjQdnpNiLR0="; sha256 = "sha256-a8f/lbNcsWdYAmhNnTelyYX5J/XhINHRfguRFXQa3uY=";
}; };
buildInputs = [ buildInputs = [

View file

@ -2,14 +2,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-hack"; pname = "cargo-hack";
version = "0.5.28"; version = "0.5.29";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
sha256 = "sha256-434imb66AINKeW50ITc4RRYO9v7sH3fs1DEwSBc3mys="; sha256 = "sha256-Z3UExZghVw7Pbgh5nHuiC8cFVefBE0yZ2k5laam8myY=";
}; };
cargoSha256 = "sha256-oDrpQskQV5hG9Ksp0TJcXjm/J9q/K831mOzxH+CXjfg="; cargoSha256 = "sha256-5X3MX2KV87mOcN/cL/lFU9K9/j04zn5C7teIXFqj7Wk=";
# some necessary files are absent in the crate version # some necessary files are absent in the crate version
doCheck = false; doCheck = false;

View file

@ -6,13 +6,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-llvm-cov"; pname = "cargo-llvm-cov";
version = "0.5.24"; version = "0.5.25";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
sha256 = "sha256-Woayb/SgSCHwYYYezQXsna9N0Jot0/iga+jrOhjsSvc="; sha256 = "sha256-4ctwvDLluJsLWJPInoFGqxmEzlEuBtEJb3/x+q/5pDA=";
}; };
cargoSha256 = "sha256-8rP/wtDFH7hL3jt/QpWqriRwxlm0E2QvIqbCLiN7ZiM="; cargoSha256 = "sha256-QghbQYfoCd+ppNz/g5NlCnrFYpsjesQlcgMCEKUgN2k=";
# skip tests which require llvm-tools-preview # skip tests which require llvm-tools-preview
checkFlags = [ checkFlags = [

View file

@ -16,13 +16,13 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wasmedge"; pname = "wasmedge";
version = "0.13.2"; version = "0.13.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "WasmEdge"; owner = "WasmEdge";
repo = "WasmEdge"; repo = "WasmEdge";
rev = finalAttrs.version; rev = finalAttrs.version;
sha256 = "sha256-AU+EfNC6Au93ajj8cMTbJDvJ5iWLtT5Law7l55Knxuk="; sha256 = "sha256-IZMYeuneKtcuvbEVgkF2C3gbxJe7GlXRNEYwpFxtiKA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -48,6 +48,12 @@ lib.makeScope
glibc = glibc22; glibc = glibc22;
}; };
findutils = callPackage ./findutils {
bash = bash_2_05;
gcc = gcc2;
glibc = glibc22;
};
gawk = callPackage ./gawk { gawk = callPackage ./gawk {
bash = bash_2_05; bash = bash_2_05;
tinycc = tinycc-mes; tinycc = tinycc-mes;
@ -141,6 +147,7 @@ lib.makeScope
echo ${binutils-mes.tests.get-version} echo ${binutils-mes.tests.get-version}
echo ${bzip2.tests.get-version} echo ${bzip2.tests.get-version}
echo ${diffutils.tests.get-version} echo ${diffutils.tests.get-version}
echo ${findutils.tests.get-version}
echo ${gawk.tests.get-version} echo ${gawk.tests.get-version}
echo ${gcc2.tests.get-version} echo ${gcc2.tests.get-version}
echo ${gcc2-mes.tests.get-version} echo ${gcc2-mes.tests.get-version}

View file

@ -0,0 +1,72 @@
{ lib
, buildPlatform
, hostPlatform
, fetchurl
, bash
, gcc
, glibc
, binutils
, linux-headers
, gnumake
, gnugrep
, gnused
, gawk
, gnutar
, gzip
}:
let
pname = "findutils";
version = "4.4.2";
src = fetchurl {
url = "mirror://gnu/findutils/findutils-${version}.tar.gz";
sha256 = "0amn0bbwqvsvvsh6drfwz20ydc2czk374lzw5kksbh6bf78k4ks3";
};
in
bash.runCommand "${pname}-${version}" {
inherit pname version;
nativeBuildInputs = [
gcc
binutils
gnumake
gnused
gnugrep
gawk
gnutar
gzip
];
passthru.tests.get-version = result:
bash.runCommand "${pname}-get-version-${version}" {} ''
${result}/bin/find --version
mkdir $out
'';
meta = with lib; {
description = "GNU Find Utilities, the basic directory searching utilities of the GNU operating system";
homepage = "https://www.gnu.org/software/findutils";
license = licenses.gpl3Plus;
maintainers = teams.minimal-bootstrap.members;
platforms = platforms.unix;
};
} ''
# Unpack
tar xzf ${src}
cd findutils-${version}
# Configure
export C_INCLUDE_PATH="${glibc}/include:${linux-headers}/include"
export LIBRARY_PATH="${glibc}/lib"
export LIBS="-lc -lnss_files -lnss_dns -lresolv"
bash ./configure \
--prefix=$out \
--build=${buildPlatform.config} \
--host=${hostPlatform.config}
# Build
make
# Install
make install
''

View file

@ -1,31 +1,31 @@
{ fetchurl, fetchzip }: { fetchurl, fetchzip }:
{ {
x86_64-darwin = fetchzip { x86_64-darwin = fetchzip {
sha256 = "sha256-7GoW0Re4NZa31mmNPto9fCVzKCl5ymUYQCwmDfuAnIc="; sha256 = "sha256-jIrzE1Je2dhMJuq3k8KL1VoHru5qaUAJCR3kumE9aO0=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_darwin_amd64.zip"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_darwin_amd64.zip";
}; };
aarch64-darwin = fetchzip { aarch64-darwin = fetchzip {
sha256 = "sha256-A3EGk+dsh1/m4rAWKNq6va75pA4OFLo9kSLb0b/1uZA="; sha256 = "sha256-9BgGGCP8n+5Op+S1/yT/kdMvmiNgKkkXLQmqF2plJZY=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_darwin_arm64.zip"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_darwin_arm64.zip";
}; };
i686-linux = fetchurl { i686-linux = fetchurl {
sha256 = "sha256-8OIxMXjCZEurxInuDRAzEZ/Vjn1ixzZRMqXiSKgx7GE="; sha256 = "sha256-yPxLYXtH4bwQk2M2VTS5aJWTJciNaeXRRAcMBHuvkcA=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_linux_386.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_linux_386.tar.gz";
}; };
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
sha256 = "sha256-japMeJETDPy0RaxJOs6dDktQfTZ1sLB4jotxLYZhxfc="; sha256 = "sha256-sG64t1x70uKk844dT1g9GzJ+DgHuv7sUEBaVqoEmWOw=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_linux_amd64.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_linux_amd64.tar.gz";
}; };
aarch64-linux = fetchurl { aarch64-linux = fetchurl {
sha256 = "sha256-E1MsoM3ZDaEPFLvXWt/+0hv8CVu2v9xlX0rvh4vmj6Y="; sha256 = "sha256-rUSfo1uJGbxx1n/VcLyq5zqiDo4g0caCpVcL2uZUSkE=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_linux_arm64.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_linux_arm64.tar.gz";
}; };
armv6l-linux = fetchurl { armv6l-linux = fetchurl {
sha256 = "sha256-LovoihsVGtDif7sSqS3CE3QXNv2v2aSLr/x9sq2j78E="; sha256 = "sha256-ruICFAGEMXDeLvoOxHg2oEaYDHkoGZI+SozDXmmD9VU=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_linux_armv6.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_linux_armv6.tar.gz";
}; };
armv7l-linux = fetchurl { armv7l-linux = fetchurl {
sha256 = "sha256-ArTTEWD0yYLRrX8jytkMtKWLbEfr90O4i73dMjA+sdE="; sha256 = "sha256-mTGufMIKkj2R7QuNWKSKMt9KdwlZe9ORtJK5hIaeH/E=";
url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.35/AdGuardHome_linux_armv7.tar.gz"; url = "https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.36/AdGuardHome_linux_armv7.tar.gz";
}; };
} }

View file

@ -7,7 +7,7 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "adguardhome"; pname = "adguardhome";
version = "0.107.35"; version = "0.107.36";
src = sources.${system} or (throw "Source for ${pname} is not available for ${system}"); src = sources.${system} or (throw "Source for ${pname} is not available for ${system}");
installPhase = '' installPhase = ''

View file

@ -2,18 +2,18 @@
buildGoModule rec { buildGoModule rec {
pname = "dolt"; pname = "dolt";
version = "1.8.4"; version = "1.8.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dolthub"; owner = "dolthub";
repo = "dolt"; repo = "dolt";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-vvtYhvfzuB/Yo/Oy6YedYVIvnOP7nM/4z/798i28v6U="; sha256 = "sha256-wsSSUd3i3PXEQfvpstcNXM9PK4K/Uw/xcT5Iu0vRKqQ=";
}; };
modRoot = "./go"; modRoot = "./go";
subPackages = [ "cmd/dolt" ]; subPackages = [ "cmd/dolt" ];
vendorHash = "sha256-qMK95buygi0c2rluoFlqmMko72x5kFFoUBPIohmkfNQ="; vendorHash = "sha256-bLqoitXf4O2WFkArkvm3IeeKU8XQpSIicWwDD4aOWrg=";
proxyVendor = true; proxyVendor = true;
doCheck = false; doCheck = false;

View file

@ -8,16 +8,16 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "zigbee2mqtt"; pname = "zigbee2mqtt";
version = "1.32.1"; version = "1.32.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Koenkk"; owner = "Koenkk";
repo = "zigbee2mqtt"; repo = "zigbee2mqtt";
rev = version; rev = version;
hash = "sha256-HHu3aycYvcv7c4CMvv9GzeB4ZAleLDW/nRKmWahSQ88="; hash = "sha256-ghJMSWb2bYtJhthV7KOLn9q1Tf3dCtBCCDrnjlen5JU=";
}; };
npmDepsHash = "sha256-uryyBFGNdsOVferTNTQ8+O3gv+lJ3mCuaU/47UzqcMk="; npmDepsHash = "sha256-2OjUBOCaVFU7Ct1n15AHm6QmzsIaGtti8zsElXcVSA8=";
nativeBuildInputs = [ nativeBuildInputs = [
python3 python3

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "carapace"; pname = "carapace";
version = "0.25.3"; version = "0.26.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rsteube"; owner = "rsteube";
repo = "${pname}-bin"; repo = "${pname}-bin";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-N1rPAK+fjFqojxMMRgohTwhlYxHC0fUICZ+fcG23gUE="; sha256 = "sha256-1e2hrAoFtnG1lU7evYnJXs65qmLNvO6fO9kPqjv66YE=";
}; };
vendorHash = "sha256-LooEhKK+JSUaEMio81WGMv5l1SqEIs2r978yEc7sPlo="; vendorHash = "sha256-T0N6e96F/4HkHKYNiPFME/PUJGh+pbTmmb4SdZiDVgw=";
ldflags = [ ldflags = [
"-s" "-s"

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "copilot-cli"; pname = "copilot-cli";
version = "1.29.0"; version = "1.29.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws"; owner = "aws";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-sXYdP1HvwamKKvCNM5T2vu86y5mQ9MD44SrFgqWfQkE="; sha256 = "sha256-Mfh3Bym9aVvCaRHcSyg68KqA1Zx0tt7x52IOzvC+61M=";
}; };
vendorHash = "sha256-TbgxXkLIEu7jSnngVRbp4E22GgOkXSB0b8JzHI/pNGk="; vendorHash = "sha256-0QPUvKGuR4fhXUoak6PqkBXsg+WkAOlSluci6/+ULB8=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -42,14 +42,14 @@ let
in in
python.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
pname = "gimme-aws-creds"; pname = "gimme-aws-creds";
version = "2.7.0"; # N.B: if you change this, check if overrides are still up-to-date version = "2.7.1"; # N.B: if you change this, check if overrides are still up-to-date
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Nike-Inc"; owner = "Nike-Inc";
repo = "gimme-aws-creds"; repo = "gimme-aws-creds";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-PGDTCQUwWoRCYu6rm63ftIYLyAIIJ4SDvP4IGkxn3hs="; hash = "sha256-vn3DzDqu19g6Z/RcWsktJxmeg6oK9NIEyjpH9g1tXNs=";
}; };
nativeBuildInputs = with python.pkgs; [ nativeBuildInputs = with python.pkgs; [

View file

@ -1,6 +1,8 @@
{ lib { lib
, lxd-unwrapped , lxd-unwrapped
, linkFarm
, makeWrapper , makeWrapper
, stdenv
, symlinkJoin , symlinkJoin
, writeShellScriptBin , writeShellScriptBin
, acl , acl
@ -12,13 +14,18 @@
, criu , criu
, dnsmasq , dnsmasq
, gnutar , gnutar
, gptfdisk
, gzip , gzip
, iproute2 , iproute2
, iptables , iptables
, OVMF
, qemu_kvm
, qemu-utils
, rsync , rsync
, spice-gtk
, squashfsTools , squashfsTools
, virtiofsd
, xz , xz
,
}: }:
let let
binPath = lib.makeBinPath [ binPath = lib.makeBinPath [
@ -29,17 +36,63 @@ let
criu criu
dnsmasq dnsmasq
gnutar gnutar
gptfdisk
gzip gzip
iproute2 iproute2
iptables iptables
qemu_kvm
qemu-utils
rsync rsync
squashfsTools squashfsTools
virtiofsd
xz xz
(writeShellScriptBin "apparmor_parser" '' (writeShellScriptBin "apparmor_parser" ''
exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@" exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@"
'') '')
]; ];
clientBinPath = [
spice-gtk
];
ovmf-2mb = OVMF.override {
secureBoot = true;
csmSupport = false;
fdSize2MB = true;
};
ovmf-4mb = OVMF.override {
secureBoot = true;
csmSupport = false;
fdSize4MB = true;
};
ovmf-4mb-csm = OVMF.override {
secureBoot = true;
csmSupport = false;
fdSize2MB = false;
fdSize4MB = true;
};
ovmf-prefix = if stdenv.hostPlatform.isAarch64 then "AAVMF" else "OVMF";
# mimic ovmf from https://github.com/canonical/lxd-pkg-snap/blob/3abebe1dfeb20f9b7729556960c7e9fe6ad5e17c/snapcraft.yaml#L378
# also found in /snap/lxd/current/share/qemu/ on a snap install
ovmf = linkFarm "lxd-ovmf" [
{ name = "OVMF_CODE.2MB.fd"; path = "${ovmf-2mb.fd}/FV/${ovmf-prefix}_CODE.fd"; }
{ name = "OVMF_CODE.4MB.CSM.fd"; path = "${ovmf-4mb-csm.fd}/FV/${ovmf-prefix}_CODE.fd"; }
{ name = "OVMF_CODE.4MB.fd"; path = "${ovmf-4mb.fd}/FV/${ovmf-prefix}_CODE.fd"; }
{ name = "OVMF_CODE.fd"; path = "${ovmf-2mb.fd}/FV/${ovmf-prefix}_CODE.fd"; }
{ name = "OVMF_VARS.2MB.fd"; path = "${ovmf-2mb.fd}/FV/${ovmf-prefix}_VARS.fd"; }
{ name = "OVMF_VARS.2MB.ms.fd"; path = "${ovmf-2mb.fd}/FV/${ovmf-prefix}_VARS.fd"; }
{ name = "OVMF_VARS.4MB.CSM.fd"; path = "${ovmf-4mb-csm.fd}/FV/${ovmf-prefix}_VARS.fd"; }
{ name = "OVMF_VARS.4MB.fd"; path = "${ovmf-4mb.fd}/FV/${ovmf-prefix}_VARS.fd"; }
{ name = "OVMF_VARS.4MB.ms.fd"; path = "${ovmf-4mb.fd}/FV/${ovmf-prefix}_VARS.fd"; }
{ name = "OVMF_VARS.fd"; path = "${ovmf-2mb.fd}/FV/${ovmf-prefix}_VARS.fd"; }
{ name = "OVMF_VARS.ms.fd"; path = "${ovmf-2mb.fd}/FV/${ovmf-prefix}_VARS.fd"; }
];
in in
symlinkJoin { symlinkJoin {
name = "lxd-${lxd-unwrapped.version}"; name = "lxd-${lxd-unwrapped.version}";
@ -49,11 +102,13 @@ symlinkJoin {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
postBuild = '' postBuild = ''
wrapProgram $out/bin/lxd --prefix PATH : ${lib.escapeShellArg binPath} wrapProgram $out/bin/lxd --prefix PATH : ${lib.escapeShellArg binPath}:${qemu_kvm}/libexec:$out/bin --set LXD_OVMF_PATH ${ovmf}
wrapProgram $out/bin/lxc --prefix PATH : ${lib.makeBinPath clientBinPath}
''; '';
passthru = { passthru = {
inherit (lxd-unwrapped) tests; inherit (lxd-unwrapped) tests ui;
}; };
inherit (lxd-unwrapped) meta pname version; inherit (lxd-unwrapped) meta pname version;

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "scaleway-cli"; pname = "scaleway-cli";
version = "2.18.0"; version = "2.19.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "scaleway"; owner = "scaleway";
repo = "scaleway-cli"; repo = "scaleway-cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ytnYrvvfO8L+TI1x0ydDBnh5lurWL1avCPVAlK/cOuI="; sha256 = "sha256-DJTgmUH/n1TBKrgBN+8oG2ziRlAXzj6gOtjv4QjNkC8=";
}; };
vendorHash = "sha256-UWWnT6ft/eGCn/6T1IDQSdfgv8htxDL2cFl4reAx51k="; vendorHash = "sha256-RnTj59WsyY/cWkhe2bucMvzrI8EwC3I1kxccBCfFqtI=";
ldflags = [ ldflags = [
"-w" "-w"

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "lazydocker"; pname = "lazydocker";
version = "0.21.0"; version = "0.21.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jesseduffield"; owner = "jesseduffield";
repo = "lazydocker"; repo = "lazydocker";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-CALMpedDCBlsYt31JOlwH1SOEhy/DFP6SdjoVkQ2KOs="; sha256 = "sha256-fzHsLKtlyTKcuOqTYtoE5Wv0Y45tAMgRpYmXA4oYrVY=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -5,17 +5,17 @@
buildGoModule rec { buildGoModule rec {
pname = "opentelemetry-collector"; pname = "opentelemetry-collector";
version = "0.81.0"; version = "0.82.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-telemetry"; owner = "open-telemetry";
repo = "opentelemetry-collector"; repo = "opentelemetry-collector";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-yywmnJUTigDYeiAuK0f2511vh6sS4oD4hJLPozAlWz4="; hash = "sha256-EYkHfqwCxNIrE+wRMo/kwOVfuQfgrgcpmSL1gVwDebo=";
}; };
# there is a nested go.mod # there is a nested go.mod
sourceRoot = "${src.name}/cmd/otelcorecol"; sourceRoot = "${src.name}/cmd/otelcorecol";
vendorHash = "sha256-BNIQ0pTHGgwWw1cy7au6hUeECC8oGsSkxaX5BUCRG9Y="; vendorHash = "sha256-lebysPwGTOj2W0OKmj/2sIH5wMKfhZYwHWYjqa2dfKw=";
# upstream strongly recommends disabling CGO # upstream strongly recommends disabling CGO
# additionally dependencies have had issues when GCO was enabled that weren't caught upstream # additionally dependencies have had issues when GCO was enabled that weren't caught upstream

View file

@ -884,7 +884,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]] [[package]]
name = "edgedb-cli" name = "edgedb-cli"
version = "3.3.0" version = "3.4.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arc-swap", "arc-swap",

View file

@ -19,13 +19,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "edgedb"; pname = "edgedb";
version = "3.3.0"; version = "3.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "edgedb"; owner = "edgedb";
repo = "edgedb-cli"; repo = "edgedb-cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-6uhwuAGZ/XU+eENNo0H7hOdrDDx0fWvPVZAEOm5mdcY="; sha256 = "sha256-w6YpjSmh517yat45l4gGdV6qWD4O3aCx/6LL5wea+RA=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@ -33,9 +33,9 @@ rustPlatform.buildRustPackage rec {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"edgedb-derive-0.5.0" = "sha256-y/mN0XuJtQBtkLmbk2s7hK5joGEH5Ge6sLCD88WyL9o="; "edgedb-derive-0.5.0" = "sha256-y/mN0XuJtQBtkLmbk2s7hK5joGEH5Ge6sLCD88WyL9o=";
"edgeql-parser-0.1.0" = "sha256-Y3gXxPuR7qnTL4fu2nZIa3e20YV1fLvm2jHAng+Ke2Q=";
"indexmap-2.0.0-pre" = "sha256-QMOmoUHE1F/sp+NeDpgRGqqacWLHWG02YgZc5vAdXZY="; "indexmap-2.0.0-pre" = "sha256-QMOmoUHE1F/sp+NeDpgRGqqacWLHWG02YgZc5vAdXZY=";
"rexpect-0.5.0" = "sha256-vstAL/fJWWx7WbmRxNItKpzvgGF3SvJDs5isq9ym/OA="; "rexpect-0.5.0" = "sha256-vstAL/fJWWx7WbmRxNItKpzvgGF3SvJDs5isq9ym/OA=";
"edgeql-parser-0.1.0" = "sha256-Y3gXxPuR7qnTL4fu2nZIa3e20YV1fLvm2jHAng+Ke2Q=";
"rustyline-8.0.0" = "sha256-CrICwQbHPzS4QdVIEHxt2euX+g+0pFYe84NfMp1daEc="; "rustyline-8.0.0" = "sha256-CrICwQbHPzS4QdVIEHxt2euX+g+0pFYe84NfMp1daEc=";
"serde_str-1.0.0" = "sha256-CMBh5lxdQb2085y0jc/DrV6B8iiXvVO2aoZH/lFFjak="; "serde_str-1.0.0" = "sha256-CMBh5lxdQb2085y0jc/DrV6B8iiXvVO2aoZH/lFFjak=";
}; };

View file

@ -2,27 +2,39 @@
, python3 , python3
, fetchFromGitHub , fetchFromGitHub
, installShellFiles
, bubblewrap , bubblewrap
, nix-output-monitor , nix-output-monitor
, cacert , cacert
, git , git
, nix , nix
, withAutocomplete ? true
, withSandboxSupport ? false , withSandboxSupport ? false
, withNom ? false , withNom ? false
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review"; pname = "nixpkgs-review";
version = "2.9.3"; version = "2.10.0";
format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Mic92"; owner = "Mic92";
repo = "nixpkgs-review"; repo = "nixpkgs-review";
rev = version; rev = version;
sha256 = "sha256-Pcyhrw6oR+tLf/qgLnb7qx3003ldv3KuDVg6QsEhQp0="; hash = "sha256-uMcTwRmELk/vFI7vU4+UUvBDhlF+gVgohIXE0Sm1/d8=";
}; };
nativeBuildInputs = [
installShellFiles
python3.pkgs.setuptools
] ++ lib.optionals withAutocomplete [
python3.pkgs.argcomplete
];
propagatedBuildInputs = [ python3.pkgs.argcomplete ];
makeWrapperArgs = makeWrapperArgs =
let let
binPath = [ nix git ] binPath = [ nix git ]
@ -38,6 +50,15 @@ python3.pkgs.buildPythonApplication rec {
doCheck = false; doCheck = false;
postInstall = lib.optionalString withAutocomplete ''
for cmd in nix-review nixpkgs-review; do
installShellCompletion --cmd $cmd \
--bash <(register-python-argcomplete $out/bin/$cmd) \
--fish <(register-python-argcomplete $out/bin/$cmd -s fish) \
--zsh <(register-python-argcomplete $out/bin/$cmd -s zsh)
done
'';
meta = with lib; { meta = with lib; {
description = "Review pull-requests on https://github.com/NixOS/nixpkgs"; description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
homepage = "https://github.com/Mic92/nixpkgs-review"; homepage = "https://github.com/Mic92/nixpkgs-review";

File diff suppressed because it is too large Load diff

View file

@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "autocorrect"; pname = "autocorrect";
version = "2.6.2"; version = "2.8.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "huacnlee"; owner = "huacnlee";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-QHQQrUQCfDAlAtDcfrAkOwRhQkO+HcwnPfJ5+jb1290="; sha256 = "sha256-njgngDowyRfOY9+BnBSNWow5GkdGhRu2YPXkA6n23qE=";
}; };
cargoLock = { cargoLock = {

View file

@ -25,7 +25,7 @@ buildGoModule rec {
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X oss.terrastruct.com/d2/lib/version.Version=${version}" "-X oss.terrastruct.com/d2/lib/version.Version=v${version}"
]; ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -41,7 +41,10 @@ buildGoModule rec {
export TESTDATA_ACCEPT=1 export TESTDATA_ACCEPT=1
''; '';
passthru.tests.version = testers.testVersion { package = d2; }; passthru.tests.version = testers.testVersion {
package = d2;
version = "v${version}";
};
meta = with lib; { meta = with lib; {
description = "A modern diagram scripting language that turns text to diagrams"; description = "A modern diagram scripting language that turns text to diagrams";

View file

@ -32,17 +32,17 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "diffsitter"; pname = "diffsitter";
version = "0.8.0"; version = "0.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "afnanenayet"; owner = "afnanenayet";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KrmK0RJdNJcZGM/7IxDP5IbJMTY3v6MkHA1SQW+U3hw="; sha256 = "sha256-8nKZ8zcZSSF7Qd36kA9IQjio+TIhlQWRgMqKrsdInj4=";
fetchSubmodules = false; fetchSubmodules = false;
}; };
cargoHash = "sha256-3HALOoa3QDl9KE2UHxszzDw/VuDLLmjccXQvBBrfrHA="; cargoHash = "sha256-LEBAMb9tROpjrWEfucw+2ZaytnoyJE477IH3MyeUGEA=";
buildNoDefaultFeatures = true; buildNoDefaultFeatures = true;
buildFeatures = [ buildFeatures = [

View file

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "govc"; pname = "govc";
version = "0.30.6"; version = "0.30.7";
subPackages = [ "govc" ]; subPackages = [ "govc" ];
@ -10,7 +10,7 @@ buildGoModule rec {
rev = "v${version}"; rev = "v${version}";
owner = "vmware"; owner = "vmware";
repo = "govmomi"; repo = "govmomi";
sha256 = "sha256-gk8V7/4N8+KDy0lRu04xwbrnXQWxZQTkvdb2ZI3AfM8="; sha256 = "sha256-8cBS92O5AEeXQyLwOTAWbjvj1oPJiHLBooRgl5pt0Mk=";
}; };
vendorHash = "sha256-iLmQdjN0EXJuwC3NT5FKdHhJ4KvNAvnsBGAO9bypdqg="; vendorHash = "sha256-iLmQdjN0EXJuwC3NT5FKdHhJ4KvNAvnsBGAO9bypdqg=";

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "jumppad"; pname = "jumppad";
version = "0.5.31"; version = "0.5.35";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jumppad-labs"; owner = "jumppad-labs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-2BdhJ11Mwd2w8VZfGcGJc6GuaKrVKjCqXLDggiiwyt0="; hash = "sha256-ZqP1m2Fbm9bn9uxJ7Ll4Vqa+STIrxX0jALGZJmOyAT8=";
}; };
vendorHash = "sha256-LneL4SzvcThfqqWdKpAU3mFAW1FVRTU9/T3l+yKBSME="; vendorHash = "sha256-LneL4SzvcThfqqWdKpAU3mFAW1FVRTU9/T3l+yKBSME=";

View file

@ -1786,6 +1786,8 @@ with pkgs;
headset-charge-indicator = callPackage ../tools/audio/headset-charge-indicator { }; headset-charge-indicator = callPackage ../tools/audio/headset-charge-indicator { };
heh = callPackage ../applications/editors/heh { };
hexdiff = callPackage ../tools/misc/hexdiff { }; hexdiff = callPackage ../tools/misc/hexdiff { };
httm = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/httm { }; httm = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/httm { };
@ -3710,10 +3712,7 @@ with pkgs;
github-copilot-intellij-agent = callPackage ../development/tools/github-copilot-intellij-agent { }; github-copilot-intellij-agent = callPackage ../development/tools/github-copilot-intellij-agent { };
github-desktop = callPackage ../applications/version-management/github-desktop { github-desktop = callPackage ../applications/version-management/github-desktop { };
openssl = openssl_1_1;
curl = curl.override { openssl = openssl_1_1; };
};
github-to-sqlite = with python3Packages; toPythonApplication github-to-sqlite; github-to-sqlite = with python3Packages; toPythonApplication github-to-sqlite;
@ -15422,19 +15421,11 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) CoreServices;
}; };
inherit (callPackages ../development/compilers/crystal { inherit (darwin.apple_sdk_11_0.callPackage ../development/compilers/crystal { })
llvmPackages = llvmPackages_13;
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
})
crystal_1_2 crystal_1_2
crystal_1_7; crystal_1_7
inherit (callPackages ../development/compilers/crystal {
llvmPackages = llvmPackages_15;
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
})
crystal_1_9
crystal_1_8 crystal_1_8
crystal_1_9
crystal; crystal;
crystal2nix = callPackage ../development/compilers/crystal2nix { }; crystal2nix = callPackage ../development/compilers/crystal2nix { };
@ -16611,6 +16602,8 @@ with pkgs;
pony-corral = callPackage ../development/compilers/ponyc/pony-corral.nix { }; pony-corral = callPackage ../development/compilers/ponyc/pony-corral.nix { };
prqlc = callPackage ../development/tools/database/prqlc { };
qbe = callPackage ../development/compilers/qbe { }; qbe = callPackage ../development/compilers/qbe { };
rasm = callPackage ../development/compilers/rasm { }; rasm = callPackage ../development/compilers/rasm { };
@ -38025,8 +38018,6 @@ with pkgs;
stone-kingdoms = callPackage ../games/stone-kingdoms { }; stone-kingdoms = callPackage ../games/stone-kingdoms { };
streamlit = python3Packages.callPackage ../applications/science/machine-learning/streamlit { };
stt = callPackage ../tools/audio/stt { }; stt = callPackage ../tools/audio/stt { };
stuntrally = callPackage ../games/stuntrally stuntrally = callPackage ../games/stuntrally
@ -38761,6 +38752,8 @@ with pkgs;
sc2-headless = callPackage ../applications/science/machine-learning/sc2-headless { }; sc2-headless = callPackage ../applications/science/machine-learning/sc2-headless { };
streamlit = with python3Packages; toPythonApplication streamlit;
uarmsolver = callPackage ../applications/science/machine-learning/uarmsolver { }; uarmsolver = callPackage ../applications/science/machine-learning/uarmsolver { };
### SCIENCE/MATH ### SCIENCE/MATH

View file

@ -4182,6 +4182,8 @@ self: super: with self; {
georss-wa-dfes-client = callPackage ../development/python-modules/georss-wa-dfes-client { }; georss-wa-dfes-client = callPackage ../development/python-modules/georss-wa-dfes-client { };
getjump = callPackage ../development/python-modules/getjump { };
getmac = callPackage ../development/python-modules/getmac { }; getmac = callPackage ../development/python-modules/getmac { };
getkey = callPackage ../development/python-modules/getkey { }; getkey = callPackage ../development/python-modules/getkey { };
@ -9574,6 +9576,8 @@ self: super: with self; {
pyrad = callPackage ../development/python-modules/pyrad { }; pyrad = callPackage ../development/python-modules/pyrad { };
pyradiomics = callPackage ../development/python-modules/pyradiomics { };
pyradios = callPackage ../development/python-modules/pyradios { }; pyradios = callPackage ../development/python-modules/pyradios { };
pyrainbird = callPackage ../development/python-modules/pyrainbird { }; pyrainbird = callPackage ../development/python-modules/pyrainbird { };
@ -12173,6 +12177,8 @@ self: super: with self; {
streamlabswater = callPackage ../development/python-modules/streamlabswater { }; streamlabswater = callPackage ../development/python-modules/streamlabswater { };
streamlit = callPackage ../development/python-modules/streamlit { };
streamz = callPackage ../development/python-modules/streamz { }; streamz = callPackage ../development/python-modules/streamz { };
strenum = callPackage ../development/python-modules/strenum { }; strenum = callPackage ../development/python-modules/strenum { };