Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-03-11 00:03:08 +00:00 committed by GitHub
commit 590fb73d67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
123 changed files with 5815 additions and 788 deletions

View file

@ -1832,6 +1832,12 @@
githubId = 442623;
name = "Ben Pye";
};
benwbooth = {
email = "benwboooth@gmail.com";
github = "benwbooth";
githubId = 75972;
name = "Ben Booth";
};
berberman = {
email = "berberman@yandex.com";
matrix = "@berberman:mozilla.org";
@ -11537,6 +11543,12 @@
githubId = 1368952;
name = "Pedro Lara Campos";
};
penalty1083 = {
email = "penalty1083@outlook.com";
github = "penalty1083";
githubId = 121009904;
name = "penalty1083";
};
penguwin = {
email = "penguwin@penguwin.eu";
github = "penguwin";
@ -13288,6 +13300,12 @@
githubId = 8534888;
name = "Savanni D'Gerinel";
};
savyajha = {
email = "savya.jha@hawkradius.com";
github = "savyajha";
githubId = 3996019;
name = "Savyasachee Jha";
};
sayanarijit = {
email = "sayanarijit@gmail.com";
github = "sayanarijit";

View file

@ -60,6 +60,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- [ulogd](https://www.netfilter.org/projects/ulogd/index.html), a userspace logging daemon for netfilter/iptables related logging. Available as [services.ulogd](options.html#opt-services.ulogd.enable).
- [jellyseerr](https://github.com/Fallenbagel/jellyseerr), a web-based requests manager for Jellyfin, forked from Overseerr. Available as [services.jellyseerr](#opt-services.jellyseerr.enable).
- [photoprism](https://photoprism.app/), a AI-Powered Photos App for the Decentralized Web. Available as [services.photoprism](options.html#opt-services.photoprism.enable).
- [autosuspend](https://github.com/languitar/autosuspend), a python daemon that suspends a system if certain conditions are met, or not met.

View file

@ -625,6 +625,7 @@
./services/misc/irkerd.nix
./services/misc/jackett.nix
./services/misc/jellyfin.nix
./services/misc/jellyseerr.nix
./services/misc/klipper.nix
./services/misc/languagetool.nix
./services/misc/leaps.nix

View file

@ -89,11 +89,6 @@ let
};
};
pagesArgs = [
"-pages-domain" gitlabConfig.production.pages.host
"-pages-root" "${gitlabConfig.production.shared.path}/pages"
] ++ cfg.pagesExtraArgs;
gitlabConfig = {
# These are the default settings from config/gitlab.example.yml
production = flip recursiveUpdate cfg.extraConfig {
@ -161,6 +156,12 @@ let
};
extra = {};
uploads.storage_path = cfg.statePath;
pages = {
enabled = cfg.pages.enable;
port = 8090;
host = cfg.pages.settings.pages-domain;
secret_file = cfg.pages.settings.api-secret-key;
};
};
};
@ -246,6 +247,7 @@ in {
(mkRenamedOptionModule [ "services" "gitlab" "backupPath" ] [ "services" "gitlab" "backup" "path" ])
(mkRemovedOptionModule [ "services" "gitlab" "satelliteDir" ] "")
(mkRemovedOptionModule [ "services" "gitlab" "logrotate" "extraConfig" ] "Modify services.logrotate.settings.gitlab directly instead")
(mkRemovedOptionModule [ "services" "gitlab" "pagesExtraArgs" ] "Use services.gitlab.pages.settings instead")
];
options = {
@ -667,10 +669,127 @@ in {
};
};
pagesExtraArgs = mkOption {
type = types.listOf types.str;
default = [ "-listen-proxy" "127.0.0.1:8090" ];
description = lib.mdDoc "Arguments to pass to the gitlab-pages daemon";
pages.enable = mkEnableOption (lib.mdDoc "the GitLab Pages service");
pages.settings = mkOption {
example = literalExpression ''
{
pages-domain = "example.com";
auth-client-id = "generated-id-xxxxxxx";
auth-client-secret = { _secret = "/var/keys/auth-client-secret"; };
auth-redirect-uri = "https://projects.example.com/auth";
auth-secret = { _secret = "/var/keys/auth-secret"; };
auth-server = "https://gitlab.example.com";
}
'';
description = lib.mdDoc ''
Configuration options to set in the GitLab Pages config
file.
Options containing secret data should be set to an attribute
set containing the attribute `_secret` - a string pointing
to a file containing the value the option should be set
to. See the example to get a better picture of this: in the
resulting configuration file, the `auth-client-secret` and
`auth-secret` keys will be set to the contents of the
{file}`/var/keys/auth-client-secret` and
{file}`/var/keys/auth-secret` files respectively.
'';
type = types.submodule {
freeformType = with types; attrsOf (nullOr (oneOf [ str int bool attrs ]));
options = {
listen-http = mkOption {
type = with types; listOf str;
apply = x: if x == [] then null else lib.concatStringsSep "," x;
default = [];
description = lib.mdDoc ''
The address(es) to listen on for HTTP requests.
'';
};
listen-https = mkOption {
type = with types; listOf str;
apply = x: if x == [] then null else lib.concatStringsSep "," x;
default = [];
description = lib.mdDoc ''
The address(es) to listen on for HTTPS requests.
'';
};
listen-proxy = mkOption {
type = with types; listOf str;
apply = x: if x == [] then null else lib.concatStringsSep "," x;
default = [ "127.0.0.1:8090" ];
description = lib.mdDoc ''
The address(es) to listen on for proxy requests.
'';
};
artifacts-server = mkOption {
type = with types; nullOr str;
default = "http${optionalString cfg.https "s"}://${cfg.host}/api/v4";
defaultText = "http(s)://<services.gitlab.host>/api/v4";
example = "https://gitlab.example.com/api/v4";
description = lib.mdDoc ''
API URL to proxy artifact requests to.
'';
};
gitlab-server = mkOption {
type = with types; nullOr str;
default = "http${optionalString cfg.https "s"}://${cfg.host}";
defaultText = "http(s)://<services.gitlab.host>";
example = "https://gitlab.example.com";
description = lib.mdDoc ''
Public GitLab server URL.
'';
};
internal-gitlab-server = mkOption {
type = with types; nullOr str;
default = null;
defaultText = "http(s)://<services.gitlab.host>";
example = "https://gitlab.example.internal";
description = lib.mdDoc ''
Internal GitLab server used for API requests, useful
if you want to send that traffic over an internal load
balancer. By default, the value of
`services.gitlab.pages.settings.gitlab-server` is
used.
'';
};
api-secret-key = mkOption {
type = with types; nullOr str;
default = "${cfg.statePath}/gitlab_pages_secret";
internal = true;
description = lib.mdDoc ''
File with secret key used to authenticate with the
GitLab API.
'';
};
pages-domain = mkOption {
type = with types; nullOr str;
example = "example.com";
description = lib.mdDoc ''
The domain to serve static pages on.
'';
};
pages-root = mkOption {
type = types.str;
default = "${gitlabConfig.production.shared.path}/pages";
defaultText = literalExpression ''config.${opt.extraConfig}.production.shared.path + "/pages"'';
description = lib.mdDoc ''
The directory where pages are stored.
'';
};
};
};
};
secrets.secretFile = mkOption {
@ -1210,6 +1329,9 @@ in {
umask u=rwx,g=,o=
openssl rand -hex 32 > ${cfg.statePath}/gitlab_shell_secret
${optionalString cfg.pages.enable ''
openssl rand -base64 32 > ${cfg.pages.settings.api-secret-key}
''}
rm -f '${cfg.statePath}/config/database.yml'
@ -1359,28 +1481,66 @@ in {
};
};
systemd.services.gitlab-pages = mkIf (gitlabConfig.production.pages.enabled or false) {
description = "GitLab static pages daemon";
after = [ "network.target" "gitlab-config.service" ];
bindsTo = [ "gitlab-config.service" ];
wantedBy = [ "gitlab.target" ];
partOf = [ "gitlab.target" ];
path = [ pkgs.unzip ];
serviceConfig = {
Type = "simple";
TimeoutSec = "infinity";
Restart = "on-failure";
User = cfg.user;
Group = cfg.group;
ExecStart = "${cfg.packages.pages}/bin/gitlab-pages ${escapeShellArgs pagesArgs}";
WorkingDirectory = gitlabEnv.HOME;
};
services.gitlab.pages.settings = {
api-secret-key = "${cfg.statePath}/gitlab_pages_secret";
};
systemd.services.gitlab-pages =
let
filteredConfig = filterAttrs (_: v: v != null) cfg.pages.settings;
isSecret = v: isAttrs v && v ? _secret && isString v._secret;
mkPagesKeyValue = lib.generators.toKeyValue {
mkKeyValue = lib.flip lib.generators.mkKeyValueDefault "=" rec {
mkValueString = v:
if isInt v then toString v
else if isString v then v
else if true == v then "true"
else if false == v then "false"
else if isSecret v then builtins.hashString "sha256" v._secret
else throw "unsupported type ${builtins.typeOf v}: ${(lib.generators.toPretty {}) v}";
};
};
secretPaths = lib.catAttrs "_secret" (lib.collect isSecret filteredConfig);
mkSecretReplacement = file: ''
replace-secret ${lib.escapeShellArgs [ (builtins.hashString "sha256" file) file "/run/gitlab-pages/gitlab-pages.conf" ]}
'';
secretReplacements = lib.concatMapStrings mkSecretReplacement secretPaths;
configFile = pkgs.writeText "gitlab-pages.conf" (mkPagesKeyValue filteredConfig);
in
mkIf cfg.pages.enable {
description = "GitLab static pages daemon";
after = [ "network.target" "gitlab-config.service" "gitlab.service" ];
bindsTo = [ "gitlab-config.service" "gitlab.service" ];
wantedBy = [ "gitlab.target" ];
partOf = [ "gitlab.target" ];
path = with pkgs; [
unzip
replace-secret
];
serviceConfig = {
Type = "simple";
TimeoutSec = "infinity";
Restart = "on-failure";
User = cfg.user;
Group = cfg.group;
ExecStartPre = pkgs.writeShellScript "gitlab-pages-pre-start" ''
set -o errexit -o pipefail -o nounset
shopt -s dotglob nullglob inherit_errexit
install -m u=rw ${configFile} /run/gitlab-pages/gitlab-pages.conf
${secretReplacements}
'';
ExecStart = "${cfg.packages.pages}/bin/gitlab-pages -config=/run/gitlab-pages/gitlab-pages.conf";
WorkingDirectory = gitlabEnv.HOME;
RuntimeDirectory = "gitlab-pages";
RuntimeDirectoryMode = "0700";
};
};
systemd.services.gitlab-workhorse = {
after = [ "network.target" ];
wantedBy = [ "gitlab.target" ];

View file

@ -0,0 +1,62 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.jellyseerr;
in
{
meta.maintainers = [ maintainers.camillemndn ];
options.services.jellyseerr = {
enable = mkEnableOption (mdDoc ''Jellyseerr, a requests manager for Jellyfin'');
openFirewall = mkOption {
type = types.bool;
default = false;
description = mdDoc ''Open port in the firewall for the Jellyseerr web interface.'';
};
port = mkOption {
type = types.port;
default = 5055;
description = mdDoc ''The port which the Jellyseerr web UI should listen to.'';
};
};
config = mkIf cfg.enable {
systemd.services.jellyseerr = {
description = "Jellyseerr, a requests manager for Jellyfin";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
environment.PORT = toString cfg.port;
serviceConfig = {
Type = "exec";
StateDirectory = "jellyseerr";
WorkingDirectory = "${pkgs.jellyseerr}/libexec/jellyseerr/deps/jellyseerr";
DynamicUser = true;
ExecStart = "${pkgs.jellyseerr}/bin/jellyseerr";
BindPaths = [ "/var/lib/jellyseerr/:${pkgs.jellyseerr}/libexec/jellyseerr/deps/jellyseerr/config/" ];
Restart = "on-failure";
ProtectHome = true;
ProtectSystem = "strict";
PrivateTmp = true;
PrivateDevices = true;
ProtectHostname = true;
ProtectClock = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
ProtectKernelLogs = true;
ProtectControlGroups = true;
NoNewPrivileges = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
RemoveIPC = true;
PrivateMounts = true;
};
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ];
};
};
}

View file

@ -69,6 +69,10 @@ in {
databasePasswordFile = pkgs.writeText "dbPassword" "xo0daiF4";
initialRootPasswordFile = pkgs.writeText "rootPassword" initialRootPassword;
smtp.enable = true;
pages = {
enable = true;
settings.pages-domain = "localhost";
};
extraConfig = {
incoming_email = {
enabled = true;
@ -79,11 +83,6 @@ in {
host = "localhost";
port = 143;
};
# https://github.com/NixOS/nixpkgs/issues/132295
# pages = {
# enabled = true;
# host = "localhost";
# };
};
secrets = {
secretFile = pkgs.writeText "secret" "Aig5zaic";
@ -171,10 +170,9 @@ in {
waitForServices = ''
gitlab.wait_for_unit("gitaly.service")
gitlab.wait_for_unit("gitlab-workhorse.service")
# https://github.com/NixOS/nixpkgs/issues/132295
# gitlab.wait_for_unit("gitlab-pages.service")
gitlab.wait_for_unit("gitlab-mailroom.service")
gitlab.wait_for_unit("gitlab.service")
gitlab.wait_for_unit("gitlab-pages.service")
gitlab.wait_for_unit("gitlab-sidekiq.service")
gitlab.wait_for_file("${nodes.gitlab.config.services.gitlab.statePath}/tmp/sockets/gitlab.socket")
gitlab.wait_until_succeeds("curl -sSf http://gitlab/users/sign_in")

View file

@ -77,9 +77,9 @@ let
let iface = if grubVersion == 1 then "ide" else "virtio";
isEfi = bootLoader == "systemd-boot" || (bootLoader == "grub" && grubUseEfi);
bios = if pkgs.stdenv.isAarch64 then "QEMU_EFI.fd" else "OVMF.fd";
in if !isEfi && !pkgs.stdenv.hostPlatform.isx86 then
throw "Non-EFI boot methods are only supported on i686 / x86_64"
else ''
in if !isEfi && !pkgs.stdenv.hostPlatform.isx86 then ''
machine.succeed("true")
'' else ''
def assemble_qemu_flags():
flags = "-cpu max"
${if (system == "x86_64-linux" || system == "i686-linux")

View file

@ -1267,6 +1267,23 @@ let
};
};
jellyedwards.gitsweep = buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "jellyedwards";
name = "gitsweep";
version = "0.0.15";
sha256 = "rKAy84Uiat5VOQXd4OXToNfxAJ6SuWPT47vuiyK4qwg=";
};
meta = with lib; {
changelog = "https://marketplace.visualstudio.com/items/jellyedwards.gitsweep/changelog";
description = "VS Code extension which allows you to easily exclude modified or new files so they don't get committed accidentally";
downloadPage = "https://marketplace.visualstudio.com/items?itemName=jellyedwards.gitsweep";
homepage = "https://github.com/jellyedwards/gitsweep";
license = licenses.mit;
maintainers = with maintainers; [ MatthieuBarthel ];
};
};
jkillian.custom-local-formatters = buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "jkillian";

View file

@ -34,6 +34,9 @@ stdenv.mkDerivation {
patches = [ ./poppler-22_09-build-fix.patch ];
# Required for the PDF plugin when building with clang.
CXXFLAGS = "-std=c++17";
preConfigure = ''
patchShebangs .
'';

View file

@ -1,13 +0,0 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9b48beea..078ba20d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -603,7 +603,7 @@ ENDIF(APPLE)
#
# photoflow executable
#
-add_executable(photoflow main.cc ${RESOURCE_OBJECT})
+add_executable(photoflow main.cc version.cc ${RESOURCE_OBJECT})
IF(APPLE)
set_target_properties(photoflow PROPERTIES LINK_FLAGS " -framework ApplicationServices ")
ENDIF(APPLE)

View file

@ -1,101 +0,0 @@
{ automake
, cmake
, exiv2
, expat
, fetchFromGitHub
, fetchpatch
, fftw
, fftwFloat
, gettext
, glib
, gobject-introspection
, gtkmm2
, lcms2
, lensfun
, libexif
, libiptcdata
, libjpeg
, libraw
, libtiff
, libxml2
, ninja
, openexr
, pcre
, pkg-config
, pugixml
, lib
, stdenv
, swig
, vips
, gtk-mac-integration-gtk2
}:
stdenv.mkDerivation rec {
pname = "photoflow";
version = "2020-08-28";
src = fetchFromGitHub {
owner = "aferrero2707";
repo = pname;
rev = "8472024fb91175791e0eb23c434c5b58ecd250eb";
sha256 = "1bq4733hbh15nwpixpyhqfn3bwkg38amdj2xc0my0pii8l9ln793";
};
patches = [
(fetchpatch {
name = "fix-compiler-flags.patch";
url = "https://sources.debian.org/data/main/p/photoflow/0.2.8%2Bgit20200114-3/debian/patches/ftbfs";
sha256 = "sha256-DG5yG6M4FsKOykE9Eh5TGd7Z5QURGTTVbO1pIxMAlhc=";
})
./CMakeLists.patch
./fix-build.patch
];
nativeBuildInputs = [
automake
cmake
gettext
glib
gobject-introspection
libxml2
ninja
pkg-config
swig
];
buildInputs = [
exiv2
expat
fftw
fftwFloat
gtkmm2 # Could be build with gtk3 but proper UI theme is missing and therefore not very usable with gtk3
# See: https://discuss.pixls.us/t/help-needed-for-gtk3-theme/5803
lcms2
lensfun
libexif
libiptcdata
libjpeg
libraw
libtiff
openexr
pcre
pugixml
vips
] ++ lib.optionals stdenv.isDarwin [
gtk-mac-integration-gtk2
];
cmakeFlags = [
"-DBUNDLED_EXIV2=OFF"
"-DBUNDLED_LENSFUN=OFF"
"-DBUNDLED_GEXIV2=OFF"
];
meta = with lib; {
description = "A fully non-destructive photo retouching program providing a complete RAW image editing workflow";
homepage = "https://aferrero2707.github.io/PhotoFlow/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ MtP wegank ];
platforms = platforms.unix;
};
}

View file

@ -1,76 +0,0 @@
diff --git a/src/external/librtprocess/src/include/librtprocess.h b/src/external/librtprocess/src/include/librtprocess.h
index 47691a09..b1c63dbd 100644
--- a/src/external/librtprocess/src/include/librtprocess.h
+++ b/src/external/librtprocess/src/include/librtprocess.h
@@ -21,6 +21,7 @@
#define _LIBRTPROCESS_
#include <functional>
+#include <cstddef>
enum rpError {RP_NO_ERROR, RP_MEMORY_ERROR, RP_WRONG_CFA, RP_CACORRECT_ERROR};
diff --git a/src/operations/denoise.cc b/src/operations/denoise.cc
index 10050f70..16b340c1 100644
--- a/src/operations/denoise.cc
+++ b/src/operations/denoise.cc
@@ -27,7 +27,7 @@
*/
-#include <vips/cimg_funcs.h>
+//#include <vips/cimg_funcs.h>
#include "../base/new_operation.hh"
#include "convert_colorspace.hh"
diff --git a/src/operations/gmic/gmic.cc b/src/operations/gmic/gmic.cc
index 876e7c20..fc6a8505 100644
--- a/src/operations/gmic/gmic.cc
+++ b/src/operations/gmic/gmic.cc
@@ -28,13 +28,31 @@
*/
//#include <vips/cimg_funcs.h>
+#include <vips/vips.h>
#include "../../base/processor_imp.hh"
#include "../convertformat.hh"
#include "gmic.hh"
-int vips_gmic(VipsImage **in, VipsImage** out, int n, int padding, double x_scale, double y_scale, const char* command, ...);
-
+int vips_gmic(VipsImage **in, VipsImage** out, int n, int padding, double x_scale, double y_scale, const char* command, ...)
+{
+ VipsArrayImage *array;
+ va_list ap;
+ int result;
+
+#ifndef NDEBUG
+ printf("vips_gmic(): padding=%d\n", padding);
+#endif
+
+ array = vips_array_image_new( in, n );
+ va_start( ap, command );
+ result = vips_call_split( "gmic", ap, array, out,
+ padding, x_scale, y_scale, command );
+ va_end( ap );
+ vips_area_unref( VIPS_AREA( array ) );
+
+ return( result );
+}
PF::GMicPar::GMicPar():
OpParBase(),
diff --git a/src/vips/gmic/gmic/src/CImg.h b/src/vips/gmic/gmic/src/CImg.h
index 268b9e62..5a79640c 100644
--- a/src/vips/gmic/gmic/src/CImg.h
+++ b/src/vips/gmic/gmic/src/CImg.h
@@ -32843,7 +32843,7 @@ namespace cimg_library_suffixed {
\see deriche(), vanvliet().
**/
CImg<T>& blur_box(const float boxsize, const bool boundary_conditions=true) {
- const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max(_width,_height,_depth)/100;
+ const float nboxsize = boxsize>=0?boxsize:-boxsize*std::max({_width,_height,_depth})/100;
return blur_box(nboxsize,nboxsize,nboxsize,boundary_conditions);
}

View file

@ -13,15 +13,20 @@
buildDotnetModule rec {
pname = "archisteamfarm";
# nixpkgs-update: no auto update
version = "5.4.2.13";
version = "5.4.3.2";
src = fetchFromGitHub {
owner = "justarchinet";
repo = pname;
rev = version;
sha256 = "sha256-4DaqIsHfijA0hkhlsC6qQ1n+HC0zwdMtXiswOPOVpM4=";
sha256 = "sha256-SRWqe8KTjFdgVW7/EYRVUONtDWwxpcZ1GXWFPjKZzpI=";
};
patches = [
# otherwise installPhase fails with NETSDK1129
./fix-framework.diff
];
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
dotnet-sdk = dotnetCorePackages.sdk_7_0;
@ -59,6 +64,7 @@ buildDotnetModule rec {
}
buildPlugin ArchiSteamFarm.OfficialPlugins.ItemsMatcher
buildPlugin ArchiSteamFarm.OfficialPlugins.MobileAuthenticator
buildPlugin ArchiSteamFarm.OfficialPlugins.SteamTokenDumper
'';

View file

@ -61,7 +61,7 @@
(fetchNuGet { pname = "Microsoft.AspNetCore.JsonPatch"; version = "7.0.0"; sha256 = "1f13vsfs1rp9bmdp3khk4mk2fif932d72yxm2wszpsr239x4s2bf"; })
(fetchNuGet { pname = "Microsoft.AspNetCore.Mvc.NewtonsoftJson"; version = "7.0.0"; sha256 = "1w49rg0n5wb1m5wnays2mmym7qy7bsi2b1zxz97af2rkbw3s3hbd"; })
(fetchNuGet { pname = "Microsoft.Bcl.AsyncInterfaces"; version = "6.0.0"; sha256 = "15gqy2m14fdlvy1g59207h5kisznm355kbw010gy19vh47z8gpz3"; })
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.4.1"; sha256 = "0bf68gq6mc6kzri4zi8ydc0xrazqwqg38bhbpjpj90zmqc28kari"; })
(fetchNuGet { pname = "Microsoft.CodeCoverage"; version = "17.5.0"; sha256 = "0briw00gb5bz9k9kx00p6ghq47w501db7gb6ig5zzmz9hb8lw4a4"; })
(fetchNuGet { pname = "Microsoft.CSharp"; version = "4.7.0"; sha256 = "0gd67zlw554j098kabg887b5a6pq9kzavpa3jjy5w53ccjzjfy8j"; })
(fetchNuGet { pname = "Microsoft.Extensions.ApiDescription.Server"; version = "6.0.5"; sha256 = "1pi2bm3cm0a7jzqzmfc2r7bpcdkmk3hhjfvb2c81j7wl7xdw3624"; })
(fetchNuGet { pname = "Microsoft.Extensions.Configuration.Abstractions"; version = "6.0.0"; sha256 = "0w6wwxv12nbc3sghvr68847wc9skkdgsicrz3fx4chgng1i3xy0j"; })
@ -71,11 +71,11 @@
(fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "6.0.0"; sha256 = "0b75fmins171zi6bfdcq1kcvyrirs8n91mknjnxy4c3ygi1rrnj0"; })
(fetchNuGet { pname = "Microsoft.Extensions.Options"; version = "6.0.0"; sha256 = "008pnk2p50i594ahz308v81a41mbjz9mwcarqhmrjpl2d20c868g"; })
(fetchNuGet { pname = "Microsoft.Extensions.Primitives"; version = "6.0.0"; sha256 = "1kjiw6s4yfz9gm7mx3wkhp06ghnbs95icj9hi505shz9rjrg42q2"; })
(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.4.1"; sha256 = "02p1j9fncd4fb2hyp51kw49d0dz30vvazhzk24c9f5ccc00ijpra"; })
(fetchNuGet { pname = "Microsoft.NET.Test.Sdk"; version = "17.5.0"; sha256 = "00gz2i8kx4mlq1ywj3imvf7wc6qzh0bsnynhw06z0mgyha1a21jy"; })
(fetchNuGet { pname = "Microsoft.NETCore.Platforms"; version = "5.0.0"; sha256 = "0mwpwdflidzgzfx2dlpkvvnkgkr2ayaf0s80737h4wa35gaj11rc"; })
(fetchNuGet { pname = "Microsoft.OpenApi"; version = "1.2.3"; sha256 = "07b19k89whj69j87afkz86gp9b3iybw8jqwvlgcn43m7fb2y99rr"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.4.1"; sha256 = "0s68wf9yphm4hni9p6kwfk0mjld85f4hkrs93qbk5lzf6vv3kba1"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.4.1"; sha256 = "1n9ilq8n5rhyxcri06njkxb0h2818dbmzddwd2rrvav91647m2s4"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.ObjectModel"; version = "17.5.0"; sha256 = "0qkjyf3ky6xpjg5is2sdsawm99ka7fzgid2bvpglwmmawqgm8gls"; })
(fetchNuGet { pname = "Microsoft.TestPlatform.TestHost"; version = "17.5.0"; sha256 = "17g0k3r5n8grba8kg4nghjyhnq9w8v0w6c2nkyyygvfh8k8x9wh3"; })
(fetchNuGet { pname = "Microsoft.Win32.Registry"; version = "5.0.0"; sha256 = "102hvhq2gmlcbq8y2cb7hdr2dnmjzfp2k3asr1ycwrfacwyaak7n"; })
(fetchNuGet { pname = "MSTest.TestAdapter"; version = "3.0.2"; sha256 = "1pzn95nhmprfvchwshyy87jifzjpvdny21b5yhkqafr150nxlz77"; })
(fetchNuGet { pname = "MSTest.TestFramework"; version = "3.0.2"; sha256 = "1yiwi0hi8pn9dv90vz1yw13izap8dv13asxvr9axcliis0ad5iaq"; })
@ -86,9 +86,9 @@
(fetchNuGet { pname = "Nito.AsyncEx.Tasks"; version = "5.1.2"; sha256 = "11wp47kc69sjdxrbg5pgx0wlffqlp0x5kr54ggnz2v19kmjz362v"; })
(fetchNuGet { pname = "Nito.Collections.Deque"; version = "1.1.1"; sha256 = "152564q3s0n5swfv5p5rx0ghn2sm0g2xsnbd7gv8vb9yfklv7yg8"; })
(fetchNuGet { pname = "Nito.Disposables"; version = "2.2.1"; sha256 = "1hx5k8497j34kxxgh060bvij0vfnraw90dmm3h9bmamcdi8wp80l"; })
(fetchNuGet { pname = "NLog"; version = "5.1.1"; sha256 = "19m1ivp1cxz1ghlvysrxdhxlj7kzya9m7j812c3ssnxrfrr1077z"; })
(fetchNuGet { pname = "NLog.Extensions.Logging"; version = "5.2.1"; sha256 = "1z9ayqag1xncn4cs0cz27gxa5cqk6caq5fd81bczlj4sqff7ah4p"; })
(fetchNuGet { pname = "NLog.Web.AspNetCore"; version = "5.2.1"; sha256 = "10y03374lza6cjsi01xmql1v6hcjf6x2r7wfnnckzhzs70x2hhnl"; })
(fetchNuGet { pname = "NLog"; version = "5.1.2"; sha256 = "1hgb5lqx9c10kw6rjldrkldd70lmkzij4ssgg6msybgz7vpsyhkk"; })
(fetchNuGet { pname = "NLog.Extensions.Logging"; version = "5.2.2"; sha256 = "09y37z05c8w77hnj2mvzyhgprssam645llliyr0c3jycgy0ls707"; })
(fetchNuGet { pname = "NLog.Web.AspNetCore"; version = "5.2.2"; sha256 = "1ig6ffc1z0kadk2v6qsnrxyj945nwsral7jvddhvjhm12bd1zb6d"; })
(fetchNuGet { pname = "NuGet.Frameworks"; version = "5.11.0"; sha256 = "0wv26gq39hfqw9md32amr5771s73f5zn1z9vs4y77cgynxr73s4z"; })
(fetchNuGet { pname = "protobuf-net"; version = "3.0.101"; sha256 = "0594qckbc0lh61sw74ihaq4qmvf1lf133vfa88n443mh7lxm2fwf"; })
(fetchNuGet { pname = "protobuf-net.Core"; version = "3.0.101"; sha256 = "1kvn9rnm6f0jxs0s9scyyx2f2p8rk03qzc1f6ijv1g6xgkpxkq1m"; })
@ -112,7 +112,7 @@
(fetchNuGet { pname = "System.Reflection.Metadata"; version = "1.6.0"; sha256 = "1wdbavrrkajy7qbdblpbpbalbdl48q3h34cchz24gvdgyrlf15r4"; })
(fetchNuGet { pname = "System.Runtime.CompilerServices.Unsafe"; version = "6.0.0"; sha256 = "0qm741kh4rh57wky16sq4m0v05fxmkjjr87krycf5vp9f0zbahbc"; })
(fetchNuGet { pname = "System.Security.AccessControl"; version = "5.0.0"; sha256 = "17n3lrrl6vahkqmhlpn3w20afgz09n7i6rv0r3qypngwi7wqdr5r"; })
(fetchNuGet { pname = "System.Security.Cryptography.ProtectedData"; version = "7.0.0"; sha256 = "15s9s6hsj9bz0nzw41mxbqdjgjd71w2djqbv0aj413gfi9amybk9"; })
(fetchNuGet { pname = "System.Security.Cryptography.ProtectedData"; version = "7.0.1"; sha256 = "1nq9ngkqha70rv41692c79zq09cx6m85wkp3xj9yc31s62afyl5i"; })
(fetchNuGet { pname = "System.Security.Principal.Windows"; version = "5.0.0"; sha256 = "1mpk7xj76lxgz97a5yg93wi8lj0l8p157a5d50mmjy3gbz1904q8"; })
(fetchNuGet { pname = "System.Text.Encoding.CodePages"; version = "6.0.0"; sha256 = "0gm2kiz2ndm9xyzxgi0jhazgwslcs427waxgfa30m7yqll1kcrww"; })
(fetchNuGet { pname = "zxcvbn-core"; version = "7.0.92"; sha256 = "1pbi0n3za8zsnkbvq19njy4h4hy12a6rv4rknf4a2m1kdhxb3cgx"; })

View file

@ -0,0 +1,24 @@
diff --git a/Directory.Build.props b/Directory.Build.props
index 89137fba..bce300a4 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -29,16 +29,16 @@
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
<RollForward>LatestMajor</RollForward>
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;osx-arm64;osx-x64;win-arm64;win-x64</RuntimeIdentifiers>
- <TargetFrameworks>net7.0</TargetFrameworks>
+ <TargetFramework>net7.0</TargetFramework>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
- <TargetFrameworks>$(TargetFrameworks);net481</TargetFrameworks>
+ <TargetFramework>$(TargetFramework);net481</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(ASFNetStandard)' != ''">
- <TargetFrameworks>$(TargetFrameworks);netstandard2.1</TargetFrameworks>
+ <TargetFramework>$(TargetFramework);netstandard2.1</TargetFramework>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net481' OR '$(TargetFramework)' == 'netstandard2.1'">

View file

@ -11,8 +11,8 @@ let
repo = "ASF-ui";
# updated by the update script
# this is always the commit that should be used with asf-ui from the latest asf version
rev = "22692a1f115e8ca86f83fa17be55d9b20985570f";
sha256 = "0k0msk1r7ih092cwjngy1824bxkbjwz0d5p3k2r2l67r2p9b3lab";
rev = "b30b3f5bcea53019bab1d7a433a75936a63eef27";
sha256 = "0ba4jjf1lxhffj77lcamg390hf8z9avg9skc0iap37zw5n5myb6c";
};
in

View file

@ -4,13 +4,13 @@
let
sources = {
"@ampproject/remapping-2.1.1" = {
"@ampproject/remapping-2.2.0" = {
name = "_at_ampproject_slash_remapping";
packageName = "@ampproject/remapping";
version = "2.1.1";
version = "2.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.1.tgz";
sha512 = "Aolwjd7HSC2PyY0fDj/wA/EimQT4HfEnFYNp5s9CQlrdhyvWTtvZ5YzrUPu6R6/1jKiUlxu8bUhkdSnKHNAHMA==";
url = "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz";
sha512 = "qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==";
};
};
"@babel/code-frame-7.18.6" = {
@ -31,13 +31,13 @@ let
sha512 = "KZXo2t10+/jxmkhNXc7pZTqRvSOIvVv/+lJwHS+B2rErwOyjuVRh60yVpb7liQ1U5t7lLJ1bz+t8tSypUZdm0g==";
};
};
"@babel/core-7.20.12" = {
"@babel/core-7.21.0" = {
name = "_at_babel_slash_core";
packageName = "@babel/core";
version = "7.20.12";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz";
sha512 = "XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==";
url = "https://registry.npmjs.org/@babel/core/-/core-7.21.0.tgz";
sha512 = "PuxUbxcW6ZYe656yL3EAhpy7qXKq0DmYsrJLpbB8XrsCP9Nm+XCg9XFMb5vIDliPD7+U/+M+QJlH17XOcB7eXA==";
};
};
"@babel/eslint-parser-7.19.1" = {
@ -49,13 +49,13 @@ let
sha512 = "AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ==";
};
};
"@babel/generator-7.20.7" = {
"@babel/generator-7.21.0" = {
name = "_at_babel_slash_generator";
packageName = "@babel/generator";
version = "7.20.7";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/generator/-/generator-7.20.7.tgz";
sha512 = "7wqMOJq8doJMZmP4ApXTzLxSr7+oO2jroJURrVEp6XShrQUObV8Tq/D0NCcoYg2uHqUrjzO0zwBjoYzelxK+sw==";
url = "https://registry.npmjs.org/@babel/generator/-/generator-7.21.0.tgz";
sha512 = "z/zN3SePOtxN1/vPFdqrkuJGCD2Vx469+dSbNRD+4TF2+6e4Of5exHqAtcfL/2Nwu0RN0QsFwjyDBFwdUMzNSA==";
};
};
"@babel/helper-annotate-as-pure-7.18.6" = {
@ -130,13 +130,13 @@ let
sha512 = "eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==";
};
};
"@babel/helper-function-name-7.19.0" = {
"@babel/helper-function-name-7.21.0" = {
name = "_at_babel_slash_helper-function-name";
packageName = "@babel/helper-function-name";
version = "7.19.0";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz";
sha512 = "WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==";
url = "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz";
sha512 = "HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==";
};
};
"@babel/helper-hoist-variables-7.18.6" = {
@ -166,13 +166,13 @@ let
sha512 = "0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==";
};
};
"@babel/helper-module-transforms-7.20.11" = {
"@babel/helper-module-transforms-7.21.0" = {
name = "_at_babel_slash_helper-module-transforms";
packageName = "@babel/helper-module-transforms";
version = "7.20.11";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz";
sha512 = "uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==";
url = "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.0.tgz";
sha512 = "eD/JQ21IG2i1FraJnTMbUarAUkA7G988ofehG5MDCRXaUU91rEBJuCeSoou2Sk1y4RbLYXzqEg1QLwEmRU4qcQ==";
};
};
"@babel/helper-optimise-call-expression-7.18.6" = {
@ -274,13 +274,13 @@ let
sha512 = "95NLBP59VWdfK2lyLKe6eTMq9xg+yWKzxzxbJ1wcYNi1Auz200+83fMDADjRxBvc2QQor5zja2yTQzXGhk2GtQ==";
};
};
"@babel/helpers-7.20.7" = {
"@babel/helpers-7.21.0" = {
name = "_at_babel_slash_helpers";
packageName = "@babel/helpers";
version = "7.20.7";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.7.tgz";
sha512 = "PBPjs5BppzsGaxHQCDKnZ6Gd9s6xl8bBCluz3vEInLGRJmnZan4F6BYCeqtyXqkk4W5IlPmjK4JlOuZkpJ3xZA==";
url = "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz";
sha512 = "XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==";
};
};
"@babel/highlight-7.18.6" = {
@ -292,13 +292,13 @@ let
sha512 = "u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==";
};
};
"@babel/parser-7.20.7" = {
"@babel/parser-7.21.0" = {
name = "_at_babel_slash_parser";
packageName = "@babel/parser";
version = "7.20.7";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/parser/-/parser-7.20.7.tgz";
sha512 = "T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg==";
url = "https://registry.npmjs.org/@babel/parser/-/parser-7.21.0.tgz";
sha512 = "ONjtg4renj14A9pj3iA5T5+r5Eijxbr2eNIkMBTC74occDSsRZUpe8vowmowAjFR1imWlkD8eEmjYXiREZpGZg==";
};
};
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6" = {
@ -913,31 +913,31 @@ let
sha512 = "8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==";
};
};
"@babel/traverse-7.20.12" = {
"@babel/traverse-7.21.0" = {
name = "_at_babel_slash_traverse";
packageName = "@babel/traverse";
version = "7.20.12";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.12.tgz";
sha512 = "MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ==";
url = "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.0.tgz";
sha512 = "Xdt2P1H4LKTO8ApPfnO1KmzYMFpp7D/EinoXzLYN/cHcBNrVCAkAtGUcXnHXrl/VGktureU6fkQrHSBE2URfoA==";
};
};
"@babel/types-7.20.7" = {
"@babel/types-7.21.0" = {
name = "_at_babel_slash_types";
packageName = "@babel/types";
version = "7.20.7";
version = "7.21.0";
src = fetchurl {
url = "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz";
sha512 = "69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==";
url = "https://registry.npmjs.org/@babel/types/-/types-7.21.0.tgz";
sha512 = "uR7NWq2VNFnDi7EYqiRz2Jv/VQIu38tu64Zy8TX2nQFQ6etJ9V/Rr2msW8BS132mum2rL645qpDrLtAJtVpuow==";
};
};
"@discoveryjs/json-ext-0.5.5" = {
"@discoveryjs/json-ext-0.5.7" = {
name = "_at_discoveryjs_slash_json-ext";
packageName = "@discoveryjs/json-ext";
version = "0.5.5";
version = "0.5.7";
src = fetchurl {
url = "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.5.tgz";
sha512 = "6nFkfkmSeV/rqSaS4oWHgmpnYw194f6hmWF5is6b0J1naJZoiD0NTc9AiUwPHvWsowkjuHErCZT1wa0jg+BLIA==";
url = "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz";
sha512 = "dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==";
};
};
"@eslint/eslintrc-1.4.1" = {
@ -949,40 +949,40 @@ let
sha512 = "XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==";
};
};
"@fortawesome/fontawesome-common-types-6.2.1" = {
"@fortawesome/fontawesome-common-types-6.3.0" = {
name = "_at_fortawesome_slash_fontawesome-common-types";
packageName = "@fortawesome/fontawesome-common-types";
version = "6.2.1";
version = "6.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.2.1.tgz";
sha512 = "Sz07mnQrTekFWLz5BMjOzHl/+NooTdW8F8kDQxjWwbpOJcnoSg4vUDng8d/WR1wOxM0O+CY9Zw0nR054riNYtQ==";
url = "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.3.0.tgz";
sha512 = "4BC1NMoacEBzSXRwKjZ/X/gmnbp/HU5Qqat7E8xqorUtBFZS+bwfGH5/wqOC2K6GV0rgEobp3OjGRMa5fK9pFg==";
};
};
"@fortawesome/fontawesome-svg-core-6.2.1" = {
"@fortawesome/fontawesome-svg-core-6.3.0" = {
name = "_at_fortawesome_slash_fontawesome-svg-core";
packageName = "@fortawesome/fontawesome-svg-core";
version = "6.2.1";
version = "6.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.2.1.tgz";
sha512 = "HELwwbCz6C1XEcjzyT1Jugmz2NNklMrSPjZOWMlc+ZsHIVk+XOvOXLGGQtFBwSyqfJDNgRq4xBCwWOaZ/d9DEA==";
url = "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.3.0.tgz";
sha512 = "uz9YifyKlixV6AcKlOX8WNdtF7l6nakGyLYxYaCa823bEBqyj/U2ssqtctO38itNEwXb8/lMzjdoJ+aaJuOdrw==";
};
};
"@fortawesome/free-brands-svg-icons-6.2.1" = {
"@fortawesome/free-brands-svg-icons-6.3.0" = {
name = "_at_fortawesome_slash_free-brands-svg-icons";
packageName = "@fortawesome/free-brands-svg-icons";
version = "6.2.1";
version = "6.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.2.1.tgz";
sha512 = "L8l4MfdHPmZlJ72PvzdfwOwbwcCAL0vx48tJRnI6u1PJXh+j2f3yDoKyQgO3qjEsgD5Fr2tQV/cPP8F/k6aUig==";
url = "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-6.3.0.tgz";
sha512 = "xI0c+a8xnKItAXCN8rZgCNCJQiVAd2Y7p9e2ND6zN3J3ekneu96qrePieJ7yA7073C1JxxoM3vH1RU7rYsaj8w==";
};
};
"@fortawesome/free-solid-svg-icons-6.2.1" = {
"@fortawesome/free-solid-svg-icons-6.3.0" = {
name = "_at_fortawesome_slash_free-solid-svg-icons";
packageName = "@fortawesome/free-solid-svg-icons";
version = "6.2.1";
version = "6.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.2.1.tgz";
sha512 = "oKuqrP5jbfEPJWTij4sM+/RvgX+RMFwx3QZCZcK9PrBDgxC35zuc7AOFsyMjMd/PIFPeB2JxyqDr5zs/DZFPPw==";
url = "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.3.0.tgz";
sha512 = "x5tMwzF2lTH8pyv8yeZRodItP2IVlzzmBuD1M7BjawWgg9XAvktqJJ91Qjgoaf8qJpHQ8FEU9VxRfOkLhh86QA==";
};
};
"@fortawesome/vue-fontawesome-2.0.10" = {
@ -1021,6 +1021,15 @@ let
sha512 = "ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==";
};
};
"@jridgewell/gen-mapping-0.1.1" = {
name = "_at_jridgewell_slash_gen-mapping";
packageName = "@jridgewell/gen-mapping";
version = "0.1.1";
src = fetchurl {
url = "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz";
sha512 = "sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==";
};
};
"@jridgewell/gen-mapping-0.3.2" = {
name = "_at_jridgewell_slash_gen-mapping";
packageName = "@jridgewell/gen-mapping";
@ -1030,13 +1039,13 @@ let
sha512 = "mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==";
};
};
"@jridgewell/resolve-uri-3.0.5" = {
"@jridgewell/resolve-uri-3.1.0" = {
name = "_at_jridgewell_slash_resolve-uri";
packageName = "@jridgewell/resolve-uri";
version = "3.0.5";
version = "3.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz";
sha512 = "VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==";
url = "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz";
sha512 = "F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==";
};
};
"@jridgewell/set-array-1.1.2" = {
@ -1048,22 +1057,22 @@ let
sha512 = "xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==";
};
};
"@jridgewell/sourcemap-codec-1.4.11" = {
"@jridgewell/sourcemap-codec-1.4.14" = {
name = "_at_jridgewell_slash_sourcemap-codec";
packageName = "@jridgewell/sourcemap-codec";
version = "1.4.11";
version = "1.4.14";
src = fetchurl {
url = "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz";
sha512 = "Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg==";
url = "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz";
sha512 = "XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==";
};
};
"@jridgewell/trace-mapping-0.3.13" = {
"@jridgewell/trace-mapping-0.3.17" = {
name = "_at_jridgewell_slash_trace-mapping";
packageName = "@jridgewell/trace-mapping";
version = "0.3.13";
version = "0.3.17";
src = fetchurl {
url = "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz";
sha512 = "o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==";
url = "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz";
sha512 = "MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==";
};
};
"@leichtgewicht/ip-codec-2.0.3" = {
@ -1795,13 +1804,13 @@ let
sha512 = "DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==";
};
};
"axios-1.2.6" = {
"axios-1.3.4" = {
name = "axios";
packageName = "axios";
version = "1.2.6";
version = "1.3.4";
src = fetchurl {
url = "https://registry.npmjs.org/axios/-/axios-1.2.6.tgz";
sha512 = "rC/7F08XxZwjMV4iuWv+JpD3E0Ksqg9nac4IIg6RwNuF0JTeWoCo/mBNG54+tNhhI11G3/VDRbdDQTs9hGp4pQ==";
url = "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz";
sha512 = "toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==";
};
};
"babel-loader-9.1.2" = {
@ -2740,13 +2749,13 @@ let
sha512 = "TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==";
};
};
"eslint-8.33.0" = {
"eslint-8.34.0" = {
name = "eslint";
packageName = "eslint";
version = "8.33.0";
version = "8.34.0";
src = fetchurl {
url = "https://registry.npmjs.org/eslint/-/eslint-8.33.0.tgz";
sha512 = "WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA==";
url = "https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz";
sha512 = "1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==";
};
};
"eslint-config-airbnb-base-15.0.0" = {
@ -5386,13 +5395,13 @@ let
sha512 = "YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==";
};
};
"sass-1.57.1" = {
"sass-1.58.3" = {
name = "sass";
packageName = "sass";
version = "1.57.1";
version = "1.58.3";
src = fetchurl {
url = "https://registry.npmjs.org/sass/-/sass-1.57.1.tgz";
sha512 = "O2+LwLS79op7GI0xZ8fqzF7X2m/m8WFfI02dHOdsK5R2ECeS5F62zrwg/relM1rjSLy7Vd/DiMNIvPrQGsA0jw==";
url = "https://registry.npmjs.org/sass/-/sass-1.58.3.tgz";
sha512 = "Q7RaEtYf6BflYrQ+buPudKR26/lH+10EmO9bBqbmPh/KeLqv8bjpTNqxe71ocONqXq+jYiCbpPUmQMS+JJPk4A==";
};
};
"sass-loader-13.2.0" = {
@ -6205,13 +6214,13 @@ let
sha512 = "piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==";
};
};
"webpack-bundle-analyzer-4.7.0" = {
"webpack-bundle-analyzer-4.8.0" = {
name = "webpack-bundle-analyzer";
packageName = "webpack-bundle-analyzer";
version = "4.7.0";
version = "4.8.0";
src = fetchurl {
url = "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.7.0.tgz";
sha512 = "j9b8ynpJS4K+zfO5GGwsAcQX4ZHpWV+yRiHDiL+bE0XHJ8NiPYLTNVQdlFYWxtpg9lfAQNlwJg16J9AJtFSXRg==";
url = "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.8.0.tgz";
sha512 = "ZzoSBePshOKhr+hd8u6oCkZVwpVaXgpw23ScGLFpR6SjYI7+7iIWYarjN6OEYOfRt8o7ZyZZQk0DuMizJ+LEIg==";
};
};
"webpack-cli-4.10.0" = {
@ -6410,10 +6419,14 @@ let
version = "0.0.0";
src = ./.;
dependencies = [
sources."@ampproject/remapping-2.1.1"
(sources."@ampproject/remapping-2.2.0" // {
dependencies = [
sources."@jridgewell/gen-mapping-0.1.1"
];
})
sources."@babel/code-frame-7.18.6"
sources."@babel/compat-data-7.20.5"
(sources."@babel/core-7.20.12" // {
(sources."@babel/core-7.21.0" // {
dependencies = [
sources."debug-4.3.4"
sources."json5-2.2.3"
@ -6427,7 +6440,7 @@ let
sources."semver-6.3.0"
];
})
sources."@babel/generator-7.20.7"
sources."@babel/generator-7.21.0"
sources."@babel/helper-annotate-as-pure-7.18.6"
sources."@babel/helper-builder-binary-assignment-operator-visitor-7.18.6"
(sources."@babel/helper-compilation-targets-7.20.7" // {
@ -6448,11 +6461,11 @@ let
})
sources."@babel/helper-environment-visitor-7.18.9"
sources."@babel/helper-explode-assignable-expression-7.18.6"
sources."@babel/helper-function-name-7.19.0"
sources."@babel/helper-function-name-7.21.0"
sources."@babel/helper-hoist-variables-7.18.6"
sources."@babel/helper-member-expression-to-functions-7.18.9"
sources."@babel/helper-module-imports-7.18.6"
sources."@babel/helper-module-transforms-7.20.11"
sources."@babel/helper-module-transforms-7.21.0"
sources."@babel/helper-optimise-call-expression-7.18.6"
sources."@babel/helper-plugin-utils-7.20.2"
sources."@babel/helper-remap-async-to-generator-7.18.9"
@ -6464,9 +6477,9 @@ let
sources."@babel/helper-validator-identifier-7.19.1"
sources."@babel/helper-validator-option-7.18.6"
sources."@babel/helper-wrap-function-7.18.10"
sources."@babel/helpers-7.20.7"
sources."@babel/helpers-7.21.0"
sources."@babel/highlight-7.18.6"
sources."@babel/parser-7.20.7"
sources."@babel/parser-7.21.0"
sources."@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6"
sources."@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9"
sources."@babel/plugin-proposal-async-generator-functions-7.20.1"
@ -6539,14 +6552,14 @@ let
sources."@babel/preset-modules-0.1.5"
sources."@babel/runtime-7.14.6"
sources."@babel/template-7.20.7"
(sources."@babel/traverse-7.20.12" // {
(sources."@babel/traverse-7.21.0" // {
dependencies = [
sources."debug-4.3.3"
sources."ms-2.1.2"
];
})
sources."@babel/types-7.20.7"
sources."@discoveryjs/json-ext-0.5.5"
sources."@babel/types-7.21.0"
sources."@discoveryjs/json-ext-0.5.7"
(sources."@eslint/eslintrc-1.4.1" // {
dependencies = [
sources."debug-4.3.3"
@ -6554,10 +6567,10 @@ let
sources."ms-2.1.2"
];
})
sources."@fortawesome/fontawesome-common-types-6.2.1"
sources."@fortawesome/fontawesome-svg-core-6.2.1"
sources."@fortawesome/free-brands-svg-icons-6.2.1"
sources."@fortawesome/free-solid-svg-icons-6.2.1"
sources."@fortawesome/fontawesome-common-types-6.3.0"
sources."@fortawesome/fontawesome-svg-core-6.3.0"
sources."@fortawesome/free-brands-svg-icons-6.3.0"
sources."@fortawesome/free-solid-svg-icons-6.3.0"
sources."@fortawesome/vue-fontawesome-2.0.10"
(sources."@humanwhocodes/config-array-0.11.8" // {
dependencies = [
@ -6568,10 +6581,10 @@ let
sources."@humanwhocodes/module-importer-1.0.1"
sources."@humanwhocodes/object-schema-1.2.1"
sources."@jridgewell/gen-mapping-0.3.2"
sources."@jridgewell/resolve-uri-3.0.5"
sources."@jridgewell/resolve-uri-3.1.0"
sources."@jridgewell/set-array-1.1.2"
sources."@jridgewell/sourcemap-codec-1.4.11"
sources."@jridgewell/trace-mapping-0.3.13"
sources."@jridgewell/sourcemap-codec-1.4.14"
sources."@jridgewell/trace-mapping-0.3.17"
sources."@leichtgewicht/ip-codec-2.0.3"
sources."@nicolo-ribaudo/eslint-scope-5-internals-5.1.1-v1"
sources."@nodelib/fs.scandir-2.1.5"
@ -6655,7 +6668,7 @@ let
sources."array.prototype.flatmap-1.3.1"
sources."asynckit-0.4.0"
sources."available-typed-arrays-1.0.5"
sources."axios-1.2.6"
sources."axios-1.3.4"
(sources."babel-loader-9.1.2" // {
dependencies = [
sources."ajv-8.12.0"
@ -6790,7 +6803,7 @@ let
sources."escalade-3.1.1"
sources."escape-html-1.0.3"
sources."escape-string-regexp-1.0.5"
(sources."eslint-8.33.0" // {
(sources."eslint-8.34.0" // {
dependencies = [
sources."ansi-styles-4.3.0"
sources."chalk-4.1.2"
@ -7186,7 +7199,7 @@ let
sources."safe-buffer-5.1.2"
sources."safe-regex-test-1.0.0"
sources."safer-buffer-2.1.2"
sources."sass-1.57.1"
sources."sass-1.58.3"
sources."sass-loader-13.2.0"
sources."schema-utils-3.1.1"
sources."select-hose-2.0.0"
@ -7318,7 +7331,7 @@ let
sources."watchpack-2.4.0"
sources."wbuf-1.7.3"
sources."webpack-5.75.0"
(sources."webpack-bundle-analyzer-4.7.0" // {
(sources."webpack-bundle-analyzer-4.8.0" // {
dependencies = [
sources."ansi-styles-4.3.0"
sources."chalk-4.1.2"

View file

@ -0,0 +1,42 @@
{ python3Packages
, fetchFromGitHub
, lib
, wrapQtAppsHook
, qtbase }:
python3Packages.buildPythonApplication rec {
pname = "hue-plus";
version = "1.4.5";
src = fetchFromGitHub {
owner = "kusti8";
repo = pname;
rev = "7ce7c4603c6d0ab1da29b0d4080aa05f57bd1760";
sha256 = "sha256-dDIJXhB3rmKnawOYJHE7WK38b0M5722zA+yLgpEjDyI=";
};
buildInputs = [ qtbase ];
nativeBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = with python3Packages; [
pyserial pyqt5 pyaudio appdirs setuptools
];
doCheck = false;
dontWrapQtApps = true;
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
];
meta = with lib; {
homepage = "https://github.com/kusti8/hue-plus";
description = "A Windows and Linux driver in Python for the NZXT Hue+";
longDescription = ''
A cross-platform driver in Python for the NZXT Hue+. Supports all functionality except FPS, CPU, and GPU lighting.
'';
license = licenses.gpl3Only;
maintainers = with maintainers; [ garaiza-93 ];
};
}

View file

@ -9,14 +9,14 @@
rustPlatform.buildRustPackage rec {
pname = "process-viewer";
version = "0.5.6";
version = "0.5.8";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-ELASfcXNhUCE/mhPKBHA78liFMbcT9RB/aoLt4ZRPa0=";
sha256 = "sha256-mEmtLCtHlrCurjKKJ3vEtEkLBik4LwuUED5UeQ1QLws=";
};
cargoSha256 = "sha256-K2kyZwKRALh9ImPngijgpoHyLS+c5sDYviN74JxhJLM=";
cargoSha256 = "sha256-lgVByl+mpCDbhwlC1Eiw9ZkHIDYJsOR06Ds790pXOMc=";
nativeBuildInputs = [ pkg-config ];

View file

@ -17,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "lagrange";
version = "1.15.3";
version = "1.15.4";
src = fetchFromGitHub {
owner = "skyjake";
repo = "lagrange";
rev = "v${finalAttrs.version}";
hash = "sha256-BKDN2DtLoG+E+R+yBSBpF4PWv+pRLNYZvX/3BqEIxVQ=";
hash = "sha256-l69h0+yMX4vzQ1GYB1AqhZc1ztMKF/7PthxEDarizek=";
};
nativeBuildInputs = [ cmake pkg-config zip ];

View file

@ -0,0 +1,40 @@
{ lib, fetchurl, appimageTools, wrapGAppsHook }:
let
pname = "openlens";
version = "6.4.5";
src = fetchurl {
url = "https://github.com/MuhammedKalkan/OpenLens/releases/download/v${version}/OpenLens-${version}.x86_64.AppImage";
sha256 = "sha256-Lwl4unhXSyYCEImiPncAnmIQt26CD4horsREMyi6nuA=";
};
appimageContents = appimageTools.extractType2 {
inherit pname version src;
};
in
appimageTools.wrapType2 {
inherit pname version src;
unshareIpc = false;
extraInstallCommands = ''
mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${appimageContents}/open-lens.desktop $out/share/applications/${pname}.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/open-lens.png \
$out/share/icons/hicolor/512x512/apps/${pname}.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Icon=open-lens' 'Icon=${pname}' \
--replace 'Exec=AppRun' 'Exec=${pname}'
'';
meta = with lib; {
description = "The Kubernetes IDE";
homepage = "https://github.com/MuhammedKalkan/OpenLens";
license = licenses.mit;
maintainers = with maintainers; [ benwbooth sebtm ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "dnscontrol";
version = "3.27.1";
version = "3.27.2";
src = fetchFromGitHub {
owner = "StackExchange";
repo = pname;
rev = "v${version}";
sha256 = "sha256-WXYmV4QE0OPv1reYX+YrmqGdnRUDHXBt60NIUDLTDLk=";
sha256 = "sha256-2U5DlXnW+mCxGfdjikeMm+k+KyxDwjXmjGrH3uq4lJo=";
};
vendorHash = "sha256-FxKmFDx5ckLm8uJB9ouYSwjX+Pu20In6ertGzhhlEwA=";
vendorHash = "sha256-h0n0dR1iqeVEFvcDeMlfBu7mlrSNloAih2ZhT3ML1FI=";
ldflags = [ "-s" "-w" ];

View file

@ -0,0 +1,122 @@
{ lib
, stdenvNoCC
, rustPlatform
, fetchFromGitHub
, buildNpmPackage
, perl
, pkg-config
, glib
, webkitgtk
, libappindicator-gtk3
, libayatana-appindicator
, cairo
, openssl
}:
let
version = "4.7.8";
geph-meta = with lib; {
description = "A modular Internet censorship circumvention system designed specifically to deal with national filtering.";
homepage = "https://geph.io";
platforms = platforms.linux;
maintainers = with maintainers; [ penalty1083 ];
};
in
{
cli = rustPlatform.buildRustPackage rec {
pname = "geph4-client";
inherit version;
src = fetchFromGitHub {
owner = "geph-official";
repo = pname;
rev = "v${version}";
hash = "sha256-DVGbLyFgraQMSIUAqDehF8DqbnvcaeWbuLVgiSQY3KE=";
};
cargoHash = "sha256-uBq6rjUnKEscwhu60HEZffLvuXcArz+AiR52org+qKw=";
nativeBuildInputs = [ perl ];
meta = geph-meta // {
license = with lib.licenses; [ gpl3Only ];
};
};
gui = stdenvNoCC.mkDerivation rec {
pname = "geph-gui";
inherit version;
src = fetchFromGitHub {
owner = "geph-official";
repo = "gephgui-pkg";
rev = "85a55bfc2f4314d9c49608f252080696b1f8e2a9";
hash = "sha256-id/sfaQsF480kUXg//O5rBIciuuhDuXY19FQe1E3OQs=";
fetchSubmodules = true;
};
gephgui = buildNpmPackage {
pname = "gephgui";
inherit version src;
sourceRoot = "source/gephgui-wry/gephgui";
postPatch = "ln -s ${./package-lock.json} ./package-lock.json";
npmDepsHash = "sha256-5y6zpMF4M56DiWVhMvjJGsYpVdlJSoWoWyPgLc7hJoo=";
installPhase = ''
runHook preInstall
mkdir -p $out
mv dist $out
runHook postInstall
'';
};
gephgui-wry = rustPlatform.buildRustPackage rec {
pname = "gephgui-wry";
inherit version src;
sourceRoot = "source/gephgui-wry";
cargoHash = "sha256-lidlUUfHXKPUlICdaVv/SFlyyWsZ7cYHyTJ3kkMn3L4=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
glib
webkitgtk
libappindicator-gtk3
libayatana-appindicator
cairo
openssl
];
preBuild = ''
ln -s ${gephgui}/dist ./gephgui
'';
};
dontBuild = true;
installPhase = ''
install -Dt $out/bin ${gephgui-wry}/bin/gephgui-wry
install -d $out/share/icons/hicolor
for i in '16' '32' '64' '128' '256'
do
name=''${i}x''${i}
dir=$out/share/icons/hicolor
mkdir -p $dir
mv flatpak/icons/$name $dir
done
install -Dt $out/share/applications flatpak/icons/io.geph.GephGui.desktop
sed -i -e '/StartupWMClass/s/=.*/=gephgui-wry/' $out/share/applications/io.geph.GephGui.desktop
'';
meta = geph-meta // {
license = with lib.licenses; [ unfree ];
};
};
}

File diff suppressed because it is too large Load diff

View file

@ -19,25 +19,25 @@
}:
let
pinData = lib.importJSON ./pin.json;
pinData = import ./pin.nix;
inherit (pinData.hashes) desktopSrcHash desktopYarnHash;
executableName = "element-desktop";
keytar = callPackage ./keytar { inherit Security AppKit; };
seshat = callPackage ./seshat { inherit CoreServices; };
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // {
pname = "element-desktop";
inherit (pinData) version;
name = "${pname}-${version}";
name = "${finalAttrs.pname}-${finalAttrs.version}";
src = fetchFromGitHub {
owner = "vector-im";
repo = "element-desktop";
rev = "v${version}";
sha256 = pinData.desktopSrcHash;
rev = "v${finalAttrs.version}";
sha256 = desktopSrcHash;
};
offlineCache = fetchYarnDeps {
yarnLock = src + "/yarn.lock";
sha256 = pinData.desktopYarnHash;
yarnLock = finalAttrs.src + "/yarn.lock";
sha256 = desktopYarnHash;
};
nativeBuildInputs = [ yarn fixup_yarn_lock nodejs makeWrapper ]
@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
# desktop item
mkdir -p "$out/share"
ln -s "${desktopItem}/share/applications" "$out/share/applications"
ln -s "${finalAttrs.desktopItem}/share/applications" "$out/share/applications"
# executable wrapper
# LD_PRELOAD workaround for sqlcipher not found: https://github.com/matrix-org/seshat/issues/102
@ -117,7 +117,7 @@ stdenv.mkDerivation rec {
icon = "element";
desktopName = "Element";
genericName = "Matrix Client";
comment = meta.description;
comment = finalAttrs.meta.description;
categories = [ "Network" "InstantMessaging" "Chat" ];
startupWMClass = "element";
mimeTypes = [ "x-scheme-handler/element" ];
@ -141,9 +141,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A feature-rich client for Matrix.org";
homepage = "https://element.io/";
changelog = "https://github.com/vector-im/element-desktop/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/vector-im/element-desktop/blob/v${finalAttrs.version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = teams.matrix.members;
inherit (electron.meta) platforms;
};
}
})

View file

@ -12,25 +12,25 @@
}:
let
pinData = lib.importJSON ./pin.json;
pinData = import ./pin.nix;
inherit (pinData.hashes) webSrcHash webYarnHash;
noPhoningHome = {
disable_guests = true; # disable automatic guest account registration at matrix.org
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // {
pname = "element-web";
inherit (pinData) version;
src = fetchFromGitHub {
owner = "vector-im";
repo = pname;
rev = "v${version}";
sha256 = pinData.webSrcHash;
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
sha256 = webSrcHash;
};
offlineCache = fetchYarnDeps {
yarnLock = src + "/yarn.lock";
sha256 = pinData.webYarnHash;
yarnLock = finalAttrs.src + "/yarn.lock";
sha256 = webYarnHash;
};
nativeBuildInputs = [ yarn fixup_yarn_lock jq nodejs ];
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
runHook preBuild
export VERSION=${version}
export VERSION=${finalAttrs.version}
yarn build:res --offline
yarn build:module_system --offline
yarn build:bundle --offline
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
cp -R webapp $out
cp ${jitsi-meet}/libs/external_api.min.js $out/jitsi_external_api.min.js
echo "${version}" > "$out/version"
echo "${finalAttrs.version}" > "$out/version"
jq -s '.[0] * $conf' "config.sample.json" --argjson "conf" '${builtins.toJSON noPhoningHome}' > "$out/config.json"
runHook postInstall
@ -79,9 +79,9 @@ stdenv.mkDerivation rec {
meta = {
description = "A glossy Matrix collaboration client for the web";
homepage = "https://element.io/";
changelog = "https://github.com/vector-im/element-web/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/vector-im/element-web/blob/v${finalAttrs.version}/CHANGELOG.md";
maintainers = lib.teams.matrix.members;
license = lib.licenses.asl20;
platforms = lib.platforms.all;
};
}
})

View file

@ -1,7 +0,0 @@
{
"version": "1.11.24",
"desktopSrcHash": "eAcJwoifIg0yCcYyeueVOL6CeGVMwmHpbr58MOUpK9I=",
"desktopYarnHash": "175ln40xp4djzc9wrx2vfg6did4rxy7nyxm6vs95pcbpv1i84g97",
"webSrcHash": "45xyfflTGA9LQxKi2WghYdDN0+R4ntjIPONnm+CJ5Dk=",
"webYarnHash": "1rwlx73chgq7x4zki9w4y3br8ypvk37vi6agqhk2dvq6y4znr93y"
}

View file

@ -0,0 +1,9 @@
{
"version" = "1.11.24";
"hashes" = {
"desktopSrcHash" = "eAcJwoifIg0yCcYyeueVOL6CeGVMwmHpbr58MOUpK9I=";
"desktopYarnHash" = "175ln40xp4djzc9wrx2vfg6did4rxy7nyxm6vs95pcbpv1i84g97";
"webSrcHash" = "45xyfflTGA9LQxKi2WghYdDN0+R4ntjIPONnm+CJ5Dk=";
"webYarnHash" = "1rwlx73chgq7x4zki9w4y3br8ypvk37vi6agqhk2dvq6y4znr93y";
};
}

View file

@ -42,12 +42,14 @@ wget "$desktop_src/yarn.lock"
desktop_yarn_hash=$(prefetch-yarn-deps yarn.lock)
popd
cat > pin.json << EOF
cat > pin.nix << EOF
{
"version": "$version",
"desktopSrcHash": "$desktop_src_hash",
"desktopYarnHash": "$desktop_yarn_hash",
"webSrcHash": "$web_src_hash",
"webYarnHash": "$web_yarn_hash"
"version" = "$version";
"hashes" = {
"desktopSrcHash" = "$desktop_src_hash";
"desktopYarnHash" = "$desktop_yarn_hash";
"webSrcHash" = "$web_src_hash";
"webYarnHash" = "$web_yarn_hash";
};
}
EOF

View file

@ -177,6 +177,14 @@ def update_gitaly():
_call_nix_update('gitaly', gitaly_server_version)
@cli.command('update-gitlab-pages')
def update_gitlab_pages():
"""Update gitlab-shell"""
data = _get_data_json()
gitlab_pages_version = data['passthru']['GITLAB_PAGES_VERSION']
_call_nix_update('gitlab-pages', gitlab_pages_version)
@cli.command('update-gitlab-shell')
def update_gitlab_shell():
"""Update gitlab-shell"""
@ -201,6 +209,7 @@ def update_all(ctx, rev: str):
ctx.invoke(update_data, rev=rev)
ctx.invoke(update_rubyenv)
ctx.invoke(update_gitaly)
ctx.invoke(update_gitlab_pages)
ctx.invoke(update_gitlab_shell)
ctx.invoke(update_gitlab_workhorse)

View file

@ -35,8 +35,7 @@
let
# do not add qemu to this wrapper, store paths get written to the podman vm config and break when GCed
binPath = lib.makeBinPath ([
] ++ lib.optionals stdenv.isLinux [
binPath = lib.makeBinPath (lib.optionals stdenv.isLinux [
runc
crun
conmon

View file

@ -32,7 +32,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -34,7 +34,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -35,7 +35,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -37,7 +37,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -37,7 +37,18 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.m68k ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -86,7 +86,18 @@ in let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.m68k ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -20,7 +20,16 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -20,7 +20,16 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -32,7 +32,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -32,7 +32,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -32,7 +32,17 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -36,7 +36,18 @@ let
llvm_meta = {
license = lib.licenses.ncsa;
maintainers = lib.teams.llvm.members;
platforms = lib.platforms.all;
# See llvm/cmake/config-ix.cmake.
platforms =
lib.platforms.aarch64 ++
lib.platforms.arm ++
lib.platforms.m68k ++
lib.platforms.mips ++
lib.platforms.power ++
lib.platforms.riscv ++
lib.platforms.s390x ++
lib.platforms.wasi ++
lib.platforms.x86;
};
tools = lib.makeExtensible (tools: let

View file

@ -1,24 +1,39 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, makeWrapper, pcre2, coreutils, which, openssl, libxml2, cmake, z3, substituteAll, python3,
cc ? stdenv.cc, lto ? !stdenv.isDarwin }:
{ lib
, stdenv
, fetchFromGitHub
, callPackage
, cc ? stdenv.cc
, cmake
, coreutils
, libxml2
, lto ? !stdenv.isDarwin
, makeWrapper
, openssl
, pcre2
, pony-corral
, python3
, substituteAll
, which
, z3
}:
stdenv.mkDerivation (rec {
pname = "ponyc";
version = "0.50.0";
version = "0.54.0";
src = fetchFromGitHub {
owner = "ponylang";
repo = pname;
rev = version;
sha256 = "sha256-FnzlFTiJrqoUfnys+q9is6OH9yit5ExDiRszQ679QbY=";
hash = "sha256-qFPubqGfK0WCun6QA1OveyDJj7Wf6SQpky7pEb7qsf4=";
fetchSubmodules = true;
};
ponygbenchmark = fetchFromGitHub {
owner = "google";
repo = "benchmark";
rev = "v1.5.4";
sha256 = "1dbjdjzkpbsq3jl9ksyg8mw759vkac8qzq1557m73ldnavbhz48x";
rev = "v1.7.1";
hash = "sha256-gg3g/0Ki29FnGqKv9lDTs5oA9NjH23qQ+hTdVtSU+zo=";
};
nativeBuildInputs = [ cmake makeWrapper which python3 ];
@ -32,15 +47,11 @@ stdenv.mkDerivation (rec {
googletest = fetchFromGitHub {
owner = "google";
repo = "googletest";
rev = "release-1.10.0";
sha256 = "1zbmab9295scgg4z2vclgfgjchfjailjnvzc6f5x9jvlsdi3dpwz";
# GoogleTest follows Abseil Live at Head philosophy, use latest commit from main branch as often as possible.
rev = "1a727c27aa36c602b24bf170a301aec8686b88e8"; # unstable-2023-03-07
hash = "sha256-/FWBSxZESwj/QvdNK5BI2EfonT64DP1eGBZR4O8uJww=";
};
})
(fetchpatch {
name = "remove-decnet-header.patch";
url = "https://github.com/ponylang/ponyc/commit/e5b9b5daec5b19415d519b09954cbd3cf5f34220.patch";
hash = "sha256-60cOhBBwQxWLwEx+svtFtJ7POQkHzJo2LDPRJ5L/bNk=";
})
];
postUnpack = ''
@ -52,9 +63,6 @@ stdenv.mkDerivation (rec {
dontConfigure = true;
postPatch = ''
# Patching Vendor LLVM
patchShebangs --host build/build_libs/gbenchmark-prefix/src/benchmark/tools/*.py
patch -d lib/llvm/src/ -p1 < lib/llvm/patches/2020-07-28-01-c-exports.diff
substituteInPlace packages/process/_test.pony \
--replace '"/bin/' '"${coreutils}/bin/' \
--replace '=/bin' "${coreutils}/bin"
@ -63,7 +71,6 @@ stdenv.mkDerivation (rec {
--replace "/opt/local/lib" ""
'';
preBuild = ''
make libs build_flags=-j$NIX_BUILD_CORES
make configure build_flags=-j$NIX_BUILD_CORES
@ -72,17 +79,14 @@ stdenv.mkDerivation (rec {
makeFlags = [
"PONYC_VERSION=${version}"
"prefix=${placeholder "out"}"
]
++ lib.optionals stdenv.isDarwin [ "bits=64" ]
++ lib.optionals (stdenv.isDarwin && (!lto)) [ "lto=no" ];
doCheck = true;
] ++ lib.optionals stdenv.isDarwin ([ "bits=64" ] ++ lib.optional (!lto) "lto=no");
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=redundant-move" "-Wno-error=implicit-fallthrough" ];
doCheck = true;
installPhase = "make config=release prefix=$out "
+ lib.optionalString stdenv.isDarwin "bits=64 "
+ lib.optionalString (stdenv.isDarwin && (!lto)) "lto=no "
+ lib.optionalString stdenv.isDarwin ("bits=64 " + (lib.optionalString (!lto) "lto=no "))
+ '' install
wrapProgram $out/bin/ponyc \
--prefix PATH ":" "${stdenv.cc}/bin" \
@ -93,11 +97,13 @@ stdenv.mkDerivation (rec {
# Stripping breaks linking for ponyc
dontStrip = true;
passthru.tests.pony-corral = pony-corral;
meta = with lib; {
description = "Pony is an Object-oriented, actor-model, capabilities-secure, high performance programming language";
homepage = "https://www.ponylang.org";
license = licenses.bsd2;
maintainers = with maintainers; [ kamilchm patternspandemic redvers ];
maintainers = with maintainers; [ kamilchm patternspandemic redvers superherointj ];
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
};
})

View file

@ -1,18 +1,26 @@
From e26ae067644ea780f050fb900bd850027bb86456 Mon Sep 17 00:00:00 2001
From: superherointj <5861043+superherointj@users.noreply.github.com>
Date: Tue, 7 Mar 2023 14:59:31 -0300
Subject: [PATCH] make-safe-for-sandbox.patch
---
lib/CMakeLists.txt | 80 ++--------------------------------------------
1 file changed, 2 insertions(+), 78 deletions(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index dab2aaef..26b587b1 100644
index 129e26e6..d25bdf9d 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -36,7 +36,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
endif()
@@ -32,14 +32,14 @@ endif()
set(PONYC_GBENCHMARK_URL https://github.com/google/benchmark/archive/v1.7.1.tar.gz)
ExternalProject_Add(gbenchmark
- URL ${PONYC_GBENCHMARK_URL}
+ SOURCE_DIR gbenchmark-prefix/src/benchmark
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DCMAKE_CXX_FLAGS=${PONY_PIC_FLAG} --no-warn-unused-cli
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DBENCHMARK_ENABLE_WERROR=OFF -DCMAKE_CXX_FLAGS=${PONY_PIC_FLAG} --no-warn-unused-cli
)
@@ -46,7 +46,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
endif()
set(PONYC_GOOGLETEST_URL https://github.com/google/googletest/archive/release-1.12.1.tar.gz)
ExternalProject_Add(googletest
- URL ${PONYC_GOOGLETEST_URL}
@ -20,14 +28,14 @@ index dab2aaef..26b587b1 100644
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DCMAKE_CXX_FLAGS=${PONY_PIC_FLAG} -Dgtest_force_shared_crt=ON --no-warn-unused-cli
)
@@ -59,82 +59,6 @@ install(TARGETS blake2
@@ -52,82 +52,6 @@ install(TARGETS blake2
COMPONENT library
)
-find_package(Git)
-
-set(LLVM_DESIRED_HASH "75e33f71c2dae584b13a7d1186ae0a038ba98838")
-set(PATCHES_DESIRED_HASH "a16f299fbfced16a2bbc628746db341f2a5af9ae8cc9c9ef4b1e9ca26de3c292")
-set(LLVM_DESIRED_HASH "1f9140064dfbfb0bbda8e51306ea51080b2f7aac")
-set(PATCHES_DESIRED_HASH "3e16c097794cb669a8f6a0bd7600b440205ac5c29a6135750c2e83263eb16a95")
-
-if(GIT_FOUND)
- if(EXISTS "${PROJECT_SOURCE_DIR}/../.git")
@ -102,4 +110,7 @@ index dab2aaef..26b587b1 100644
-
message("Building targets: ${LLVM_TARGETS_TO_BUILD}")
set(LLVM_ENABLE_BINDINGS OFF)
set(LLVM_ENABLE_BINDINGS OFF CACHE BOOL "ponyc specific override of LLVM cache entry")
--
2.39.2

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation ( rec {
pname = "corral";
version = "0.6.1";
version = "unstable-2023-02-11";
src = fetchFromGitHub {
owner = "ponylang";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-Rv1K6kFRylWodm1uACBs8KqqEqQZh86NqAG50heNteE=";
rev = "f31353a9ec9cd7eab6ee89079ae6a782192fd4b5";
hash = "sha256-jTx/7iFvmwOdjGVf/6NUy+FTkv6Mkv8DeotJ67pvmtc=";
};
buildInputs = [ ponyc ];
@ -24,7 +24,7 @@ stdenv.mkDerivation ( rec {
homepage = "https://www.ponylang.io";
changelog = "https://github.com/ponylang/corral/blob/${version}/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ redvers ];
maintainers = with maintainers; [ redvers superherointj ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
})

View file

@ -3,9 +3,13 @@
, fetchurl
, pkg-config
, hidapi
, libftdi1
, libusb1
, libgpiod
, enableFtdi ? true, libftdi1
# Allow selection the hardware targets (SBCs, JTAG Programmers, JTAG Adapters)
, extraHardwareSupport ? []
}:
stdenv.mkDerivation rec {
@ -24,17 +28,14 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-werror"
"--enable-jtag_vpi"
"--enable-usb_blaster_libftdi"
(lib.enableFeature (! stdenv.isDarwin) "amtjtagaccel")
(lib.enableFeature (! stdenv.isDarwin) "gw16012")
"--enable-presto_libftdi"
"--enable-openjtag_ftdi"
(lib.enableFeature (! stdenv.isDarwin) "oocd_trace")
"--enable-buspirate"
(lib.enableFeature stdenv.isLinux "sysfsgpio")
(lib.enableFeature stdenv.isLinux "linuxgpiod")
"--enable-remote-bitbang"
];
(lib.enableFeature enableFtdi "ftdi")
(lib.enableFeature stdenv.isLinux "linuxgpiod")
(lib.enableFeature stdenv.isLinux "sysfsgpio")
] ++
map (hardware: "--enable-${hardware}") extraHardwareSupport
;
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
"-Wno-error=cpp"

View file

@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "bc-decaf";
version = "linphone-4.4.1";
version = "unstable-2022-07-20";
nativeBuildInputs = [ cmake ];
buildInputs = [
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
group = "BC";
owner = "public/external";
repo = "decaf";
rev = "6e78a9beb24d1e3d7050dd52a65e4f88b101a1fc";
sha256 = "sha256-D2SzkinloL0Ya9p25YUsc+7lKvoTMUsdkKrkv/5AEeY=";
rev = "876ddb4d465c94f97beba1be450e8538d866cc5d";
sha256 = "sha256-QFOAgLiPbG2ZdwKoCOrVD5/sPq9IH4rtAWnnk/rZWcs=";
};
# Do not build static libraries and do not enable -Werror

View file

@ -128,7 +128,7 @@ let
oxygen-icons5 = callPackage ./oxygen-icons5.nix {};
prison = callPackage ./prison.nix {};
qqc2-desktop-style = callPackage ./qqc2-desktop-style.nix {};
solid = callPackage ./solid.nix {};
solid = callPackage ./solid {};
sonnet = callPackage ./sonnet.nix {};
syntax-highlighting = callPackage ./syntax-highlighting.nix {};
threadweaver = callPackage ./threadweaver.nix {};

View file

@ -6,6 +6,7 @@
mkDerivation {
pname = "solid";
patches = [ ./fix-search-path.patch ];
nativeBuildInputs = [ bison extra-cmake-modules flex media-player-info ];
buildInputs = [ qtdeclarative qttools ];
propagatedBuildInputs = [ qtbase ];

View file

@ -0,0 +1,17 @@
diff --git a/src/solid/devices/backends/fstab/fstabhandling.cpp b/src/solid/devices/backends/fstab/fstabhandling.cpp
index ac2a628..7ee46cc 100644
--- a/src/solid/devices/backends/fstab/fstabhandling.cpp
+++ b/src/solid/devices/backends/fstab/fstabhandling.cpp
@@ -275,7 +275,11 @@ bool Solid::Backends::Fstab::FstabHandling::callSystemCommand(const QString &com
const QObject *receiver,
std::function<void(QProcess *)> callback)
{
- static const QStringList searchPaths{QStringLiteral("/sbin"), QStringLiteral("/bin"), QStringLiteral("/usr/sbin"), QStringLiteral("/usr/bin")};
+ static const QStringList searchPaths{QStringLiteral("/run/wrappers/bin"),
+ QStringLiteral("/sbin"),
+ QStringLiteral("/bin"),
+ QStringLiteral("/usr/sbin"),
+ QStringLiteral("/usr/bin")};
static const QString joinedPaths = searchPaths.join(QLatin1Char(':'));
const QString exec = QStandardPaths::findExecutable(commandName, searchPaths);
if (exec.isEmpty()) {

View file

@ -9,7 +9,8 @@
, help2man
, systemd
, bash-completion
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
, buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection
}:

View file

@ -8,7 +8,8 @@
, glib
, gdk-pixbuf
, gnome
, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform)
, buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection
}:

View file

@ -10,7 +10,8 @@
, libcap_ng
, libvirt
, libxml2
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
, buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection
, withDocs ? stdenv.hostPlatform == stdenv.buildPlatform
, gtk-doc

View file

@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
];
]
++ lib.optional withPython python.pkgs.pythonImportsCheckHook;
buildInputs = [
root_py
@ -50,11 +51,7 @@ stdenv.mkDerivation rec {
--replace 'readlink' '${coreutils}/bin/readlink'
'';
doInstallCheck = withPython;
# prevent nix from trying to dereference a null python
installCheckPhase = lib.optionalString withPython ''
PYTHONPATH=${placeholder "out"}/${python.sitePackages} python -c 'import pyHepMC3'
'';
pythonImportsCheck = [ "pyHepMC3" ];
meta = with lib; {
description = "The HepMC package is an object oriented, C++ event record for High Energy Physics Monte Carlo generators and simulation";

View file

@ -26,7 +26,7 @@ let
in
stdenv.mkDerivation rec {
pname = "wireplumber";
version = "0.4.13";
version = "0.4.14";
outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
owner = "pipewire";
repo = "wireplumber";
rev = version;
sha256 = "sha256-Zz8N6OPwZ4Dwaygiy46C3sN9zPGC12+55S/qns+S+h4=";
sha256 = "sha256-PKS+WErdZuSU4jrFHQcRbnZIHlnlv06R6ZxIAIBptko=";
};
nativeBuildInputs = [

View file

@ -13,12 +13,15 @@
, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, xcbutilwm , zlib, at-spi2-core
# optional dependencies
, cups ? null, libmysqlclient ? null, postgresql ? null
, cups ? null, postgresql ? null
, withGtk3 ? false, dconf, gtk3
# options
, libGLSupported ? !stdenv.isDarwin
, libGL
# qmake detection for libmysqlclient does not seem to work when cross compiling
, mysqlSupport ? stdenv.hostPlatform == stdenv.buildPlatform
, libmysqlclient
, buildExamples ? false
, buildTests ? false
, debug ? false
@ -73,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
)
++ lib.optional developerBuild gdb
++ lib.optional (cups != null) cups
++ lib.optional (libmysqlclient != null) libmysqlclient
++ lib.optional (mysqlSupport) libmysqlclient
++ lib.optional (postgresql != null) postgresql;
nativeBuildInputs = [ bison flex gperf lndir perl pkg-config which ]
@ -258,7 +261,7 @@ stdenv.mkDerivation (finalAttrs: {
"-L" "${lib.getLib openssl}/lib"
"-I" "${openssl.dev}/include"
"-system-sqlite"
''-${if libmysqlclient != null then "plugin" else "no"}-sql-mysql''
''-${if mysqlSupport then "plugin" else "no"}-sql-mysql''
''-${if postgresql != null then "plugin" else "no"}-sql-psql''
"-make libs"
@ -297,7 +300,7 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals (cups != null) [
"-L" "${cups.lib}/lib"
"-I" "${cups.dev}/include"
] ++ lib.optionals (libmysqlclient != null) [
] ++ lib.optionals (mysqlSupport) [
"-L" "${libmysqlclient}/lib"
"-I" "${libmysqlclient}/include"
]

View file

@ -17,7 +17,7 @@ buildDunePackage rec {
owner = "abeaumont";
repo = "ocaml-chacha";
rev = version;
sha256 = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k=";
hash = "sha256-PmeiFloU0k3SqOK1VjaliiCEzDzrzyMSasgnO5fJS1k=";
};
# Ensure compatibility with cstruct ≥ 6.1.0
@ -27,6 +27,7 @@ buildDunePackage rec {
})];
minimalOCamlVersion = "4.02";
duneVersion = "3";
propagatedBuildInputs = [ cstruct mirage-crypto ];

View file

@ -0,0 +1,63 @@
{ lib
, fetchurl
, fetchpatch
, buildDunePackage
, h2
, httpaf
, mimic-happy-eyeballs
, mirage-clock
, paf
, tcpip
, x509
, alcotest-lwt
, mirage-clock-unix
, mirage-crypto-rng
, mirage-time-unix
}:
buildDunePackage rec {
pname = "http-mirage-client";
version = "0.0.2";
duneVersion = "3";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz";
hash = "sha256-stom13t3Kn1ehkeURem39mxhd3Lmlz8z9m3tHGcp5vY=";
};
# Make tests use mirage-crypto
patches = lib.lists.map fetchpatch [
{ url = "https://github.com/roburio/http-mirage-client/commit/c6cd38db9c23ac23e7c3e4cf2d41420f58034e8d.patch";
hash = "sha256-b3rurqF0DxLpVQEhVfROwc7qyul0Fjfl3zhD8AkzemU="; }
{ url = "https://github.com/roburio/http-mirage-client/commit/0a5367e7c6d9b7f45c88493f7a596f7a83e8c7d5.patch";
hash = "sha256-Q6YlfuiAfsyhty9EvoBetvekuU25KjrH5wwGwYTAAiA="; }
];
propagatedBuildInputs = [
h2
httpaf
mimic-happy-eyeballs
mirage-clock
paf
tcpip
x509
];
doCheck = true;
checkInputs = [
alcotest-lwt
mirage-clock-unix
mirage-crypto-rng
mirage-time-unix
];
meta = {
description = "HTTP client for MirageOS";
homepage = "https://github.com/roburio/http-mirage-client";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -0,0 +1,20 @@
{ buildDunePackage
, letsencrypt
, emile
, http-mirage-client
, paf
}:
buildDunePackage {
pname = "letsencrypt-mirage";
inherit (letsencrypt) version src;
duneVersion = "3";
propagatedBuildInputs = [ emile http-mirage-client letsencrypt paf ];
meta = letsencrypt.meta // {
description = "ACME implementation in OCaml for MirageOS";
};
}

View file

@ -5,6 +5,7 @@
buildDunePackage rec {
minimalOCamlVersion = "4.08";
duneVersion = "3";
pname = "mirage-crypto";
version = "0.11.0";

View file

@ -24,6 +24,8 @@ buildDunePackage rec {
src
version;
duneVersion = "3";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
dune-configurator

View file

@ -6,6 +6,8 @@ buildDunePackage rec {
inherit (mirage-crypto) version src;
duneVersion = "3";
buildInputs = [ gmp ];
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
zarith eqaf sexplib0 ];

View file

@ -8,6 +8,8 @@ buildDunePackage {
inherit (mirage-crypto) version src;
duneVersion = "3";
buildInputs = [
dune-configurator
];

View file

@ -1,15 +1,17 @@
{ buildDunePackage, mirage-crypto, mirage-crypto-rng, dune-configurator
, duration, logs, mtime, ocaml_lwt }:
, duration, logs, mtime, lwt }:
buildDunePackage rec {
pname = "mirage-crypto-rng-lwt";
inherit (mirage-crypto) version src;
duneVersion = "3";
doCheck = true;
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime ocaml_lwt ];
propagatedBuildInputs = [ mirage-crypto mirage-crypto-rng duration logs mtime lwt ];
meta = mirage-crypto-rng.meta;
}

View file

@ -7,6 +7,7 @@ buildDunePackage rec {
pname = "mirage-crypto-rng-mirage";
inherit (mirage-crypto-rng) version src;
duneVersion = "3";
doCheck = true;
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];

View file

@ -5,6 +5,7 @@ buildDunePackage rec {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src;
duneVersion = "3";
doCheck = true;
checkInputs = [ ounit2 randomconv ];

View file

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "adafruit-platformdetect";
version = "3.40.3";
version = "3.41.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "Adafruit-PlatformDetect";
inherit version;
hash = "sha256-phG9DEl4JlrIN3zil0SQRZ+DnktpunK094nxVQ9Cksw=";
hash = "sha256-NWdY1ykuF8mYxXPCwaVq6mEkQXHrUmhEy/BXDFYn2V0=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, hatchling
}:
buildPythonPackage rec {
@ -20,7 +20,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
setuptools
hatchling
];
# Tests are inplemented in a custom DSL (RSpec)

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flask
, jsonschema
}:
buildPythonPackage rec {
pname = "flask-expects-json";
version = "1.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "Fischerfredl";
repo = pname;
rev = version;
hash = "sha256-CUxuwqjjAb9Fy6xWtX1WtSANYaYr5//vY8k89KghYoQ=";
};
propagatedBuildInputs = [ flask jsonschema ];
# tests aren't included in sdist and don't pass on current flask
doCheck = false;
meta = with lib; {
homepage = "https://github.com/fischerfredl/flask-expects-json";
description = "Decorator for REST endpoints in flask. Validate JSON request data.";
license = licenses.mit;
maintainers = [];
};
}

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "garminconnect";
version = "0.1.53";
version = "0.1.54";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "cyberjunky";
repo = "python-garminconnect";
rev = "refs/tags/${version}";
hash = "sha256-bUOdurCuAxpVag+mv3brxYIyNu9KhoDauL+lcrcob/k=";
hash = "sha256-lxifhL70Yn3BIjeRPnWqOs97Oy65RD0Rrgw4bJno2kI=";
};
propagatedBuildInputs = [

View file

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "gcovr";
version = "5.2";
version = "6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-IXGVCF7JQ0YpGoe3sebZz97u5WKz4PmjKyXJUws7zo8=";
hash = "sha256-hjjV9E3vEOOOMWbIozvvZkPsIEaH4Kx9NFzkGpjFdQs=";
};
propagatedBuildInputs = [
@ -39,6 +39,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python script for summarizing gcov data";
homepage = "https://www.gcovr.com/";
changelog = "https://github.com/gcovr/gcovr/blob/${version}/CHANGELOG.rst";
license = licenses.bsd0;
maintainers = with maintainers; [ ];
};

View file

@ -69,6 +69,12 @@ buildPythonPackage rec {
disabledTests = [
# Exceeds tolerance when the machine is busy
"test_custom_linear_solve_aux"
# UserWarning: Explicitly requested dtype <class 'numpy.float64'>
# requested in astype is not available, and will be truncated to
# dtype float32. (With numpy 1.24)
"testKde3"
"testKde5"
"testKde6"
] ++ lib.optionals usingMKL [
# See
# * https://github.com/google/jax/issues/9705

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pygments
, six
, wcwidth
, pytestCheckHook
, pyte
, ptyprocess
, pexpect
}:
buildPythonPackage rec {
pname = "lineedit";
version = "0.1.6";
src = fetchFromGitHub {
owner = "randy3k";
repo = pname;
rev = "v${version}";
sha256 = "fq2NpjIQkIq1yzXEUxi6cz80kutVqcH6MqJXHtpTFsk=";
};
propagatedBuildInputs = [
pygments
six
wcwidth
];
nativeCheckInputs = [
pytestCheckHook
pyte
pexpect
ptyprocess
];
pythonImportsCheck = [ "lineedit" ];
meta = with lib; {
description = "A readline library based on prompt_toolkit which supports multiple modes";
homepage = "https://github.com/randy3k/lineedit";
license = licenses.mit;
maintainers = with maintainers; [ savyajha ];
};
}

View file

@ -23,7 +23,8 @@ buildPythonPackage rec {
'';
# tests impure, will error if it can't load libmpv.so
checkPhase = "${python.interpreter} -c 'import mpv'";
doCheck = false;
pythonImportsCheck = [ "mpv" ];
meta = with lib; {
description = "A python interface to the mpv media player";

View file

@ -1,6 +1,8 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonOlder
, build
, git
@ -27,6 +29,20 @@ buildPythonPackage rec {
hash = "sha256-h3d0h+WCrrNlfPOlUx6Rj0aG6untD6MiunqvPj4yT+0=";
};
# revert update of vendored dependencies to unbreak e.g. zeroconf on x86_64-darwin
patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
(fetchpatch {
url = "https://github.com/python-poetry/poetry-core/commit/80d7dcdc722dee0e09e5f3303b663003d794832c.patch";
revert = true;
hash = "sha256-CPjkNCmuAiowp/kyKqnEfUQNmXK95RMJOIa24nG6xi8=";
})
(fetchpatch {
url = "https://github.com/python-poetry/poetry-core/commit/43fd7fe62676421b3661c96844b5d7cf49b87c07.patch";
revert = true;
hash = "sha256-fXq8L23qjLraLeMzB1bwW1jU0eGd236/GHIoYKwOuL0=";
})
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];

View file

@ -26,6 +26,7 @@
, ujson
, orjson
, hypothesis
, libxcrypt
}:
buildPythonPackage rec {
@ -51,6 +52,10 @@ buildPythonPackage rec {
sed -i '/flake8/ d' Makefile
'';
buildInputs = lib.optionals (pythonOlder "3.9") [
libxcrypt
];
nativeBuildInputs = [
cython
] ++ lib.optionals withDocs [

View file

@ -58,6 +58,9 @@ buildPythonPackage rec {
# upstream doesn't consider it serious.
# https://github.com/pyqtgraph/pyqtgraph/issues/2110
"test_PolyLineROI"
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# https://github.com/pyqtgraph/pyqtgraph/issues/2645
"test_rescaleData"
];
meta = with lib; {

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "r2pipe";
version = "1.7.4";
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -31,7 +31,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256-bmr9/iqlp5GghY6DOpFhBH3k69ErqR3DHx7iAu3m6f0=";
hash = "sha256-T1w4QG0KBPBekETd+nMNbvPF2mgBZgQ/jhWcP9694mg=";
};
# Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't

View file

@ -0,0 +1,71 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pyte
, pexpect
, ptyprocess
, jedi
, git
, lineedit
, prompt-toolkit
, pygments
, rchitect
, six
, R
, rPackages
}:
buildPythonPackage rec {
pname = "radian";
version = "0.6.4";
src = fetchFromGitHub {
owner = "randy3k";
repo = pname;
rev = "v${version}";
sha256 = "QEHVdyVgsZxvs+d+xeeJqwx531+6e0uPi1J3t+hJ0d0=";
};
postPatch = ''
substituteInPlace setup.py --replace '"pytest-runner"' ""
'';
nativeBuildInputs = [
R # needed at setup time to detect R_HOME
];
propagatedBuildInputs = [
lineedit
prompt-toolkit
pygments
rchitect
six
] ++ (with rPackages; [
reticulate
askpass
]);
nativeCheckInputs = [
pytestCheckHook
pyte
pexpect
ptyprocess
jedi
git
];
preCheck = ''
export HOME=$TMPDIR
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib
'';
pythonImportsCheck = [ "radian" ];
meta = with lib; {
description = "A 21 century R console";
homepage = "https://github.com/randy3k/radian";
license = licenses.mit;
maintainers = with maintainers; [ savyajha ];
};
}

View file

@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, cffi
, six
, pytestCheckHook
, pytest-mock
, R
, rPackages }:
buildPythonPackage rec {
pname = "rchitect";
version = "0.3.40";
src = fetchFromGitHub {
owner = "randy3k";
repo = pname;
rev = "v${version}";
sha256 = "yJMiPmusZ62dd6+5VkA2uSjq57a0C3arG8CgiUUHKpk=";
};
postPatch = ''
substituteInPlace setup.py --replace '"pytest-runner"' ""
'';
propagatedBuildInputs = [
cffi
six
] ++ (with rPackages; [
reticulate
]);
nativeCheckInputs = [
pytestCheckHook
pytest-mock
R
];
preCheck = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${R}/lib/R/lib
cd $TMPDIR
'';
pythonImportsCheck = [ "rchitect" ];
meta = with lib; {
description = "Interoperate R with Python";
homepage = "https://github.com/randy3k/rchitect";
license = licenses.mit;
maintainers = with maintainers; [ savyajha ];
};
}

View file

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "roombapy";
version = "1.6.5";
version = "1.6.6";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "pschmitt";
repo = "roombapy";
rev = version;
hash = "sha256-Xjeh29U+FCzI5n/i5s6wC0B88Ktmb8pnNDdOzCiKWi4=";
hash = "sha256-dfeMd/THlj2HQYcLPmeC3AWP3vR/6+8BFU1QtSu5xg4=";
};
nativeBuildInputs = [

View file

@ -21,16 +21,7 @@ buildPythonPackage rec {
enableParallelBuilding = true;
installCheckPhase = let
modules = [
sip-module
"sipconfig"
];
imports = lib.concatMapStrings (module: "import ${module};") modules;
in ''
echo "Checking whether modules can be imported..."
PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH ${python.interpreter} -c "${imports}"
'';
pythonImportsCheck = [ sip-module "sipconfig" ];
doCheck = true;

View file

@ -35,6 +35,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ traitlets ];
nativeCheckInputs = [ numpy pandas xarray nose pytestCheckHook ];
disabledTestPaths = lib.optional (lib.versionAtLeast numpy.version "1.17") [
# https://github.com/jupyter-widgets/traittypes/blob/master/setup.py#L86-L87
"traittypes/tests/test_traittypes.py"
];
pythonImportsCheck = [ "traittypes" ];
meta = with lib; {

View file

@ -0,0 +1,37 @@
{ lib
, runCommand
, R
, radian
, makeWrapper
, recommendedPackages
, packages
, wrapR ? false
}:
runCommand (radian.name + "-wrapper") {
preferLocalBuild = true;
allowSubstitutes = false;
buildInputs = [ radian ] ++ recommendedPackages ++ packages
++ lib.optional wrapR R;
nativeBuildInputs = [ makeWrapper ];
passthru = { inherit recommendedPackages; };
meta = radian.meta // {
# To prevent builds on hydra
hydraPlatforms = [ ];
# prefer wrapper over the package
priority = (radian.meta.priority or 0) - 1;
};
} (''
makeWrapper "${radian}/bin/radian" "$out/bin/radian" \
--prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE"
'' + lib.optionalString wrapR ''
cd ${R}/bin
for exe in *; do
makeWrapper "${R}/bin/$exe" "$out/bin/$exe" \
--prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE"
done
'')

View file

@ -6,18 +6,18 @@
python3.pkgs.buildPythonApplication rec {
pname = "codespell";
version = "2.2.2";
version = "2.2.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "codespell-project";
repo = "codespell";
rev = "v${version}";
sha256 = "sha256-zXHqaZzGIS7BOFc/kPzA4sgpoEmXuaKHdOcKpMWWeOI=";
sha256 = "sha256-hyTy6zAH5WrW5Jn/g0irH9xGZErnXJMSUYZaNxMvq2Y=";
};
postPatch = ''
substituteInPlace setup.cfg \
substituteInPlace pyproject.toml \
--replace "--cov=codespell_lib" "" \
--replace "--cov-report=" ""
'';

View file

@ -15,13 +15,13 @@
}:
buildDotnetModule rec {
pname = "github-runner";
version = "2.302.1";
version = "2.303.0";
src = fetchFromGitHub {
owner = "actions";
repo = "runner";
rev = "v${version}";
hash = "sha256-hPZzqTJGwcBxajLjU0TuIQ2KLnDl9E66seuutm9JWDo=";
hash = "sha256-bzCa3OI8/pE8K9U38RN0xWbLkjJPA4mUlsrbH1etpG4=";
# Required to obtain HEAD's Git commit hash
leaveDotGit = true;
};

View file

@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
scdoc
] ++ lib.optionals stdenv.isLinux [
# GNOME Builder Plugin
gnome-builder
];
@ -61,6 +62,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/vala-lang/vala-language-server";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ andreasfelix ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -1,95 +0,0 @@
{ stdenv, lib, fetchurl, makeWrapper,
ocaml, unzip, ncurses, curl, aspcud
}:
assert lib.versionAtLeast ocaml.version "3.12.1";
let
srcs = {
cudf = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/file/33593/cudf-0.7.tar.gz";
sha256 = "92c8a9ed730bbac73f3513abab41127d966c9b9202ab2aaffcd02358c030a701";
};
extlib = fetchurl {
url = "http://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz";
sha256 = "c095eef4202a8614ff1474d4c08c50c32d6ca82d1015387785cf03d5913ec021";
};
ocaml_re = fetchurl {
url = "https://github.com/ocaml/ocaml-re/archive/ocaml-re-1.2.0.tar.gz";
sha256 = "a34dd9d6136731436a963bbab5c4bbb16e5d4e21b3b851d34887a3dec451999f";
};
ocamlgraph = fetchurl {
url = "http://ocamlgraph.lri.fr/download/ocamlgraph-1.8.5.tar.gz";
sha256 = "d167466435a155c779d5ec25b2db83ad851feb42ebc37dca8ffa345ddaefb82f";
};
dose3 = fetchurl {
url = "https://gforge.inria.fr/frs/download.php/file/34277/dose3-3.3.tar.gz";
sha256 = "8dc4dae9b1a81bb3a42abb283df785ba3eb00ade29b13875821c69f03e00680e";
};
cmdliner = fetchurl {
url = "https://erratique.ch/software/cmdliner/releases/cmdliner-0.9.7.tbz";
sha256 = "9c19893cffb5d3c3469ee0cce85e3eeeba17d309b33b9ace31aba06f68f0bf7a";
};
uutf = fetchurl {
url = "https://erratique.ch/software/uutf/releases/uutf-0.9.3.tbz";
sha256 = "1f364f89b1179e5182a4d3ad8975f57389d45548735d19054845e06a27107877";
};
jsonm = fetchurl {
url = "https://erratique.ch/software/jsonm/releases/jsonm-0.9.1.tbz";
sha256 = "3fd4dca045d82332da847e65e981d8b504883571d299a3f7e71447d46bc65f73";
};
opam = fetchurl {
url = "https://github.com/ocaml/opam/archive/1.2.2.zip";
sha256 = "c590ce55ae69ec74f46215cf16a156a02b23c5f3ecb22f23a3ad9ba3d91ddb6e";
};
};
in stdenv.mkDerivation {
pname = "opam";
version = "1.2.2";
strictDeps = true;
nativeBuildInputs = [ makeWrapper unzip curl ocaml ];
buildInputs = [ ncurses ];
src = srcs.opam;
postUnpack = ''
ln -sv ${srcs.cudf} $sourceRoot/src_ext/${srcs.cudf.name}
ln -sv ${srcs.extlib} $sourceRoot/src_ext/${srcs.extlib.name}
ln -sv ${srcs.ocaml_re} $sourceRoot/src_ext/${srcs.ocaml_re.name}
ln -sv ${srcs.ocamlgraph} $sourceRoot/src_ext/${srcs.ocamlgraph.name}
ln -sv ${srcs.dose3} $sourceRoot/src_ext/${srcs.dose3.name}
ln -sv ${srcs.cmdliner} $sourceRoot/src_ext/${srcs.cmdliner.name}
ln -sv ${srcs.uutf} $sourceRoot/src_ext/${srcs.uutf.name}
ln -sv ${srcs.jsonm} $sourceRoot/src_ext/${srcs.jsonm.name}
'';
preConfigure = ''
substituteInPlace ./src_ext/Makefile --replace "%.stamp: %.download" "%.stamp:"
'';
postConfigure = "make lib-ext";
# Dirty, but apparently ocp-build requires a TERM
makeFlags = ["TERM=screen"];
# change argv0 to "opam" as a workaround for
# https://github.com/ocaml/opam/issues/2142
postInstall = ''
mv $out/bin/opam $out/bin/.opam-wrapped
makeWrapper $out/bin/.opam-wrapped $out/bin/opam \
--argv0 "opam" \
--suffix PATH : ${aspcud}/bin:${unzip}/bin:${curl}/bin
'';
doCheck = false;
meta = with lib; {
description = "A package manager for OCaml";
homepage = "http://opam.ocamlpro.com/";
maintainers = [ maintainers.henrytill ];
platforms = platforms.all;
license = licenses.lgpl21Plus;
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "flyctl";
version = "0.0.478";
version = "0.0.483";
src = fetchFromGitHub {
owner = "superfly";
repo = "flyctl";
rev = "v${version}";
hash = "sha256-tMDcEpRpmFYOiEz+bmR5O+fushGPeBU28HoDqNuOP+Y=";
hash = "sha256-z6FBJ8cE8UeOP/3ojzQo3LjEJr5bBshf+4CgMmb1RTQ=";
};
vendorHash = "sha256-W5z6Rbr8dPP0kAhVG8UPy5rK9wz5mZVK9geYt9umftE=";
vendorHash = "sha256-2y671bvOmkKEqbcttcCG1L1by/J8gkGZxts7kFyTIxk=";
subPackages = [ "." ];

View file

@ -33,7 +33,11 @@ stdenv.mkDerivation rec {
})
];
enableParallelBuilding = true;
# Fails the build occasionally due to missing buid depends:
# ./../sys/unix/unixmain.c:9:10: fatal error: date.h: No such file or directory
# TODO: remove once upstream issue is fixed:
# https://github.com/UnNetHack/UnNetHack/issues/56
enableParallelBuilding = false;
postInstall = ''
cp -r /tmp/unnethack $out/share/unnethack/profile

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, patchelf
, cmake
, pkg-config
@ -13,24 +12,15 @@
stdenv.mkDerivation rec {
pname = "intel-compute-runtime";
version = "22.49.25018.24";
version = "23.05.25593.11";
src = fetchFromGitHub {
owner = "intel";
repo = "compute-runtime";
rev = version;
sha256 = "sha256-/onHHIG5jWFObC8pSjpFMadjwaAN6vMNjAsj8/D3qNw=";
sha256 = "sha256-AsJGcyVqRGz7OBWTlQeTS412iUzMAbIsA4w6CmEf1G8=";
};
patches = [
# fix compile with level-zero 1.9.4
(fetchpatch {
url = "https://github.com/intel/compute-runtime/commit/dce17d319f91b39806b2cd39b6eecd5c5cff2a68.patch";
excludes = [ "manifests/manifest.yml" ];
sha256 = "sha256-YGzS4LeNO8FO1GXowD2gARj0TL6tBFaeZJNLZOwSsWQ=";
})
];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ intel-gmmlib intel-graphics-compiler libva level-zero ];

View file

@ -12,51 +12,51 @@
"4.19": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-4.19.274-hardened1.patch",
"sha256": "0hc2ci4jy2jhjmmqmmv6i2g6lj997d8hwgrh68qrraifzd3rjm23",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.274-hardened1/linux-hardened-4.19.274-hardened1.patch"
"name": "linux-hardened-4.19.275-hardened1.patch",
"sha256": "0ni0ig82zbmfngcm1la2frcihxjaaf0y1ki0vv6gqzxpsp5xz0nq",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.275-hardened1/linux-hardened-4.19.275-hardened1.patch"
},
"sha256": "1a2w6knszfqg7ilnvxrs0kbgcviq90iqw9wp2d6y3qy9jfhnb8k4",
"version": "4.19.274"
"sha256": "02l6f5y1cbjc9997lmcak5j8dllkzr8q47nqscqsyvz2c2hnzsdg",
"version": "4.19.275"
},
"5.10": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.10.170-hardened1.patch",
"sha256": "0fr0rzxrpmcddzamdnc15ywpd396dl8j7ycy19a789vhfz3132bz",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.170-hardened1/linux-hardened-5.10.170-hardened1.patch"
"name": "linux-hardened-5.10.172-hardened1.patch",
"sha256": "1ik2l453bgqcpqrhdf4gy6qdlvqknz9i7s9s9pynvk4lpvva34zc",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.172-hardened1/linux-hardened-5.10.172-hardened1.patch"
},
"sha256": "0pw2jnsnq2yxxvl4dkx6f7a8gczj8l484qpd4ibw737vprv1idd2",
"version": "5.10.170"
"sha256": "1c9757gma0dksd1ch8pljbsmf586bq66gxqpsv53676z8kivl3gj",
"version": "5.10.172"
},
"5.15": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.15.96-hardened1.patch",
"sha256": "032311r4phsp8cb4vzgdh3gsm4l5494138x1jfwfxhzkgmp4g4yh",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.96-hardened1/linux-hardened-5.15.96-hardened1.patch"
"name": "linux-hardened-5.15.98-hardened1.patch",
"sha256": "1d1jfx0m59j4b7kk476x11af5h5hy8f5n4d6h419qylnibm22573",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.98-hardened1/linux-hardened-5.15.98-hardened1.patch"
},
"sha256": "167g34xjbqxr5klqp127j2j15pms4jmgs0y7gr8zipiz2i69g39l",
"version": "5.15.96"
"sha256": "11vpngxqih2f3sn9v1h8ccjywsj0m5p8i98n0fvck5azlk9jrikx",
"version": "5.15.98"
},
"5.4": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-5.4.233-hardened1.patch",
"sha256": "11df6i0v7xsp363hdqfdixadn5db41ig51pd5fhknpdh1yrpx9by",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.233-hardened1/linux-hardened-5.4.233-hardened1.patch"
"name": "linux-hardened-5.4.234-hardened1.patch",
"sha256": "06jc2060v259wblbl38dcsk5vi61lbf4y8aipppy5lqd25rpm12y",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.234-hardened1/linux-hardened-5.4.234-hardened1.patch"
},
"sha256": "09vnp4qcv7kwahbbvjznnv7pxq1cvbn11n0rn5rzx97jnia5f7js",
"version": "5.4.233"
"sha256": "1489jnp4vb8p879hq1nx3xgyzjdwj1zalk3x4vcbnc9f7yrrrixc",
"version": "5.4.234"
},
"6.1": {
"patch": {
"extra": "-hardened1",
"name": "linux-hardened-6.1.14-hardened1.patch",
"sha256": "1r76nhg11sv654hg90gf6s9bmwdbmc88jh7wbpb9cyj63dw8dliv",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/6.1.14-hardened1/linux-hardened-6.1.14-hardened1.patch"
"name": "linux-hardened-6.1.15-hardened1.patch",
"sha256": "14svc378i43jv9cbv97gibmmr8pwf39dcjvjaqlbwfmhiwikj975",
"url": "https://github.com/anthraxx/linux-hardened/releases/download/6.1.15-hardened1/linux-hardened-6.1.15-hardened1.patch"
},
"sha256": "03c1pszgm0qwwz7l5fnmbr6ank632bsl81pdx48svizy3q0pcw52",
"version": "6.1.14"
"sha256": "1zf48h34cz4chv0n12xlif0n7fdzbri2v8am1nn68bla2vidy5ic",
"version": "6.1.15"
}
}

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "5.15.97";
version = "5.15.99";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = versions.pad 3 version;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "1cxk1w43apw2b6w6r8m1magz08qzlljzn8ihn42jgamyn7sddp9c";
sha256 = "0ih3pqxv8kwc8awkd7f5cib9zdnmz6hczqfcz62s7bppjchbicwr";
};
} // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "6.1.15";
version = "6.1.16";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = versions.pad 3 version;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
sha256 = "1zf48h34cz4chv0n12xlif0n7fdzbri2v8am1nn68bla2vidy5ic";
sha256 = "1id3dn0p724yp3n4wqk6bhs21yjhqihiilkagfh1am8bb1arr156";
};
} // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib;
buildLinux (args // rec {
version = "6.2.2";
version = "6.2.3";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = versions.pad 3 version;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl {
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
sha256 = "1c5zxkpahg92as14h8j2yilc4302w6g98zkjawsfh68fpfi5a9y1";
sha256 = "091r0rjj5ba50kiq96099w79ayzcdy6qyzgkmw10hxqkzia0nvdk";
};
} // (args.argsOverride or { }))

View file

@ -2,7 +2,7 @@
# Do not edit!
{
version = "2023.3.2";
version = "2023.3.3";
components = {
"3_day_blinds" = ps: with ps; [
];

View file

@ -263,7 +263,7 @@ let
extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating
hassVersion = "2023.3.2";
hassVersion = "2023.3.3";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
@ -279,7 +279,7 @@ in python.pkgs.buildPythonApplication rec {
# Primary source is the pypi sdist, because it contains translations
src = fetchPypi {
inherit pname version;
hash = "sha256-I6NSVoMS3xbUqh/7BxJj/Evkk7+g3N0dZVJjEbr2pCs=";
hash = "sha256-AJJ0w66a8D3kiLHhnoFmnGRWyDJ4OCebwwKTGdprGa0=";
};
# Secondary source is git for tests
@ -287,7 +287,7 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant";
repo = "core";
rev = "refs/tags/${version}";
hash = "sha256-Qd++/73c9VDNe4AMdiDIVJXxh4qFx2x4HDkY1An2VjE=";
hash = "sha256-KTmMA8P0MhYAiwp073Q3s60budFKHrsBnAJSqYC7zis=";
};
nativeBuildInputs = with python3.pkgs; [
@ -444,6 +444,7 @@ in python.pkgs.buildPythonApplication rec {
python
supportedComponentsWithTests;
pythonPath = python3.pkgs.makePythonPath (componentBuildInputs ++ extraBuildInputs);
frontend = python.pkgs.home-assistant-frontend;
intents = python.pkgs.home-assistant-intents;
tests = {
nixos = nixosTests.home-assistant;

View file

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend";
version = "20230306.0";
version = "20230309.0";
format = "wheel";
src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
hash = "sha256-E/e1XyhwFiNMLz7+o99eG9sW2ZCCfPFnkBcu3BpCbxQ=";
hash = "sha256-gHc93xKIm0LDQrkTtlMdLv/N2smfYz5lQ6uLV+Cqj+s=";
};
# there is nothing to strip in this package

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