Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-07-31 12:01:34 +00:00 committed by GitHub
commit 050b858d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
52 changed files with 823 additions and 249 deletions

View File

@ -6679,6 +6679,12 @@
githubId = 41522204;
name = "hexchen";
};
hexclover = {
email = "hexclover@outlook.com";
github = "hexclover";
githubId = 47456195;
name = "hexclover";
};
heyimnova = {
email = "git@heyimnova.dev";
github = "heyimnova";
@ -7172,12 +7178,6 @@
fingerprint = "F5B2 BE1B 9AAD 98FE 2916 5597 3665 FFF7 9D38 7BAA";
}];
};
imsofi = {
email = "sofi+git@mailbox.org";
github = "imsofi";
githubId = 20756843;
name = "Sofi";
};
imuli = {
email = "i@imu.li";
github = "imuli";
@ -8974,6 +8974,12 @@
githubId = 3287933;
name = "Josef Kemetmüller";
};
knightpp = {
email = "knightpp@proton.me";
github = "knightpp";
githubId = 28928944;
name = "Danylo Kondratiev";
};
knl = {
email = "nikola@knezevic.co";
github = "knl";
@ -10524,6 +10530,12 @@
fingerprint = "CAEC A12D CE23 37A6 6DFD 17B0 7AC7 631D 70D6 C898";
}];
};
max-amb = {
email = "maxpeterambaum@gmail.com";
github = "max-amb";
githubId = 137820334;
name = "Max Ambaum";
};
maxbrunet = {
email = "max@brnt.mx";
github = "maxbrunet";
@ -15664,6 +15676,12 @@
githubId = 6277322;
name = "Wei Tang";
};
soupglasses = {
email = "sofi+git@mailbox.org";
github = "soupglasses";
githubId = 20756843;
name = "Sofi";
};
soywod = {
name = "Clément DOUIN";
email = "clement.douin@posteo.net";

View File

@ -22,6 +22,8 @@
- [Typesense](https://github.com/typesense/typesense), a fast, typo-tolerant search engine for building delightful search experiences. Available as [services.typesense](#opt-services.typesense.enable).
* [NS-USBLoader](https://github.com/developersu/ns-usbloader/), an all-in-one tool for managing Nintendo Switch homebrew. Available as [programs.ns-usbloader](#opt-programs.ns-usbloader.enable).
- [Anuko Time Tracker](https://github.com/anuko/timetracker), a simple, easy to use, open source time tracking system. Available as [services.anuko-time-tracker](#opt-services.anuko-time-tracker.enable).
- [sitespeed-io](https://sitespeed.io), a tool that can generate metrics (timings, diagnostics) for websites. Available as [services.sitespeed-io](#opt-services.sitespeed-io.enable).

View File

@ -221,6 +221,7 @@
./programs/nncp.nix
./programs/noisetorch.nix
./programs/npm.nix
./programs/ns-usbloader.nix
./programs/oblogout.nix
./programs/oddjobd.nix
./programs/openvpn3.nix

View File

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
let
cfg = config.programs.ns-usbloader;
in
{
options = {
programs.ns-usbloader = {
enable = lib.mkEnableOption (lib.mdDoc "ns-usbloader application with udev rules applied");
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.ns-usbloader ];
services.udev.packages = [ pkgs.ns-usbloader ];
};
meta.maintainers = pkgs.ns-usbloader.meta.maintainers;
}

View File

@ -71,12 +71,16 @@ in
environment.systemPackages = [ pkgs.udisks2 ];
environment.etc = (mapAttrs' (name: value: nameValuePair "udisks2/${name}" { source = value; } ) configFiles) // {
# We need to make sure /etc/libblockdev/conf.d is populated to avoid
environment.etc = (mapAttrs' (name: value: nameValuePair "udisks2/${name}" { source = value; } ) configFiles) // (
let
libblockdev = pkgs.udisks2.libblockdev;
majorVer = versions.major libblockdev.version;
in {
# We need to make sure /etc/libblockdev/@major_ver@/conf.d is populated to avoid
# warnings
"libblockdev/conf.d/00-default.cfg".source = "${pkgs.libblockdev}/etc/libblockdev/conf.d/00-default.cfg";
"libblockdev/conf.d/10-lvm-dbus.cfg".source = "${pkgs.libblockdev}/etc/libblockdev/conf.d/10-lvm-dbus.cfg";
};
"libblockdev/${majorVer}/conf.d/00-default.cfg".source = "${libblockdev}/etc/libblockdev/${majorVer}/conf.d/00-default.cfg";
"libblockdev/${majorVer}/conf.d/10-lvm-dbus.cfg".source = "${libblockdev}/etc/libblockdev/${majorVer}/conf.d/10-lvm-dbus.cfg";
});
security.polkit.enable = true;

View File

@ -12,16 +12,14 @@ let
configFile = pkgs.runCommand "matrix-appservice-irc.yml" {
# Because this program will be run at build time, we need `nativeBuildInputs`
nativeBuildInputs = [ (pkgs.python3.withPackages (ps: [ ps.pyyaml ps.jsonschema ])) ];
nativeBuildInputs = [ (pkgs.python3.withPackages (ps: [ ps.jsonschema ])) pkgs.remarshal ];
preferLocalBuild = true;
config = builtins.toJSON cfg.settings;
passAsFile = [ "config" ];
} ''
# The schema is given as yaml, we need to convert it to json
python -c 'import json; import yaml; import sys; json.dump(yaml.safe_load(sys.stdin), sys.stdout)' \
< ${pkg}/lib/node_modules/matrix-appservice-irc/config.schema.yml \
> config.schema.json
remarshal --if yaml --of json -i ${pkg}/config.schema.yml -o config.schema.json
python -m jsonschema config.schema.json -i $configPath
cp "$configPath" "$out"
'';

View File

@ -37,5 +37,6 @@ in {
] ++ extraFlags);
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
};
}

View File

@ -2,11 +2,11 @@
let
pname = "ledger-live-desktop";
version = "2.64.1";
version = "2.64.2";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-EdrJcu3xv+Q31ps3pcjfQh+Kf6C/sidGpk2XM8qBEr0=";
hash = "sha256-8cb5FA/Ogd6GI0AclxHicZGV3K5bVsZuIl/3A03r5qQ=";
};

View File

@ -43,7 +43,7 @@ let
comment = "Code Editing. Redefined.";
genericName = "Text Editor";
exec = "${executableName} %F";
icon = "code";
icon = "vs${executableName}";
startupNotify = true;
startupWMClass = shortName;
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
@ -52,7 +52,7 @@ let
actions.new-empty-window = {
name = "New Empty Window";
exec = "${executableName} --new-window %F";
icon = "code";
icon = "vs${executableName}";
};
};
@ -62,7 +62,7 @@ let
comment = "Code Editing. Redefined.";
genericName = "Text Editor";
exec = executableName + " --open-url %U";
icon = "code";
icon = "vs${executableName}";
startupNotify = true;
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "x-scheme-handler/vscode" ];
@ -103,8 +103,9 @@ let
ln -s "$desktopItem/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop"
ln -s "$urlHandlerDesktopItem/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop"
# These are named vscode.png, vscode-insiders.png, etc to match the name in upstream *.deb packages.
mkdir -p "$out/share/pixmaps"
cp "$out/lib/vscode/resources/app/resources/linux/code.png" "$out/share/pixmaps/code.png"
cp "$out/lib/vscode/resources/app/resources/linux/code.png" "$out/share/pixmaps/vs${executableName}.png"
# Override the previously determined VSCODE_PATH with the one we know to be correct
sed -i "/ELECTRON=/iVSCODE_PATH='$out/lib/vscode'" "$out/bin/${executableName}"

View File

@ -83,7 +83,7 @@ runCommand "${wrappedPkgName}-with-extensions-${wrappedPkgVersion}" {
mkdir -p "$out/share/applications"
mkdir -p "$out/share/pixmaps"
ln -sT "${vscode}/share/pixmaps/code.png" "$out/share/pixmaps/code.png"
ln -sT "${vscode}/share/pixmaps/vs${executableName}.png" "$out/share/pixmaps/vs${executableName}.png"
ln -sT "${vscode}/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop"
ln -sT "${vscode}/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop"
makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${extensionsFlag}

View File

@ -38,14 +38,14 @@ let
in
stdenv.mkDerivation rec {
pname = "mame";
version = "0.256";
version = "0.257";
srcVersion = builtins.replaceStrings [ "." ] [ "" ] version;
src = fetchFromGitHub {
owner = "mamedev";
repo = "mame";
rev = "mame${srcVersion}";
hash = "sha256-rQ1GQks3Nni6ALxfiJzdkKUgbZrXaLu9vJtEDPjgP3Q=";
hash = "sha256-iBLHvdqIgF6XkJQX5hFLrP9KkTGWfVvTCs+DRJhsSp4=";
};
outputs = [ "out" "tools" ];

View File

@ -29,13 +29,13 @@
stdenv.mkDerivation rec {
pname = "vengi-tools";
version = "0.0.24";
version = "0.0.25";
src = fetchFromGitHub {
owner = "mgerhardy";
repo = "vengi";
rev = "v${version}";
sha256 = "sha256-ZkO2CLSuuJcFJFBO4XS8Qec0CxxAJdzOGfFa2zy+4uI=";
hash = "sha256-ZY0HG1BpRQV7+RzdXUhKV6JRa/1RIYmCuhnYCZapG8w=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,4 @@
# Nintendo Switch HOS
SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", MODE="0666"
# Nintendo Switch RCM
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7321", MODE="0666"

View File

@ -0,0 +1,89 @@
{ lib
, stdenv
, fetchFromGitHub
, copyDesktopItems
, makeDesktopItem
, makeWrapper
, maven
, jre
}:
let
pkgDescription = "All-in-one tool for managing Nintendo Switch homebrew";
selectSystem = attrs:
attrs.${stdenv.hostPlatform.system}
or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
jreWithJavaFX = jre.override { enableJavaFX = true; };
in
maven.buildMavenPackage rec {
pname = "ns-usbloader";
version = "7.0";
src = fetchFromGitHub {
owner = "developersu";
repo = "ns-usbloader";
rev = "v${version}";
sha256 = "sha256-x4zGwsDUVUHI4AUMPSqgnZVyZx+pWQA5xvtrFE8U3QU=";
};
patches = [ ./no-launch4j.patch ./make-deterministic.patch ];
# JavaFX pulls in architecture dependent jar dependencies. :(
# May be possible to unify these, but could lead to huge closure sizes.
mvnHash = selectSystem {
x86_64-linux = "sha256-vXZAlZOh9pXNF1RL78oQRal5pkXFRKDz/7SP9LibgiA=";
aarch64-linux = "sha256-xC+feb41EPi30gBrVR8usanVULI2Pt0knztzNagPQiw=";
};
mvnParameters = "-DskipTests";
nativeBuildInputs = [
copyDesktopItems
maven
makeWrapper
];
installPhase = ''
runHook preInstall
mkdir -p $out/share/java
install -Dm644 target/ns-usbloader-${version}.jar $out/share/java/ns-usbloader.jar
mkdir -p $out/bin
makeWrapper ${jreWithJavaFX}/bin/java $out/bin/ns-usbloader \
--append-flags "-jar $out/share/java/ns-usbloader.jar"
mkdir -p $out/lib/udev/rules.d
install -Dm644 ${./99-ns-usbloader.rules} $out/lib/udev/rules.d/99-ns-usbloader.rules
mkdir -p $out/share/icons/hicolor
install -Dm644 target/classes/res/app_icon32x32.png $out/share/icons/hicolor/32x32/apps/ns-usbloader.png
install -Dm644 target/classes/res/app_icon48x48.png $out/share/icons/hicolor/48x48/apps/ns-usbloader.png
install -Dm644 target/classes/res/app_icon64x64.png $out/share/icons/hicolor/64x64/apps/ns-usbloader.png
install -Dm644 target/classes/res/app_icon128x128.png $out/share/icons/hicolor/128x128/apps/ns-usbloader.png
runHook postInstall
'';
desktopItems = [
(makeDesktopItem {
type = "Application";
name = "ns-usbloader";
desktopName = "NS-USBLoader";
comment = pkgDescription;
exec = "ns-usbloader";
icon = "ns-usbloader";
categories = [ "Game" ];
terminal = false;
keywords = [ "nintendo" "switch" ];
})
];
meta = with lib; {
description = pkgDescription;
homepage = "https://github.com/developersu/ns-usbloader";
license = licenses.gpl3Only;
maintainers = with maintainers; [ soupglasses ];
platforms = [ "x86_64-linux" "aarch64-linux" ];
};
}

View File

@ -0,0 +1,130 @@
From 3f85e2754144bbf2805ba68d8c76b3dec3299f4d Mon Sep 17 00:00:00 2001
From: Sofi <sofi+git@mailbox.org>
Date: Sat, 29 Jul 2023 11:16:38 +0200
Subject: [PATCH] make deterministic
---
pom.xml | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 57 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 320d4f3..5a594e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,6 +51,7 @@
<maven.build.timestamp.format>yyyyMMdd.HHmmss</maven.build.timestamp.format>
<javafx.version>19.0.2.1</javafx.version>
<maven.compiler.release>11</maven.compiler.release>
+ <project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>
<issueManagement>
@@ -166,7 +167,7 @@
</dependency>
</dependencies>
<build>
- <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>
+ <finalName>${project.artifactId}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
@@ -193,26 +194,51 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.2</version>
+ <version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.2</version>
+ <version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.10.1</version>
+ <version>3.11.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.3.0</version>
+ <executions>
+ <execution>
+ <id>enforce-versions</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>[3.2.5,)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.8,)</version>
+ </requireJavaVersion>
+ <requirePluginVersions />
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<!-- Don't generate default JAR without dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.1.2</version>
+ <version>3.3.0</version>
<!--
<configuration>
<manifestEntries>
@@ -231,7 +257,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>3.1.0</version>
+ <version>3.6.0</version>
<configuration>
<archive>
<manifest>
@@ -253,6 +279,31 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>4.0.0-M9</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.3.1</version>
+ </plugin>
</plugins>
</build>
</project>
--
2.41.0

View File

@ -0,0 +1,70 @@
From ead7a3b988a47a3896ea8a3ff01556e073115f16 Mon Sep 17 00:00:00 2001
From: Sofi <sofi+git@mailbox.org>
Date: Thu, 27 Jul 2023 17:23:31 +0200
Subject: [PATCH] No launch4j
---
pom.xml | 47 +----------------------------------------------
1 file changed, 1 insertion(+), 46 deletions(-)
diff --git a/pom.xml b/pom.xml
index 21352e0..320d4f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -253,51 +253,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>com.akathist.maven.plugins.launch4j</groupId>
- <version>2.2.0</version>
- <artifactId>launch4j-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>l4j-ns-usbloader</id>
- <phase>package</phase>
- <goals>
- <goal>launch4j</goal>
- </goals>
- <configuration>
- <headerType>gui</headerType>
- <icon>appicon.ico</icon>
- <outfile>target/${project.name}.exe</outfile>
- <jar>target/${project.artifactId}-${project.version}-${maven.build.timestamp}.jar</jar>
- <!-- <downloadUrl>https://download.oracle.com/java/17/archive/jdk-17.0.1_windows-x64_bin.msi</downloadUrl> -->
- <errTitle>Launching error</errTitle>
- <!-- <dontWrapJar>true</dontWrapJar> -->
- <jre>
- <path>%PWD%/jdk</path>
- <minVersion>11.0.0</minVersion>
- </jre>
- <versionInfo>
- <fileVersion>${project.version}.0.0</fileVersion>
- <txtFileVersion>${project.version}</txtFileVersion>
- <fileDescription>NS multi-tool</fileDescription>
- <copyright>GNU General Public License v3, ${project.inceptionYear} ${project.organization.name}, Russia.</copyright>
- <productVersion>${project.version}.0.0</productVersion>
- <txtProductVersion>${project.version}</txtProductVersion>
- <companyName>${project.organization.name}</companyName>
- <productName>${project.name}</productName>
- <internalName>${project.name}</internalName>
- <originalFilename>${project.name}.exe</originalFilename>
- </versionInfo>
- <messages>
- <startupErr>Startup error</startupErr>
- <jreNotFoundErr>JDK not found</jreNotFoundErr>
- <jreVersionErr>JDK Version mismatch</jreVersionErr>
- <launcherErr>Launcher Error</launcherErr>
- </messages>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
--
2.41.0

View File

@ -3,10 +3,10 @@
{
firefox = buildMozillaMach rec {
pname = "firefox";
version = "115.0.2";
version = "115.0.3";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "de6ce8a2512e862c69a7d5c557d6168498d0d40e9c4b54b775f81c444e863a64c43130d57b51b360db4224c34b64a93f3ad263441caee713243b97750ec1eb4b";
sha512 = "d42d522e4c2160824c74d94c90b9d61ff7fd0515cddc9e4d544003ddf975fe975aa517493dc28bad31c67915a22477b2fbb42266dc3bda87a2555b7f57a6f5a2";
};
meta = {

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "helmsman";
version = "3.16.4";
version = "3.17.0";
src = fetchFromGitHub {
owner = "Praqma";
repo = "helmsman";
rev = "v${version}";
sha256 = "sha256-8hv68O4U9bPjqqtVOpmY3DwfeTGEZJGVkzIyYhS14aM=";
sha256 = "sha256-mXc3CVKh4pFAZVppvk5TTg6s6dOA2Gv+ROLNV37DAl4=";
};
vendorHash = "sha256-aSpv4TGp0YLdk/RYEvfYswlEWnv8sy9iflXGGCcKPHs=";
vendorHash = "sha256-zn8q3HpyQWNsksYbqJcgnjOxaBVUr3dIYHk+FAalNxA=";
doCheck = false;

View File

@ -15,15 +15,16 @@ let
in
buildGoModule rec {
pname = "k3d";
version = "5.4.4";
version = "5.5.1";
src = fetchFromGitHub {
owner = "k3d-io";
repo = "k3d";
rev = "v${version}";
sha256 = "sha256-3J25Aj/otKDCWJ+YqAsoJogU2vckZMy7fsS8XR2EMgE=";
rev = "refs/tags/v${version}";
hash = "sha256-cXUuWR5ALgCgr1bK/Qpdpo978p3PRL3/H6j1T7DKrT4=";
};
vendorSha256 = null;
vendorHash = null;
nativeBuildInputs = [ installShellFiles ];
@ -54,6 +55,8 @@ buildGoModule rec {
runHook postInstallCheck
'';
env.GOWORK = "off";
meta = with lib; {
homepage = "https://github.com/k3d-io/k3d/";
changelog = "https://github.com/k3d-io/k3d/blob/v${version}/CHANGELOG.md";

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "weave-gitops";
version = "0.27.0";
version = "0.28.0";
src = fetchFromGitHub {
owner = "weaveworks";
repo = pname;
rev = "v${version}";
sha256 = "sha256-q19oKawv7hLHMaPAIIdGLl+4N+HiXuIow8f3k9bTt3A=";
sha256 = "sha256-chL88vWUMN4kcuh8g2ckWOqYAs9JwE0vnm69zLd5KIM=";
};
ldflags = [ "-s" "-w" "-X github.com/weaveworks/weave-gitops/cmd/gitops/version.Version=${version}" ];

View File

@ -124,6 +124,7 @@ rec {
inherit tor meek obfs4 snowflake;
inherit (tor) geoip;
})
./fix-qrcode-gui.patch
];
disable = !isPy3k;

View File

@ -0,0 +1,14 @@
diff --git desktop/onionshare/widgets.py desktop/onionshare/widgets.py
index 64a07703..bca974fb 100644
--- desktop/onionshare/widgets.py
+++ desktop/onionshare/widgets.py
@@ -101,7 +101,7 @@ class Image(qrcode.image.base.BaseImage):
A custom Image class, for use with the QR Code pixmap.
"""
- def __init__(self, border, width, box_size):
+ def __init__(self, border, width, box_size, *args, **kargs):
self.border = border
self.width = width
self.box_size = box_size

View File

@ -27,7 +27,7 @@ let
calculus in one easy-to-use package.
'';
homepage = "https://www.geogebra.org/";
maintainers = with maintainers; [ sikmir imsofi ];
maintainers = with maintainers; [ sikmir soupglasses ];
license = with licenses; [ gpl3 cc-by-nc-sa-30 geogebra ];
sourceProvenance = with sourceTypes; [
binaryBytecode

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "ghorg";
version = "1.9.6";
version = "1.9.7";
src = fetchFromGitHub {
owner = "gabrie30";
repo = "ghorg";
rev = "v${version}";
sha256 = "sha256-++jUs/V4luOWNjCrZpJAT/08aEr00kvl4vDxKTqA5fc=";
sha256 = "sha256-uIhYk79ZXcJ/ttexgjtxskI2nEwlq+E4jgIZzwz8hmI=";
};
doCheck = false;

View File

@ -1,19 +1,53 @@
{ lib, stdenv, fetchurl, cmake, ogre, freetype, boost, expat, libiconv }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, ogre
, freetype
, boost
, expat
, darwin
, libiconv
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "cegui";
version = "0.8.7";
version = "unstable-2023-03-18";
src = fetchurl {
url = "mirror://sourceforge/crayzedsgui/${pname}-${version}.tar.bz2";
sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk";
src = fetchFromGitHub {
owner = "paroj";
repo = "cegui";
rev = "186ce900e293b98f2721c11930248a8de54aa338";
hash = "sha256-RJ4MnxklcuxC+ZYEbfma5RDc2aeJ95LuTwNk+FnEhdo=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ ogre freetype boost expat ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
strictDeps = true;
cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64";
nativeBuildInputs = [
cmake
];
buildInputs = [
ogre
freetype
boost
expat
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.Foundation
libiconv
];
cmakeFlags = [
"-DCEGUI_OPTION_DEFAULT_IMAGECODEC=OgreRenderer-0"
] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
"-DCMAKE_OSX_ARCHITECTURES=${stdenv.hostPlatform.darwinArch}"
];
passthru.updateScript = unstableGitUpdater {
branch = "v0";
};
meta = with lib; {
homepage = "http://cegui.org.uk/";

View File

@ -1,110 +0,0 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, cmake
, pkg-config
, boost
, freeimage
, freetype
, libpng
, ois
, zziplib
, freeglut
, libGL
, libGLU
, libICE
, libSM
, libX11
, libXaw
, libXmu
, libXrandr
, libXrender
, libXt
, libXxf86vm
, xorgproto
, darwin
, withNvidiaCg ? false
, nvidia_cg_toolkit
, withSamples ? false
}:
let
inherit (darwin.apple_sdk.frameworks) AGL Cocoa;
in
stdenv.mkDerivation rec {
pname = "ogre";
version = "1.10.11";
src = fetchurl {
url = "https://bitbucket.org/sinbad/ogre/get/v${lib.replaceStrings ["."] ["-"] version}.tar.gz";
sha256 = "1zwvlx5dz9nwjazhnrhzb0w8ilpa84r0hrxrmmy69pgr1p1yif5a";
};
patches = [
# aarch64-darwin support
(fetchpatch {
url = "https://github.com/OGRECave/ogre/commit/bd5fbe3482c56e58c6c3b3bf439b1eab8c1be258.patch";
includes = [ "OgreMain/include/OgrePlatform*.h" ];
sha256 = "sha256-ELeCklQkltz7DeDaGl78Jk1H3Wdfu8fMUiMZaJM4s/Y=";
})
(fetchpatch {
url = "https://github.com/OGRECave/ogre/commit/0873244cc06b613ca2afbcb5522fe9ef89f111c5.patch";
sha256 = "sha256-xGvlMB55B2rdthxNMIM5iFf9p/6zuE8bGL9P04qtweQ=";
})
# aarch64-linux support
(fetchpatch {
name = "fix-build-on-aarch64-linux.patch";
url = "https://github.com/OGRECave/ogre/commit/8ec086e9bc2e24fab373b514c572483b69071d69.patch";
sha256 = "sha256-22wlJPZ7lRIPAMqvpI/2YI0neQjGi1UXt8y5zNSpxCw=";
})
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
boost
freeimage
freetype
libpng
ois
zziplib
] ++ lib.optionals stdenv.isLinux [
freeglut
libGL
libGLU
libICE
libSM
libX11
libXaw
libXmu
libXrandr
libXrender
libXt
libXxf86vm
xorgproto
] ++ lib.optionals stdenv.isDarwin [
AGL
Cocoa
] ++ lib.optionals withNvidiaCg [
nvidia_cg_toolkit
];
cmakeFlags = [
"-DOGRE_BUILD_COMPONENT_OVERLAY_IMGUI=FALSE"
"-DOGRE_BUILD_SAMPLES=${toString withSamples}"
] ++ lib.optionals stdenv.isDarwin [
"-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=FALSE"
];
meta = {
description = "3D Object-Oriented Graphics Rendering Engine";
homepage = "https://www.ogre3d.org/";
maintainers = with lib.maintainers; [ raskin wegank ];
platforms = lib.platforms.unix;
license = lib.licenses.mit;
};
}

View File

@ -0,0 +1,82 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, installShellFiles
, bzip2
, openssl
, xz
, zstd
, stdenv
, darwin
, runCommand
, espup
}:
rustPlatform.buildRustPackage rec {
pname = "espup";
version = "0.4.1";
src = fetchFromGitHub {
owner = "esp-rs";
repo = "espup";
rev = "v${version}";
hash = "sha256-gzM+RT4Rt+LaYk7CwYUTIMci8DDI0y3+7y+N2yKRDOc=";
};
cargoHash = "sha256-GYhF6VDBAieZbu4x9EiQVVJkmx0aRYK0xwGGP0nuVGc=";
nativeBuildInputs = [
pkg-config
installShellFiles
];
buildInputs = [
bzip2
openssl
xz
zstd
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.Security
];
env = {
OPENSSL_NO_VENDOR = true;
ZSTD_SYS_USE_PKG_CONFIG = true;
};
preCheck = ''
export HOME=$(mktemp -d)
'';
checkFlags = [
# makes network calls
"--skip=toolchain::rust::tests::test_xtensa_rust_parse_version"
];
postInstall = ''
installShellCompletion --cmd espup \
--bash <($out/bin/espup completions bash) \
--fish <($out/bin/espup completions fish) \
--zsh <($out/bin/espup completions zsh)
'';
passthru.tests = {
simple = runCommand "${pname}-test" { } ''
if [[ `${espup}/bin/espup --version` != *"${version}"* ]]; then
echo "Error: program version does not match package version"
exit 1
fi
touch $out
'';
};
meta = with lib; {
description = "Tool for installing and maintaining Espressif Rust ecosystem.";
homepage = "https://github.com/esp-rs/espup/";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ knightpp ];
};
}

View File

@ -8,16 +8,16 @@
buildGoModule rec {
pname = "go-task";
version = "3.27.1";
version = "3.28.0";
src = fetchFromGitHub {
owner = pname;
repo = "task";
rev = "refs/tags/v${version}";
hash = "sha256-MwZtdxoWo5yeJKzbMIfigt0WUjZ52B8MeRsx43D8n1k=";
hash = "sha256-jVRQnZGM+N3W/f4mW322qPiv7PFrFoyUHNdZNoAkpAc=";
};
vendorHash = "sha256-05+/NbLks9Dp9Z7KscK9yeEzFJug7VFBqViievX6UOs=";
vendorHash = "sha256-gXWuKOTb/7AIF6orXlIHpdSxdYxl12Es2cl4egdJfxo=";
doCheck = false;

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "grcov";
version = "0.8.18";
version = "0.8.19";
src = fetchFromGitHub {
owner = "mozilla";
repo = pname;
rev = "v${version}";
sha256 = "sha256-IC5ROi4kwZLCX7/kFb7VgOzQtsj74hujQ5IrrFneFTA=";
sha256 = "sha256-1t+hzB9sSApLScCkjBnLk9i2dsoEwZmWCFukEOvHhZI=";
};
cargoHash = "sha256-DcPidu3WFyVWBS4EVavxFhy9wwqP4rGmaALKnfxua2E=";
cargoHash = "sha256-4KzFbfUqnGmle2fwSaHMPIJHQFDq8H2Qzm4FdYdqpuM=";
# tests do not find grcov path correctly
checkFlags = let

View File

@ -18,7 +18,7 @@ let
availableBinaries = {
x86_64-linux = {
platform = "linux-x64";
checksum = "sha256-wzdtFHsSzXl8TCtTBVAwwsvzUd4DakCAPRVHtwoGLB0=";
checksum = "sha256-QL1Kca1yM1P4Tn+Citw4UG6wPX/ji6oBjCONE4tyNPQ=";
};
aarch64-linux = {
platform = "linux-arm64";
@ -30,7 +30,7 @@ let
inherit (binary) platform checksum;
in stdenv.mkDerivation rec {
pname = "cypress";
version = "12.17.1";
version = "12.17.2";
src = fetchzip {
url = "https://cdn.cypress.io/desktop/${version}/${platform}/cypress.zip";

View File

@ -34,6 +34,6 @@ rustPlatform.buildRustPackage rec {
description = "Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases";
homepage = "https://github.com/gorilla-devs/ferium";
license = licenses.mpl20;
maintainers = with maintainers; [ leo60228 imsofi ];
maintainers = with maintainers; [ leo60228 soupglasses ];
};
}

View File

@ -1,15 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, glib, python2, gtk2, readline }:
{ lib, stdenv, fetchurl, pkg-config, glib, python3, gtk2, readline,
copyDesktopItems, makeDesktopItem }:
stdenv.mkDerivation rec {
pname = "gnubg";
version = "1.06.002";
version = "1.07.001";
src = fetchurl {
url = "http://gnubg.org/media/sources/gnubg-release-${version}-sources.tar.gz";
sha256 = "11xwhcli1h12k6rnhhyq4jphzrhfik7i8ah3k32pqw803460n6yf";
url = "mirror://gnu/gnubg/gnubg-release-${version}-sources.tar.gz";
hash = "sha256-cjmXKUGcrZ8RLDBmoS0AANpFCkVq3XsJTYkVUGnWgh4=";
};
nativeBuildInputs = [ pkg-config python2 glib ];
nativeBuildInputs = [ copyDesktopItems pkg-config python3 glib ];
buildInputs = [ gtk2 readline ];
@ -17,9 +18,19 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-gtk" "--with--board3d" ];
desktopItems = makeDesktopItem {
desktopName = "GNU Backgammon";
name = pname;
genericName = "Backgammon";
comment = meta.description;
exec = pname;
icon = pname;
categories = [ "Game" "GTK" "StrategyGame" ];
};
meta = with lib;
{ description = "World class backgammon application";
homepage = "http://www.gnubg.org/";
homepage = "https://www.gnu.org/software/gnubg/";
license = licenses.gpl3;
maintainers = [ maintainers.ehmry ];
platforms = platforms.linux;

View File

@ -1,14 +1,35 @@
{ lib, stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkg-config }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, ogre
, cegui
, boost
, sfml
, openal
, ois
}:
stdenv.mkDerivation rec {
let
ogre' = ogre.overrideAttrs (old: {
cmakeFlags = old.cmakeFlags ++ [
"-DOGRE_RESOURCEMANAGER_STRICT=0"
];
});
cegui' = cegui.override {
ogre = ogre';
};
in
stdenv.mkDerivation {
pname = "opendungeons";
version = "unstable-2021-11-06";
version = "unstable-2023-03-18";
src = fetchFromGitHub {
owner = "OpenDungeons";
owner = "paroj";
repo = "OpenDungeons";
rev = "c180ed1864eab5fbe847d1dd5c5c936c4e45444e";
sha256 = "0xf7gkpy8ll1h59wyaljf0hr8prg7p4ixz80mxqwcnm9cglpgn63";
rev = "974378d75591214dccbe0fb26e6ec8a40c2156e0";
hash = "sha256-vz9cT+rNcyKT3W9I9VRKcFol2SH1FhOhOALALjgKfIE=";
};
patches = [
@ -21,8 +42,25 @@ stdenv.mkDerivation rec {
cp source/utils/StackTrace{Stub,Unix}.cpp
'';
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ ogre cegui boost sfml openal ois ];
strictDeps = true;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
ogre'
cegui'
boost
sfml
openal
ois
];
cmakeFlags = [
"-DOD_TREAT_WARNINGS_AS_ERRORS=FALSE"
];
meta = with lib; {
description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius";

View File

@ -7,14 +7,15 @@
AddressBookCore = { inherit ContactsPersistence; };
AudioToolboxCore = {};
ContactsPersistence = {};
UIFoundation = {};
GameCenterFoundation = {};
GameCenterUI = {};
GameCenterUICore = {};
URLFormatting = {};
SignpostMetrics = {};
MediaRemote = {};
PassKitCore = {};
SignpostMetrics = {};
SkyLight = {};
UIFoundation = {};
URLFormatting = {};
# Also expose CoreSymbolication; used by `root` package.
CoreSymbolication = {};

View File

@ -1,4 +1,13 @@
{ lib, stdenv, fetchFromGitHub, Carbon, Cocoa, CoreWLAN, DisplayServices, SkyLight }:
{ lib
, stdenv
, fetchFromGitHub
, Carbon
, Cocoa
, CoreWLAN
, DisplayServices
, MediaRemote
, SkyLight
}:
let
inherit (stdenv.hostPlatform) system;
@ -7,34 +16,44 @@ let
"x86_64-darwin" = "x86";
}.${system} or (throw "Unsupported system: ${system}");
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "sketchybar";
version = "2.15.1";
version = "2.15.2";
src = fetchFromGitHub {
owner = "FelixKratz";
repo = "SketchyBar";
rev = "v${version}";
hash = "sha256-0jCVDaFc7ZvA8apeHRoQvPhAlaGlBHzqUkS9or88PcM=";
rev = "v${finalAttrs.version}";
hash = "sha256-13wc+1IgplB+L0j1AbBr/MUjEo4W38ZgJwrAhbdOroE=";
};
buildInputs = [ Carbon Cocoa CoreWLAN DisplayServices SkyLight ];
buildInputs = [
Carbon
Cocoa
CoreWLAN
DisplayServices
MediaRemote
SkyLight
];
makeFlags = [
target
];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp ./bin/sketchybar $out/bin/sketchybar
runHook postInstall
'';
meta = with lib; {
meta = {
description = "A highly customizable macOS status bar replacement";
homepage = "https://github.com/FelixKratz/SketchyBar";
platforms = platforms.darwin;
maintainers = [ maintainers.azuwis ];
license = licenses.gpl3;
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ azuwis khaneliman ];
platforms = lib.platforms.darwin;
};
}
})

View File

@ -212,7 +212,6 @@ stdenv.mkDerivation (finalAttrs: {
(musl-patches + "/0012-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch")
(musl-patches + "/0013-add-missing-FTW_-macros-for-musl.patch")
(musl-patches + "/0014-Use-uintmax_t-for-handling-rlim_t.patch")
(musl-patches + "/0015-test-sizeof.c-Disable-tests-for-missing-typedefs-in-.patch")
(musl-patches + "/0016-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch")
(musl-patches + "/0017-Define-glibc-compatible-basename-for-non-glibc-syste.patch")
(musl-patches + "/0018-Do-not-disable-buffering-when-writing-to-oom_score_a.patch")

View File

@ -83,7 +83,10 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests.vm = nixosTests.udisks2;
passthru = {
inherit libblockdev;
tests.vm = nixosTests.udisks2;
};
meta = with lib; {
description = "A daemon, tools and libraries to access and manipulate disks, storage devices and technologies";

View File

@ -5,16 +5,16 @@
maven.buildMavenPackage {
pname = "scim-keycloak-user-storage-spi";
version = "unstable-2023-04-12";
version = "unstable-2023-07-10";
src = fetchFromGitHub {
owner = "justin-stephenson";
repo = "scim-keycloak-user-storage-spi";
rev = "e2a78d9dddbb21a42a9aaeb5c72b5ed1ef76d2a0";
hash = "sha256-xFEXMZw575hONMG9ZNQ+5xKEVeKvGyzurqbAW48Mrg8=";
rev = "54a3fd77b05079c9ebd931e8b6a3725310a1f7b7";
hash = "sha256-rQR8+LevFHTFLoyCPSu50jdSXu4YgBibjVB804rEsFs=";
};
mvnHash = "sha256-kV3hjwEQ0jAhFm9EB9O0l87gCZGsRQ/9cazlSjHrY74=";
mvnHash = "sha256-vNPSNoOmtD1UMfWvLm8CH7RRatyeu3fnX9zteZpkay0=";
nativeBuildInputs = [
maven

View File

@ -1,32 +1,79 @@
{ lib
, buildNpmPackage
, stdenv
, fetchFromGitHub
, python3
, fetchYarnDeps
, prefetch-yarn-deps
, nodejs
, nodejs-slim
, matrix-sdk-crypto-nodejs
, nixosTests
, nix-update-script
}:
buildNpmPackage rec {
let
pname = "matrix-appservice-irc";
version = "0.38.0";
version = "1.0.1";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "matrix-appservice-irc";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-rV4B9OQl1Ht26X4e7sqCe1PR5RpzIcjj4OvWG6udJWo=";
hash = "sha256-wUbWvCa9xvot73nXZjF3/RawM98ffBCW5YR2+ZKzmEo=";
};
npmDepsHash = "sha256-iZuPr3a1BPtRfkEoxOs4oRL/nCfy3PLx5T9dX49/B0s=";
yarnOfflineCache = fetchYarnDeps {
name = "${pname}-${version}-offline-cache";
yarnLock = "${src}/yarn.lock";
hash = "sha256-P9u5sK9rIHWRE8kFMj05fVjv26jwsawvHBZgSn7j5BE=";
};
in
stdenv.mkDerivation {
inherit pname version src yarnOfflineCache;
nativeBuildInputs = [
python3
prefetch-yarn-deps
nodejs-slim
nodejs.pkgs.yarn
nodejs.pkgs.node-gyp-build
];
postInstall = ''
rm -rv $out/lib/node_modules/matrix-appservice-irc/node_modules/@matrix-org/matrix-sdk-crypto-nodejs
ln -sv ${matrix-sdk-crypto-nodejs}/lib/node_modules/@matrix-org/matrix-sdk-crypto-nodejs $out/lib/node_modules/matrix-appservice-irc/node_modules/@matrix-org/
configurePhase = ''
runHook preConfigure
export HOME=$(mktemp -d)
yarn config --offline set yarn-offline-mirror "$yarnOfflineCache"
fixup-yarn-lock yarn.lock
yarn install --frozen-lockfile --offline --no-progress --non-interactive --ignore-scripts
patchShebangs node_modules/ bin/
runHook postConfigure
'';
buildPhase = ''
runHook preBuild
yarn --offline build
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir $out
cp app.js config.schema.yml $out
cp -r bin lib public $out
# prune dependencies to production only
yarn install --frozen-lockfile --offline --no-progress --non-interactive --ignore-scripts --production
cp -r node_modules $out
# replace matrix-sdk-crypto-nodejs with nixos package
rm -rv $out/node_modules/@matrix-org/matrix-sdk-crypto-nodejs
ln -sv ${matrix-sdk-crypto-nodejs}/lib/node_modules/@matrix-org/matrix-sdk-crypto-nodejs $out/node_modules/@matrix-org/
runHook postInstall
'';
passthru.tests.matrix-appservice-irc = nixosTests.matrix-appservice-irc;

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "weaviate";
version = "1.19.8";
version = "1.20.3";
src = fetchFromGitHub {
owner = "weaviate";
repo = "weaviate";
rev = "v${version}";
hash = "sha256-rSv6ERVReWMt05C70a8i+hgTF2JGvcSkydex/2Vp+80=";
hash = "sha256-4235Yb4F0YPihiukJmUswWH/hATRiwChdZV6+erRRnk=";
};
vendorHash = "sha256-27YbjTtFaD5nMkcTXeAR/vZPWgG5qRvdnoNv6S7/SOI=";
vendorHash = "sha256-RL18glau8IODHy0HqLq28nE7OIUezWDJY7BE/OBFHBw=";
subPackages = [ "cmd/weaviate-server" ];

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "zed";
version = "0.10.2";
version = "0.12.1";
src = fetchFromGitHub {
owner = "authzed";
repo = "zed";
rev = "v${version}";
hash = "sha256-ZI5aoL4CCqSv7Sw5RApa4AeVVE97tA5HXM5tdF12hqE=";
hash = "sha256-3aG47DeYVwDj0tX26oOWVE8yq8sVtxA4uw+LOIjKNuI=";
};
vendorHash = "sha256-hIhByVm4QpDhnXuWbscKYIgE/Bi0psBE0PvmuCq2NhQ=";
vendorHash = "sha256-kUMCbRIhSb5Bqo1P9J08xVUJmUdxaq5iU34sR+nuol4=";
meta = with lib; {
description = "Command line for managing SpiceDB";

View File

@ -22,7 +22,7 @@
}:
let
version = "0.83.0";
version = "0.83.1";
in
rustPlatform.buildRustPackage {
@ -33,10 +33,10 @@ rustPlatform.buildRustPackage {
owner = "nushell";
repo = "nushell";
rev = version;
hash = "sha256-+/y4gtcrn6pM+LrzRQuHPACszZpYHCXMLbPlaIi4SAY=";
hash = "sha256-WMMGsJFgUkascCja7v0VA3spaOb5QmMFXQ2JOT9beO4=";
};
cargoHash = "sha256-amDSzsDeG4ABlFLlytcfJV0xA9Rl7Udb/nWEz64pWi0=";
cargoHash = "sha256-/0+k3qOM9/rY6XmeVjqQWkjv19yZTkmfMK51z4+ppJU=";
nativeBuildInputs = [ pkg-config ]
++ lib.optionals (withDefaultFeatures && stdenv.isLinux) [ python3 ]

View File

@ -6,13 +6,13 @@
stdenvNoCC.mkDerivation rec {
pname = "nu_scripts";
version = "unstable-2023-07-24";
version = "unstable-2023-07-29";
src = fetchFromGitHub {
owner = "nushell";
repo = pname;
rev = "e6adf4e0ae04f946fcc93a77e0992e2e00467e26";
hash = "sha256-6hQEBotZyNuBL0vAzqS1C9LLMk2RMv5ZwFCcSI3aSU8=";
rev = "3ee56c6ec31fcc8dbffee85e1c73eb6fe0bbba8d";
hash = "sha256-luGIvcKOfhDorPfGfL449+eD+58MGo5jMCsNwIRJWt4=";
};
installPhase = ''

View File

@ -11,9 +11,9 @@ let
in
rustPlatform.buildRustPackage {
inherit pname;
version = nushell.version;
version = "0.83.1";
src = nushell.src;
cargoHash = "sha256-+RFCkM++6DgrwFjTr3JlCgh9FqDBUOQsOucbZAi+V/k=";
cargoHash = "sha256-qRKONc8rDRALEin8WGxi7Jma4uD+U+9Gu6zpmYWmGOc=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoBuildFlags = [ "--package nu_plugin_gstat" ];

View File

@ -9,11 +9,11 @@
rustPlatform.buildRustPackage {
pname = "nushell_plugin_query";
version = "0.83.0";
version = "0.83.1";
src = nushell.src;
cargoHash = "sha256-h8T3QimN3vyzJEZr63gM5egwjSWI3m3QH2Yp0rwXd90=";
cargoHash = "sha256-0Bcu2h1ooc4z4ezKSjl7ca5cNQwnF3je7XzdhuqP4iQ=";
buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];

View File

@ -0,0 +1,54 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, wrapQtAppsHook
, libX11
, libXmu
, libXpm
, qtbase
, qtx11extras
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kdocker";
version = "5.4";
src = fetchFromGitHub {
owner = "user-none";
repo = "KDocker";
rev = "${finalAttrs.version}";
hash = "sha256-CTz2M9nv5Rf1amnSpLiIUZLH9Q3te6ZyFNUzSGHdYJc=";
};
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
buildInputs = [
libX11
libXmu
libXpm
qtbase
qtx11extras
];
prePatch = ''
for h in Xatom Xlib Xmu; do
sed -i "s|#include <$h|#include <X11/$h|" src/xlibutil.h src/{kdocker,scanner,trayitem,trayitemmanager}.cpp
done
for t in target icons desktop appdata; do
sed -i "s|$t.path = /usr|$t.path = $out|" kdocker.pro
done
sed -i "s|/etc/bash_completion.d|$out/share/bash-completion/completions|" kdocker.pro
'';
meta = with lib; {
description = "Dock any application into the system tray";
homepage = "https://github.com/user-none/KDocker";
license = licenses.gpl2Only;
maintainers = with maintainers; [ hexclover ];
platforms = platforms.linux;
};
})

View File

@ -23,14 +23,14 @@ let
in
with py.pkgs; buildPythonApplication rec {
pname = "awscli2";
version = "2.13.3"; # N.B: if you change this, check if overrides are still up-to-date
version = "2.13.5"; # N.B: if you change this, check if overrides are still up-to-date
format = "pyproject";
src = fetchFromGitHub {
owner = "aws";
repo = "aws-cli";
rev = version;
hash = "sha256-+2+7eoe9cNBe9IjfAkAH6vXZ071k59keqFwo9M6tl9s=";
hash = "sha256-gtzRHNEReCKzGDdiwS5kngcJYp5oAHmhnOPl/uTyxvU=";
};
postPatch = ''

View File

@ -0,0 +1,41 @@
{ stdenv
, fetchurl
, lib
, autoPatchelfHook
, avahi-compat
}:
stdenv.mkDerivation (finalAttrs: {
pname = "AltServer-Linux";
version = "0.0.5";
src = fetchurl {
url = "https://github.com/NyaMisty/AltServer-Linux/releases/download/v${finalAttrs.version}/AltServer-x86_64";
hash = "sha256-C+fDrcaewRd6FQMrO443xdDk/vtHycQ5zWLCOLPqF/s=";
};
buildInputs = [
avahi-compat
];
dontUnpack = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp $src $out/bin/alt-server
chmod u+rx $out/bin/alt-server
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/NyaMisty/AltServer-Linux";
description = "AltServer for AltStore, but on-device. Requires root privileges as well as running a custom anisette server currently.";
license = licenses.agpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ max-amb ];
};
})

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "vtm";
version = "0.9.9r";
version = "0.9.9t";
src = fetchFromGitHub {
owner = "netxs-group";
repo = "vtm";
rev = "v${version}";
sha256 = "sha256-HVhRzJReIxO4R9ZhI8vPcV29TRVffT/Eq6Z4u1xMpQo=";
sha256 = "sha256-WbigrJohLYCRvgsCNd4Cid1zGaP1aQbj59QhZ6ymLms=";
};
nativeBuildInputs = [ cmake ];

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
pname = "zap";
version = "2.12.0";
version = "2.13.0";
src = fetchurl {
url = "https://github.com/zaproxy/zaproxy/releases/download/v${version}/ZAP_${version}_Linux.tar.gz";
sha256 = "sha256-nESTyZHLk0cGOGTSQ2o3lc87aXYGJeez20Ac00LT/FU=";
sha256 = "sha256-k261Kg/TkMHviQxFVCDZXOIAYv4TbsCSfgI+K69Q9Uk=";
};
buildInputs = [ jre ];

View File

@ -1212,6 +1212,7 @@ mapAliases ({
odpdown = throw "odpdown has been removed because it lacks python3 support"; # Added 2022-04-25
ofp = throw "ofp is not compatible with odp-dpdk";
ogre1_9 = throw "ogre1_9 has been removed, use ogre instead"; # Added 2023-03-22
ogre1_10 = throw "ogre1_10 has been removed, use ogre instead"; # Added 2023-07-20
olifant = throw "olifant has been removed from nixpkgs, as it was unmaintained"; # Added 2021-08-05
opa = throw "opa has been removed from nixpkgs as upstream has abandoned the project"; # Added 2023-03-21
opam_1_2 = throw "'opam_1_2' has been renamed to/replaced by 'opam'"; # Added 2023-03-08

View File

@ -262,6 +262,8 @@ with pkgs;
alterx = callPackage ../tools/security/alterx { };
alt-server = callPackage ../tools/misc/alt-server { };
asciicam = callPackage ../applications/video/asciicam { };
asitop = pkgs.python3Packages.callPackage ../os-specific/darwin/asitop { };
@ -1776,6 +1778,8 @@ with pkgs;
kaufkauflist = callPackage ../applications/misc/kaufkauflist { };
kdocker = libsForQt5.callPackage ../tools/X11/kdocker { };
kicli = callPackage ../tools/misc/kicli { };
ksmbd-tools = callPackage ../os-specific/linux/ksmbd-tools { };
@ -12879,7 +12883,7 @@ with pkgs;
sixpair = callPackage ../tools/misc/sixpair { };
sketchybar = darwin.apple_sdk_11_0.callPackage ../os-specific/darwin/sketchybar {
inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa CoreWLAN DisplayServices SkyLight;
inherit (darwin.apple_sdk_11_0.frameworks) Carbon Cocoa CoreWLAN DisplayServices MediaRemote SkyLight;
};
skippy-xd = callPackage ../tools/X11/skippy-xd { };
@ -18149,6 +18153,8 @@ with pkgs;
doq = callPackage ../development/tools/misc/doq { };
espup = callPackage ../development/tools/espup { };
phpunit = callPackage ../development/tools/misc/phpunit { };
teller = callPackage ../development/tools/teller { };
@ -20502,9 +20508,7 @@ with pkgs;
celt_0_7 = callPackage ../development/libraries/celt/0.7.nix { };
celt_0_5_1 = callPackage ../development/libraries/celt/0.5.1.nix { };
cegui = callPackage ../development/libraries/cegui {
ogre = ogre1_10;
};
cegui = callPackage ../development/libraries/cegui { };
certbot = python3.pkgs.toPythonApplication python3.pkgs.certbot;
@ -23906,7 +23910,6 @@ with pkgs;
ogre = callPackage ../development/libraries/ogre {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
ogre1_10 = callPackage ../development/libraries/ogre/1.10.x.nix { };
olm = callPackage ../development/libraries/olm { };
@ -33643,6 +33646,8 @@ with pkgs;
novnc = callPackage ../applications/networking/novnc { };
ns-usbloader = callPackage ../applications/misc/ns-usbloader { };
nwg-bar = callPackage ../applications/misc/nwg-bar { };
nwg-dock = callPackage ../applications/misc/nwg-dock { };
@ -37621,9 +37626,7 @@ with pkgs;
openarena = callPackage ../games/openarena { };
opendungeons = callPackage ../games/opendungeons {
ogre = ogre1_10;
};
opendungeons = callPackage ../games/opendungeons { };
openlierox = callPackage ../games/openlierox { };
@ -41344,9 +41347,7 @@ with pkgs;
dapper = callPackage ../development/tools/dapper { };
k3d = callPackage ../applications/networking/cluster/k3d {
buildGoModule = buildGo118Module; # tests fail with 1.19
};
k3d = callPackage ../applications/networking/cluster/k3d { };
zfs-prune-snapshots = callPackage ../tools/backup/zfs-prune-snapshots { };
@ -41568,5 +41569,4 @@ with pkgs;
gitrs = callPackage ../tools/misc/gitrs { };
wttrbar = callPackage ../applications/misc/wttrbar { };
}