Merge 0933eb736e into haskell-updates

This commit is contained in:
nixpkgs-ci[bot]
2025-07-28 00:25:02 +00:00
committed by GitHub
258 changed files with 2095 additions and 1850 deletions
+2
View File
@@ -33,6 +33,8 @@
- `conftest` since `0.60.0` has moved to use rego `v1` as default. To continue using `v0` use `--rego-version v0`. For more information about upgrading to Rego v1 syntax, see the [upstream docs](https://www.openpolicyagent.org/docs/latest/v0-upgrade/).
- `stalwart-mail` since `0.13.0` "introduces a significant redesign of the MTAs delivery and queueing subsystem". See [the upgrading announcement for the `0.13.0` release](https://github.com/stalwartlabs/stalwart/blob/89b561b5ca1c5a11f2a768b4a2cfef0f473b7a01/UPGRADING.md#upgrading-from-v012x-and-v011x-to-v013x).
- The `archipelago-minecraft` package was removed, as upstream no longer provides support for the Minecraft APWorld.
- `tooling-language-server` has been renamed to `deputy` (both the package and binary), following the rename of the upstream project.
@@ -34,7 +34,9 @@
- Auto-scrub support for Bcachefs filesystems can now be enabled through [services.bcachefs.autoScrub.enable](#opt-services.bcachefs.autoScrub.enable) to periodically check for data corruption. If there's a correct copy available, it will automatically repair corrupted blocks.
- [tlsrpt-reporter], an application suite to generate and deliver TLSRPT reports. Available as [services.tlsrpt](#opt-services.tlsrpt.enable).
- [LibreTranslate](https://libretranslate.com), a free and open source machine translation API. Available as [services.libretranslate](#opt-services.libretranslate.enable).
- [tlsrpt-reporter](https://github.com/sys4/tlsrpt-reporter), an application suite to generate and deliver TLSRPT reports. Available as [services.tlsrpt](#opt-services.tlsrpt.enable).
- [Chhoto URL](https://github.com/SinTan1729/chhoto-url), a simple, blazingly fast, selfhosted URL shortener with no unnecessary features, written in Rust. Available as [services.chhoto-url](#opt-services.chhoto-url.enable).
+31 -28
View File
@@ -4,21 +4,18 @@
pkgs,
...
}:
let
cfg = config.hardware.fw-fanctrl;
configFormat = pkgs.formats.json { };
configOption = configFormat.generate "config.json" cfg.config;
configFile = pkgs.runCommand "configFile" { } ''
${lib.getExe pkgs.jq} -s '.[0] * .[1]' ${pkgs.fw-fanctrl}/share/fw-fanctrl/config.json ${configOption} > $out
'';
cfg = config.hardware.fw-fanctrl;
in
{
options.hardware.fw-fanctrl = {
enable = lib.mkEnableOption "the fw-fanctrl systemd service and install the needed packages";
package = lib.mkPackageOption pkgs "fw-fanctrl" { };
ectoolPackage = lib.mkPackageOption pkgs "fw-ectool" { };
disableBatteryTempCheck = lib.mkOption {
type = lib.types.bool;
default = false;
@@ -98,30 +95,36 @@ in
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
fw-fanctrl
fw-ectool
];
config =
let
defaultConfig = builtins.fromJSON (builtins.readFile "${cfg.package}/share/fw-fanctrl/config.json");
finalConfig = lib.attrsets.recursiveUpdate defaultConfig cfg.config;
configFile = configFormat.generate "custom.json" finalConfig;
in
lib.mkIf cfg.enable {
environment.systemPackages = [
cfg.package
cfg.ectoolPackage
];
systemd.services.fw-fanctrl = {
description = "Framework Fan Controller";
after = [ "multi-user.target" ];
serviceConfig = {
Type = "simple";
Restart = "always";
ExecStart = "${lib.getExe pkgs.fw-fanctrl} --output-format JSON run --config ${configFile} --silent ${lib.optionalString cfg.disableBatteryTempCheck "--no-battery-sensors"}";
ExecStopPost = "${lib.getExe pkgs.fw-ectool} autofanctrl";
systemd.services.fw-fanctrl = {
description = "Framework Fan Controller";
after = [ "multi-user.target" ];
serviceConfig = {
Type = "simple";
Restart = "always";
ExecStart = "${lib.getExe cfg.package} --output-format JSON run --config ${configFile} --silent ${lib.optionalString cfg.disableBatteryTempCheck "--no-battery-sensors"}";
ExecStopPost = "${lib.getExe cfg.ectoolPackage} autofanctrl";
};
wantedBy = [ "multi-user.target" ];
};
wantedBy = [ "multi-user.target" ];
# Create suspend config
environment.etc."systemd/system-sleep/fw-fanctrl-suspend.sh".source =
"${cfg.package}/share/fw-fanctrl/fw-fanctrl-suspend";
};
# Create suspend config
environment.etc."systemd/system-sleep/fw-fanctrl-suspend.sh".source =
"${pkgs.fw-fanctrl}/share/fw-fanctrl/fw-fanctrl-suspend";
};
meta = {
maintainers = pkgs.fw-fanctrl.meta.maintainers;
maintainers = [ lib.maintainers.Svenum ];
};
}
@@ -171,21 +171,6 @@ sub pciCheck {
}
}
# broadcom STA driver (wl.ko)
# list taken from http://www.broadcom.com/docs/linux_sta/README.txt
if ($vendor eq "0x14e4" &&
($device eq "0x4311" || $device eq "0x4312" || $device eq "0x4313" ||
$device eq "0x4315" || $device eq "0x4327" || $device eq "0x4328" ||
$device eq "0x4329" || $device eq "0x432a" || $device eq "0x432b" ||
$device eq "0x432c" || $device eq "0x432d" || $device eq "0x4353" ||
$device eq "0x4357" || $device eq "0x4358" || $device eq "0x4359" ||
$device eq "0x4331" || $device eq "0x43a0" || $device eq "0x43b1"
) )
{
push @modulePackages, "config.boot.kernelPackages.broadcom_sta";
push @kernelModules, "wl";
}
# broadcom FullMac driver
# list taken from
# https://wireless.wiki.kernel.org/en/users/Drivers/brcm80211#brcmfmac
+1
View File
@@ -1611,6 +1611,7 @@
./services/web-apps/lasuite-docs.nix
./services/web-apps/lasuite-meet.nix
./services/web-apps/lemmy.nix
./services/web-apps/libretranslate.nix
./services/web-apps/limesurvey.nix
./services/web-apps/mainsail.nix
./services/web-apps/mastodon.nix
@@ -71,6 +71,23 @@ in
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion =
!(
(lib.hasAttrByPath [ "settings" "queue" ] cfg)
&& (builtins.any (lib.hasAttrByPath [
"value"
"next-hop"
]) (lib.attrsToList cfg.settings.queue))
);
message = ''
Stalwart deprecated `next-hop` in favor of "virtual queues" `queue.strategy.route` \
with v0.13.0 see [Outbound Strategy](https://stalw.art/docs/mta/outbound/strategy/#configuration) \
and [release announcement](https://github.com/stalwartlabs/stalwart/blob/main/UPGRADING.md#upgrading-from-v012x-and-v011x-to-v013x).
'';
}
];
# Default config: all local
services.stalwart-mail.settings = {
@@ -447,14 +447,6 @@ in
permissions = "u+rx,g+x,o-rwx";
};
"systemd-journal.plugin" = {
source = "${cfg.package}/libexec/netdata/plugins.d/systemd-journal.plugin.org";
capabilities = "cap_dac_read_search,cap_syslog+ep";
owner = cfg.user;
group = cfg.group;
permissions = "u+rx,g+x,o-rwx";
};
"slabinfo.plugin" = {
source = "${cfg.package}/libexec/netdata/plugins.d/slabinfo.plugin.org";
capabilities = "cap_dac_override+ep";
@@ -490,6 +482,15 @@ in
group = cfg.group;
permissions = "u+rx,g+x,o-rwx";
};
}
// lib.optionalAttrs (cfg.package.withSystemdJournal) {
"systemd-journal.plugin" = {
source = "${cfg.package}/libexec/netdata/plugins.d/systemd-journal.plugin.org";
capabilities = "cap_dac_read_search,cap_syslog+ep";
owner = cfg.user;
group = cfg.group;
permissions = "u+rx,g+x,o-rwx";
};
};
security.pam.loginLimits = [
@@ -0,0 +1,233 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.services.libretranslate;
ltmanageKeysCli = pkgs.writeShellScriptBin "ltmanage-keys" ''
set -a
export HOME="/var/lib/libretranslate"
sudo=exec
if [[ "$USER" != ${cfg.user} ]]; then
sudo='exec /run/wrappers/bin/sudo -u ${cfg.user} --preserve-env'
fi
$sudo ${cfg.package}/bin/ltmanage keys --api-keys-db-path ${cfg.dataDir}/db/api_keys.db "$@"
'';
in
{
options = {
services.libretranslate = {
enable = lib.mkEnableOption "LibreTranslate service";
package = lib.mkPackageOption pkgs "libretranslate" { };
user = lib.mkOption {
type = lib.types.str;
default = "libretranslate";
description = "User account under which libretranslate runs.";
};
group = lib.mkOption {
type = lib.types.str;
default = "libretranslate";
description = "Group account under which libretranslate runs.";
};
host = lib.mkOption {
description = "The address the application should listen on.";
type = lib.types.str;
default = "127.0.0.1";
};
port = lib.mkOption {
type = lib.types.port;
default = 5000;
description = "The the application should listen on.";
};
dataDir = lib.mkOption {
type = lib.types.path;
default = "/var/lib/libretranslate";
example = "/srv/data/libretranslate";
description = "The data directory.";
};
threads = lib.mkOption {
type = lib.types.nullOr lib.types.ints.positive;
default = null;
example = 8;
description = "Set number of threads.";
};
enableApiKeys = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether to enable the API keys database.";
};
disableWebUI = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether to disable the Web UI.";
};
updateModels = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Update language models at startup";
};
domain = lib.mkOption {
type = lib.types.str;
default = "";
example = "libretranslate.example.com";
description = ''
The domain serving your LibreTranslate instance.
Required for configure nginx as a reverse proxy.
'';
};
configureNginx = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Configure nginx as a reverse proxy for LibreTranslate.";
};
extraArgs = lib.mkOption {
type =
with lib.types;
attrsOf (
nullOr (oneOf [
bool
str
int
(listOf (oneOf [
bool
str
int
]))
])
);
default = { };
example = {
debug = true;
disable-files-translation = true;
url-prefix = "translate";
};
description = "Extra arguments passed to the LibreTranslate.";
};
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = lib.mkIf cfg.enableApiKeys [ ltmanageKeysCli ];
systemd.tmpfiles.rules = lib.mkIf (cfg.dataDir != "/var/lib/libretranslate") [
"d '${cfg.dataDir}' 0750 ${cfg.user} ${cfg.group} - -"
"z '${cfg.dataDir}' 0750 ${cfg.user} ${cfg.group} - -"
];
systemd.services.libretranslate = {
description = "LibreTranslate service";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
environment = {
HOME = cfg.dataDir;
};
serviceConfig = lib.mkMerge [
{
Type = "simple";
ExecStart = ''
${cfg.package}/bin/libretranslate ${
lib.cli.toGNUCommandLineShell { } (
cfg.extraArgs
// {
inherit (cfg) host port threads;
api-keys = cfg.enableApiKeys;
disable-web-ui = cfg.disableWebUI;
update-models = cfg.updateModels;
}
)
}
'';
WorkingDirectory = cfg.dataDir;
User = cfg.user;
Group = cfg.group;
ProcSubset = "all";
ProtectProc = "invisible";
UMask = "0027";
CapabilityBoundingSet = "";
NoNewPrivileges = true;
ProtectSystem = "strict";
ProtectHome = true;
PrivateTmp = true;
PrivateDevices = true;
PrivateUsers = true;
ProtectHostname = true;
ProtectClock = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
ProtectKernelLogs = true;
ProtectControlGroups = true;
RestrictAddressFamilies = [
"AF_INET"
"AF_INET6"
];
RestrictNamespaces = true;
LockPersonality = true;
MemoryDenyWriteExecute = false;
RestrictRealtime = true;
RestrictSUIDSGID = true;
RemoveIPC = true;
PrivateMounts = true;
SystemCallArchitectures = "native";
SystemCallFilter = [ "~@cpu-emulation @debug @keyring @mount @obsolete @privileged @setuid" ];
}
(lib.mkIf (cfg.dataDir == "/var/lib/libretranslate") {
StateDirectory = "libretranslate";
StateDirectoryMode = "0750";
})
(lib.mkIf (cfg.dataDir != "/var/lib/libretranslate") {
ReadWritePaths = cfg.dataDir;
})
];
};
services.nginx = lib.mkIf cfg.configureNginx {
enable = true;
virtualHosts."${cfg.domain}" = {
root = "/var/empty";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString cfg.port}";
};
locations."= /favicon.ico" = {
alias = "${cfg.package.static-compressed}/share/libretranslate/static/favicon.ico";
};
locations."^~ /static/" = {
alias = "${cfg.package.static-compressed}/share/libretranslate/static/";
};
};
};
users.users = lib.optionalAttrs (cfg.user == "libretranslate") {
libretranslate = {
group = cfg.group;
isSystemUser = true;
};
};
users.groups = lib.optionalAttrs (cfg.group == "libretranslate") {
libretranslate = { };
};
};
}
+4
View File
@@ -83,6 +83,10 @@ in
8008
8009
];
environment.systemPackages = [
pkgs.nettools
];
};
client =
@@ -50,7 +50,7 @@ in
storage.lookup = "rocksdb";
session.rcpt.directory = "'in-memory'";
queue.outbound.next-hop = "'local'";
queue.strategy.route = "'local'";
store."rocksdb" = {
type = "rocksdb";
@@ -2033,8 +2033,8 @@ let
mktplcRef = {
publisher = "github";
name = "vscode-pull-request-github";
version = "0.114.2";
hash = "sha256-TLsvewvmqwKEBPsuzrlMhlsjdi3jbA7E1xz9B8aU1LA=";
version = "0.114.3";
hash = "sha256-ZrutAYL0HphkSDh2BRA4wZUA/s1Uf6IvPWs4dfqfEDk=";
};
meta = {
license = lib.licenses.mit;
@@ -2365,8 +2365,8 @@ let
mktplcRef = {
name = "vscode-vibrancy-continued";
publisher = "illixion";
version = "1.1.58";
hash = "sha256-oBm2j7fZBYALkstk1WMgC+o1sq2HY7tX+zLfo5PBMiM=";
version = "1.1.59";
hash = "sha256-ClzUxKdiYZqAlmXJ3W54kJddLRov5XKo0t8PPWA/Qq8=";
};
meta = {
downloadPage = "https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued";
@@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "fbneo";
version = "0-unstable-2025-07-18";
version = "0-unstable-2025-07-24";
src = fetchFromGitHub {
owner = "libretro";
repo = "fbneo";
rev = "9491dab32de7d70c51a3d9fec6e17d1ea7e52a3f";
hash = "sha256-x0gBSSjbM/neIwjA7qmi5gvSGmeyaRNmDs2z9awakXY=";
rev = "ae41c16e10a1996e71ac7dd9a5484b725b8d1a51";
hash = "sha256-mBlk4tjMd67dOw/+oYC0ly7u2Soqva4MxiODGXPjBrM=";
};
makefile = "Makefile";
@@ -5,13 +5,13 @@
}:
mkLibretroCore {
core = "puae";
version = "0-unstable-2025-07-10";
version = "0-unstable-2025-07-20";
src = fetchFromGitHub {
owner = "libretro";
repo = "libretro-uae";
rev = "c59492b07f7c586064692110e8138c83ed8bc7c7";
hash = "sha256-ijcajte446DSjD2vJ7PNdD6Zr9Wj39kEw844g1VARJw=";
rev = "3fc66ee4b562910a17e2e2f3bad74572a8bcc134";
hash = "sha256-rCdrM4511Q0OFwCsHZpYtg/4J1A4hwDc5WjwY0HDj8k=";
};
makefile = "Makefile";
+14 -11
View File
@@ -13,6 +13,7 @@
bison,
flex,
fontforge,
gettext,
makeWrapper,
pkg-config,
nixosTests,
@@ -92,16 +93,19 @@ stdenv.mkDerivation (
# Fixes "Compiler cannot create executables" building wineWow with mingwSupport
strictDeps = true;
nativeBuildInputs = [
bison
flex
fontforge
makeWrapper
pkg-config
]
++ lib.optionals supportFlags.mingwSupport (
mingwGccs ++ lib.optional stdenv.hostPlatform.isDarwin setupHookDarwin
);
nativeBuildInputs =
with supportFlags;
[
bison
flex
fontforge
makeWrapper
pkg-config
]
++ lib.optional gettextSupport gettext
++ lib.optionals mingwSupport (
mingwGccs ++ lib.optional stdenv.hostPlatform.isDarwin setupHookDarwin
);
buildInputs = toBuildInputs pkgArches (
with supportFlags;
@@ -115,7 +119,6 @@ stdenv.mkDerivation (
++ lib.optional stdenv.hostPlatform.isLinux pkgs.libcap
++ lib.optional stdenv.hostPlatform.isDarwin pkgs.libinotify-kqueue
++ lib.optional cupsSupport pkgs.cups
++ lib.optional gettextSupport pkgs.gettext
++ lib.optional dbusSupport pkgs.dbus
++ lib.optional cairoSupport pkgs.cairo
++ lib.optional odbcSupport pkgs.unixODBC
@@ -50,7 +50,15 @@ stdenv.mkDerivation rec {
};
postPatch = ''
echo "set(HG_VERSION ${version})" > ReleaseInfo.cmake
cat <<EOF > ReleaseInfo.cmake
set(GIT_DESCRIBE ${version})
set(GIT_BRANCH ${version})
set(GIT_VERSION ${version})
# Missing GIT_COMMIT and GIT_COMMIT_DATE, which are not easy to obtain.
set(GIT_COMMITS_SINCE_TAG 0)
set(GIT_COMMITS_SINCE_BRANCH 0)
set(GIT_VERSION_NUMERIC_BS ${version})
EOF
substituteInPlace tools/osx/Info.plist.in rtgui/config.h.in \
--replace "/Applications" "${placeholder "out"}/Applications"
'';
@@ -9,11 +9,11 @@
"vendorHash": "sha256-nHaBNYCKfTvaDnz2SeexM2cyNVK5ThPYn4rnGEw7Wi0="
},
"aci": {
"hash": "sha256-NS5q6ElCGEGSceOCIVudKE6m6EzXMV/3HGHHXwYopOA=",
"hash": "sha256-+aD4M07xXMTbvp69IuGlO3rSkVEi5NVe5fqEPkWNeM0=",
"homepage": "https://registry.terraform.io/providers/CiscoDevNet/aci",
"owner": "CiscoDevNet",
"repo": "terraform-provider-aci",
"rev": "v2.16.0",
"rev": "v2.17.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
@@ -363,11 +363,11 @@
"vendorHash": "sha256-quoFrJbB1vjz+MdV+jnr7FPACHuUe5Gx9POLubD2IaM="
},
"digitalocean": {
"hash": "sha256-+JX1EJBRJee6nvn5srwGWSE++LagHw+n1bgfZTBXzKU=",
"hash": "sha256-tR4qN0N+tJu1fmiFIwTTIQyOTsqrVi2DSWJjU6oVdwE=",
"homepage": "https://registry.terraform.io/providers/digitalocean/digitalocean",
"owner": "digitalocean",
"repo": "terraform-provider-digitalocean",
"rev": "v2.60.0",
"rev": "v2.61.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
@@ -732,11 +732,11 @@
"vendorHash": "sha256-FcxAh8EOvnT8r1GHu0Oj2C5Jgbr2WPwD7/vY4/qIvTA="
},
"kubernetes": {
"hash": "sha256-JUlthPqYTYlsKyPAjyN9N0A0i8aMJh3tAtwH1vHjzJs=",
"hash": "sha256-QVHLGLTzr39liRcM5AKJ0unYoc/DW2elcJWisiHC2pw=",
"homepage": "https://registry.terraform.io/providers/hashicorp/kubernetes",
"owner": "hashicorp",
"repo": "terraform-provider-kubernetes",
"rev": "v2.37.1",
"rev": "v2.38.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-LeMFN4pOJotTTqakEbVelHSTEb4p7CQIuKzeuX3SZUM="
},
@@ -922,11 +922,11 @@
"vendorHash": "sha256-LRIfxQGwG988HE5fftGl6JmBG7tTknvmgpm4Fu1NbWI="
},
"oci": {
"hash": "sha256-4Clqd/WO2nmKHQkIf33BROnQveKAvogWdiIabYfU390=",
"hash": "sha256-xdVHJWEvap6Bp/r5hz/113kJF6SexsCROFkQgRTJgYA=",
"homepage": "https://registry.terraform.io/providers/oracle/oci",
"owner": "oracle",
"repo": "terraform-provider-oci",
"rev": "v7.10.0",
"rev": "v7.11.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
@@ -1156,13 +1156,13 @@
"vendorHash": "sha256-HKmIl/GjGJZmhWLrK3lMjYo1F5nmo+U9ZpvBo5hDH/0="
},
"scaleway": {
"hash": "sha256-rSchMweT5Hxz2tpX6V7cBzntJzIeFB46bjV9lkaIWAQ=",
"hash": "sha256-/LyxYC+x6e5SQ12iZLxtbgFkF9MvotUlBYdK3/BiiAo=",
"homepage": "https://registry.terraform.io/providers/scaleway/scaleway",
"owner": "scaleway",
"repo": "terraform-provider-scaleway",
"rev": "v2.57.0",
"rev": "v2.58.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-p9rESR1A1SEYlvjf8du2j2yAlI39LsMRcPvyyJIwWdg="
"vendorHash": "sha256-Fsa4I8aYHiK9V8arwd64piASA8qAPmGZRqDPK5ec3uk="
},
"secret": {
"hash": "sha256-MmAnA/4SAPqLY/gYcJSTnEttQTsDd2kEdkQjQj6Bb+A=",
@@ -1,50 +0,0 @@
{
lib,
buildPythonApplication,
fetchFromGitHub,
pythonOlder,
fetchpatch,
stdenv,
libnotify,
python-telegram,
}:
buildPythonApplication rec {
pname = "tg";
version = "0.19.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "paul-nameless";
repo = pname;
rev = "v${version}";
hash = "sha256-apHd26XnOz5nak+Kz8PJPsonQfTWDyPz7Mi/tWf7zwM=";
};
patches = [
# Fix sending messages
# https://github.com/paul-nameless/tg/pull/306
(fetchpatch {
url = "https://github.com/mindtheegab/tg/commit/13e2b266989d2d757a394b0fb8cb7fd6ccc2b70c.patch";
hash = "sha256-Wja6xBOlPuACzhbT8Yl3F8qSh3Kd9G1lnr9VarbPrfM=";
})
];
# Fix notifications on platforms other than darwin by providing notify-send
postPatch = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
sed -i 's|^NOTIFY_CMD = .*|NOTIFY_CMD = "${libnotify}/bin/notify-send {title} {message} -i {icon_path}"|' tg/config.py
'';
propagatedBuildInputs = [ python-telegram ];
doCheck = false; # No tests
meta = with lib; {
description = "Terminal client for telegram";
mainProgram = "tg";
homepage = "https://github.com/paul-nameless/tg";
license = licenses.unlicense;
maintainers = with maintainers; [ sikmir ];
};
}
@@ -8,13 +8,13 @@
let
pname = "mendeley";
version = "2.135.0";
version = "2.136.0";
executableName = "${pname}-reference-manager";
src = fetchurl {
url = "https://static.mendeley.com/bin/desktop/mendeley-reference-manager-${version}-x86_64.AppImage";
hash = "sha256-fJ2rW3VKN4TqwDCCDlPpSFckoBjBtmMOvXanqqMS7AM=";
hash = "sha256-NAH4BwWEdI1WFWgPJIPbWkpkN/qxR2+8NwGtdCeohbA=";
};
appimageContents = appimageTools.extractType2 {
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
pkg-config,
libglut,
gtk2,
@@ -27,6 +28,18 @@ stdenv.mkDerivation rec {
sha256 = "sha256-MkElGo1ZR0ImW/526QlDE1ePd+VOQxwkX7l+0WyZ6Vs=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/CelestiaProject/Celestia/commit/94894bed3bf98d41c5097e7829d491d8ff8d4a62.patch?full_index=1";
hash = "sha256-hEZ6BhSEx6Qm+fLisc63xSCDT6GX92AHD0BuldOhzFk=";
})
];
postPatch = ''
substituteInPlace configure.ac \
--replace-fail "dnl AM_GNU_GETTEXT_VERSION([0.15])" "AM_GNU_GETTEXT_VERSION([0.15])"
'';
nativeBuildInputs = [
pkg-config
autoreconfHook
@@ -82,13 +82,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "obs-studio";
version = "31.1.1";
version = "31.1.2";
src = fetchFromGitHub {
owner = "obsproject";
repo = "obs-studio";
rev = finalAttrs.version;
hash = "sha256-FZTWuT9eANITzdCopDyr11CTyfGvMtSgaFMPSPlmrTU=";
hash = "sha256-QZoIyjliVruDPZj8hzTABaDn+nCTVs5qQCdBLtSOKvI=";
fetchSubmodules = true;
};
@@ -9,13 +9,13 @@
}:
mkHyprlandPlugin hyprland rec {
pluginName = "hyprsplit";
version = "0.49.0";
version = "0.50.1";
src = fetchFromGitHub {
owner = "shezdy";
repo = "hyprsplit";
rev = "refs/tags/v${version}";
hash = "sha256-0jrsiUoQi/VXM2Ji7YTOEYDYYlBI2C3ZbgQpYoAEVKI=";
tag = "v${version}";
hash = "sha256-D0zfdUJXBRnNMmv/5qW+X4FJJ3/+t7yQmwJFkBuEgck=";
};
nativeBuildInputs = [
@@ -28,13 +28,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xdg-desktop-portal-hyprland";
version = "1.3.9";
version = "1.3.10";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "xdg-desktop-portal-hyprland";
tag = "v${finalAttrs.version}";
hash = "sha256-sAObJHBZjJHzYR62g+BLNBNq19cqb5LTw73H8m57K0w=";
hash = "sha256-js2sLRtsOUA/aT10OCDaTjO80yplqwOIaLUqEe0nMx0=";
};
depsBuildBuild = [
@@ -5,6 +5,14 @@ source @phpScriptUtils@
declare -g out
declare -g composerLock
declare -g composerNoDev
declare -g composerNoPlugins
declare -g composerNoScripts
declare -ga composerFlags=()
[[ -n "$composerNoDev" ]] && composerFlags+=(--no-dev)
[[ -n "$composerNoPlugins" ]] && composerFlags+=(--no-plugins)
[[ -n "$composerNoScripts" ]] && composerFlags+=(--no-scripts)
preConfigureHooks+=(composerVendorConfigureHook)
preBuildHooks+=(composerVendorBuildHook)
@@ -32,9 +40,7 @@ composerVendorConfigureHook() {
--no-interaction \
--no-progress \
--optimize-autoloader \
${composerNoDev:+--no-dev} \
${composerNoPlugins:+--no-plugins} \
${composerNoScripts:+--no-scripts} \
"${composerFlags[@]}" \
update
if [[ -f "composer.lock" ]]; then
@@ -76,9 +82,7 @@ composerVendorBuildHook() {
--no-interaction \
--no-progress \
--optimize-autoloader \
${composerNoDev:+--no-dev} \
${composerNoPlugins:+--no-plugins} \
${composerNoScripts:+--no-scripts} \
"${composerFlags[@]}" \
install
echo "Finished composerVendorBuildHook"
+4
View File
@@ -27,6 +27,8 @@ stdenv.mkDerivation (finalAttrs: {
# FIXME: This package does not support `distmp3', `eject', etc.
configurePhase = ''
runHook preConfigure
sed -i "s|^[[:blank:]]*prefix *=.*$|prefix = $out|g ;
s|^[[:blank:]]*etcdir *=.*$|etcdir = $out/etc|g ;
s|^[[:blank:]]*INSTALL *=.*$|INSTALL = install -c|g" \
@@ -37,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace "abcde" \
--replace "/etc/abcde.conf" "$out/etc/abcde.conf"
runHook postConfigure
'';
nativeBuildInputs = [ makeWrapper ];
+2 -2
View File
@@ -9,7 +9,7 @@
let
appName = "AeroSpace.app";
version = "0.18.5-Beta";
version = "0.19.2-Beta";
in
stdenv.mkDerivation {
pname = "aerospace";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
src = fetchzip {
url = "https://github.com/nikitabobko/AeroSpace/releases/download/v${version}/AeroSpace-v${version}.zip";
sha256 = "sha256-rF4emnLNVE1fFlxExliN7clSBocBrPwQOwBqRtX9Q4o=";
sha256 = "sha256-6RyGw84GhGwULzN0ObjsB3nzRu1HYQS/qoCvzVWOYWQ=";
};
nativeBuildInputs = [ installShellFiles ];
+4
View File
@@ -46,12 +46,16 @@ stdenv.mkDerivation rec {
};
configurePhase = ''
runHook preConfigure
# Set up picosat, so we can build 'aigbmc'
mkdir ../picosat
ln -s ${picosat}/include/picosat/picosat.h ../picosat/picosat.h
ln -s ${picosat}/lib/picosat.o ../picosat/picosat.o
ln -s ${picosat}/share/picosat.version ../picosat/VERSION
./configure.sh
runHook postConfigure
'';
postBuild = ''
+3 -3
View File
@@ -7,20 +7,20 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "amazon-q-cli";
version = "1.12.6";
version = "1.12.7";
src = fetchFromGitHub {
owner = "aws";
repo = "amazon-q-developer-cli-autocomplete";
tag = "v${finalAttrs.version}";
hash = "sha256-IjM9eFoFfy/WV6lPJB1mnRZYoXLIiVozjzmnXEnU2MA=";
hash = "sha256-K9OwA7qEv+yPYL4vv/ZhDK2mhW/jYmGFLEQ9oX2pjUE=";
};
nativeBuildInputs = [
rustPlatform.bindgenHook
];
cargoHash = "sha256-XZX8EisHQ1vqbrV8VnXrah3o1h3iKCxzPsKk6Z+aKzU=";
cargoHash = "sha256-C8uc9/g70fBpEeSagNcSfv/KHpW2zJdRvWe2bpTzHRU=";
cargoBuildFlags = [
"-p"
@@ -8,7 +8,7 @@
stdenv.mkDerivation {
pname = "android-backup-extractor";
version = "0-unstable-2025-01-15-62310d4";
version = "0-unstable-2025-01-15";
src = fetchurl {
url = "https://github.com/nelenkov/android-backup-extractor/releases/download/latest/abe-62310d4.jar";
@@ -5,7 +5,7 @@
}:
stdenvNoCC.mkDerivation {
pname = "artim-dark";
pname = "aritim-dark";
version = "unstable-2021-12-29";
src = fetchFromGitHub {
+2 -2
View File
@@ -11,11 +11,11 @@
stdenv.mkDerivation rec {
pname = "armadillo";
version = "14.4.3";
version = "14.6.1";
src = fetchurl {
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
hash = "sha256-w6rdWb2w6kM5sFbymXL5LuGf3FL2jreNMtLkyvTYDDo=";
hash = "sha256-vsZ/No/GFnPEyelCnSATWkK6gKLH+FkrkS5fl+KJv8A=";
};
nativeBuildInputs = [ cmake ];
@@ -6,7 +6,7 @@
python3Packages.buildPythonApplication {
pname = "arubaotp-seed-extractor";
version = "0-unstable-22-12-2022";
version = "0-unstable-2022-12-22";
src = fetchFromGitHub {
owner = "andry08";
+2 -2
View File
@@ -8,13 +8,13 @@
}:
stdenv.mkDerivation rec {
pname = "async-profiler";
version = "4.0";
version = "4.1";
src = fetchFromGitHub {
owner = "jvm-profiling-tools";
repo = "async-profiler";
rev = "v${version}";
hash = "sha256-4S5Lbhqu2V7TzrbFf3G3G4OEYLU6w5lcgUl49k9YqSA=";
hash = "sha256-82aZK9y1Y5PaYtIG7FqnrbYU+bQ3nNzOCn+3lFzyeCA=";
};
nativeBuildInputs = [ makeWrapper ];
+57 -50
View File
@@ -9,10 +9,11 @@
getent,
nixosTests,
}:
python3Packages.buildPythonPackage rec {
pname = "auto-cpufreq";
version = "2.6.0";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "AdnanHodzic";
@@ -21,35 +22,6 @@ python3Packages.buildPythonPackage rec {
hash = "sha256-DEs6jbWYJFJgpaPtF5NT3DQs3erjzdm2brLNHpjrEPA=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook3
];
buildInputs = [
gtk3
python3Packages.poetry-core
];
propagatedBuildInputs =
with python3Packages;
[
click
distro
psutil
pygobject3
poetry-dynamic-versioning
setuptools
pyinotify
urwid
pyasyncore
requests
]
++ [ getent ];
doCheck = false;
pythonImportsCheck = [ "auto_cpufreq" ];
patches = [
# hardcodes version output
(replaceVars ./fix-version-output.patch {
@@ -64,38 +36,73 @@ python3Packages.buildPythonPackage rec {
postPatch = ''
substituteInPlace auto_cpufreq/core.py \
--replace-fail '/opt/auto-cpufreq/override.pickle' /var/run/override.pickle
--replace-fail "/opt/auto-cpufreq/override.pickle" "/var/run/override.pickle"
substituteInPlace scripts/org.auto-cpufreq.pkexec.policy \
--replace-fail "/opt/auto-cpufreq/venv/bin/auto-cpufreq" $out/bin/auto-cpufreq
--replace-fail "/opt/auto-cpufreq/venv/bin/auto-cpufreq" "$out/bin/auto-cpufreq"
substituteInPlace auto_cpufreq/gui/app.py auto_cpufreq/gui/objects.py \
--replace-fail "/usr/local/share/auto-cpufreq/images/icon.png" $out/share/pixmaps/auto-cpufreq.png
--replace-fail "/usr/local/share/auto-cpufreq/images/icon.png" "$out/share/icons/hicolor/512x512/apps/auto-cpufreq.png"
substituteInPlace auto_cpufreq/gui/app.py \
--replace-fail "/usr/local/share/auto-cpufreq/scripts/style.css" $out/share/auto-cpufreq/scripts/style.css
--replace-fail "/usr/local/share/auto-cpufreq/scripts/style.css" "$out/share/auto-cpufreq/scripts/style.css"
'';
postInstall = ''
build-system = with python3Packages; [
poetry-core
poetry-dynamic-versioning
];
dependencies = with python3Packages; [
click
distro
psutil
pygobject3
poetry-dynamic-versioning
setuptools
pyinotify
urwid
pyasyncore
requests
];
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook3
];
buildInputs = [ gtk3 ];
propagatedBuildInputs = [ getent ];
postInstall =
# copy script manually
cp ${src}/scripts/cpufreqctl.sh $out/bin/cpufreqctl.auto-cpufreq
''
install -Dm 0755 scripts/cpufreqctl.sh $out/bin/cpufreqctl.auto-cpufreq
''
# copy css file
mkdir -p $out/share/auto-cpufreq/scripts
cp scripts/style.css $out/share/auto-cpufreq/scripts/style.css
+ ''
install -Dm 0644 scripts/style.css $out/share/auto-cpufreq/scripts/style.css
''
# systemd service
mkdir -p $out/lib/systemd/system
cp ${src}/scripts/auto-cpufreq.service $out/lib/systemd/system
+ ''
install -Dm 0644 scripts/auto-cpufreq.service -t $out/lib/systemd/system
''
# desktop icon
mkdir -p $out/share/applications
mkdir $out/share/pixmaps
cp scripts/auto-cpufreq-gtk.desktop $out/share/applications
cp images/icon.png $out/share/pixmaps/auto-cpufreq.png
+ ''
install -Dm 0644 scripts/auto-cpufreq-gtk.desktop -t $out/share/applications
install -Dm 0644 images/icon.png $out/share/icons/hicolor/512x512/apps/auto-cpufreq.png
''
# polkit policy
mkdir -p $out/share/polkit-1/actions
cp scripts/org.auto-cpufreq.pkexec.policy $out/share/polkit-1/actions
+ ''
install -Dm 0644 scripts/org.auto-cpufreq.pkexec.policy -t $out/share/polkit-1/actions
'';
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
pythonImportsCheck = [ "auto_cpufreq" ];
passthru.tests = {
inherit (nixosTests) auto-cpufreq;
};
+2 -2
View File
@@ -12,13 +12,13 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "bashunit";
version = "0.22.2";
version = "0.22.3";
src = fetchFromGitHub {
owner = "TypedDevs";
repo = "bashunit";
tag = finalAttrs.version;
hash = "sha256-neQ7/euCGn0u9ph4Z3vGsptayZ47cY0iG6FFRkwBFG0=";
hash = "sha256-CN3BmsAFRQSkcS97XkKsL9+lChxb7V05iw8xoq0QVZE=";
forceFetchGit = true; # needed to include the tests directory for the check phase
};
+3 -3
View File
@@ -12,16 +12,16 @@
buildGoModule rec {
pname = "bettercap";
version = "2.41.0";
version = "2.41.1";
src = fetchFromGitHub {
owner = "bettercap";
repo = "bettercap";
rev = "v${version}";
sha256 = "sha256-qQNsdKUiTSXkvfIguR1Rjs3A1WW4G1ernqRWTKBjIVI=";
sha256 = "sha256-NvCAG5+oZ5Xf2gbFKNlLXNxkvvK10py+qksJ5te2aGI=";
};
vendorHash = "sha256-OxcBk22TvlcnHqJ0VzuewZtWLm/DPo6Cdq7RKabOg8w=";
vendorHash = "sha256-1kgjMPsj8z2Cl0YWe/1zY0Zuiza0X+ZAIgsMqPhCrMw=";
doCheck = false;
+79 -27
View File
@@ -1,44 +1,96 @@
{
lib,
stdenvNoCC,
buildFHSEnv,
appimageTools,
fetchurl,
desktop-file-utils,
dpkg,
webkitgtk_4_0,
runScript ? "BitComet",
}:
let
pname = "bitcomet";
version = "2.13.2";
src = fetchurl {
url = "https://download.bitcomet.com/linux/x86_64/BitComet-${version}-x86_64.AppImage";
hash = "sha256-T66hmWmjt7ZZj03IxTSYtNUBoFHgwOoAIOHMyJSAmbU=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraPkgs =
pkgs: with pkgs; [
libxml2
libpng
webkitgtk_4_0
];
extraInstallCommands = ''
install -Dm644 ${appimageContents}/com.bitcomet.linux.desktop $out/share/applications/bitcomet.desktop
substituteInPlace $out/share/applications/bitcomet.desktop \
--replace-fail "Exec=usr/bin/BitComet" "Exec=bitcomet"
cp -r ${appimageContents}/usr/share/icons $out/share/icons
'';
version = "2.15.0";
meta = {
homepage = "https://www.bitcomet.com";
description = "BitTorrent download client";
mainProgram = "bitcomet";
mainProgram = "BitComet";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
platforms = [ "x86_64-linux" ];
platforms = [
"aarch64-linux"
"x86_64-linux"
];
maintainers = with lib.maintainers; [ ];
};
bitcomet = stdenvNoCC.mkDerivation {
inherit pname version meta;
src =
let
selectSystem =
attrs:
attrs.${stdenvNoCC.hostPlatform.system}
or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
arch = selectSystem {
x86_64-linux = "x86_64";
aarch64-linux = "arm64";
};
in
fetchurl {
url = "https://download.bitcomet.com/linux/${arch}/BitComet-${version}-${arch}.deb";
hash = selectSystem {
x86_64-linux = "sha256-YmcHcrqw4Ue8uyQqYcLWTYS5WYQro3kk7VLY8pfIsRQ=";
aarch64-linux = "sha256-Bfg20aKU90Ap8scn4eHtf451uxPfWcnQCrh5gWRQmsU=";
};
};
nativeBuildInputs = [
dpkg
desktop-file-utils
];
installPhase = ''
runHook preInstall
desktop-file-edit usr/share/applications/bitcomet.desktop \
--remove-key="Version" \
--remove-key="Comment" \
--set-key="Exec" --set-value="BitComet" \
--set-icon="bitcomet"
cp -r usr $out
runHook postInstall
'';
};
in
buildFHSEnv {
inherit
pname
version
runScript
meta
;
executableName = "BitComet";
targetPkgs =
pkgs:
[
bitcomet
webkitgtk_4_0
]
++ appimageTools.defaultFhsEnvArgs.targetPkgs pkgs;
multiPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = ''
mkdir -p $out/share
ln -s ${bitcomet}/share/applications $out/share/applications
ln -s ${bitcomet}/share/icons $out/share/icons
'';
}
+1 -1
View File
@@ -9,7 +9,7 @@
rustPlatform.buildRustPackage {
pname = "bounty";
version = "0.1.0-unstable-25-01-29";
version = "0.1.0-unstable-2025-02-15";
src = fetchFromGitHub {
owner = "ghbountybot";
@@ -12,7 +12,7 @@
stdenvNoCC.mkDerivation {
pname = "breeze-hacked-cursor-theme";
version = "0-unstable-2024-1-28";
version = "0-unstable-2024-01-28";
src = fetchFromGitHub {
owner = "clayrisser";
+2 -2
View File
@@ -18,14 +18,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "buffer";
version = "0.10.0";
version = "0.10.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "cheywood";
repo = "buffer";
tag = finalAttrs.version;
hash = "sha256-81riamRKzV4wXVTXkp1ngO/5mG7leRJMw/r2DDHl8LU=";
hash = "sha256-AkgmKMMy3tBgJudJ2Mm8LFV+aE0QbviKxgAJEZ9A3cg=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
+4
View File
@@ -12,7 +12,11 @@ stdenv.mkDerivation rec {
};
configurePhase = ''
runHook preConfigure
echo "PREFIX = $out" > defines.make
runHook postConfigure
'';
meta = {
+21 -17
View File
@@ -1,12 +1,12 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
flex,
gitUpdater,
libusb1,
meson,
ninja,
nix-update-script,
pcsclite,
perl,
pkg-config,
@@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
pname = "ccid";
version = "1.6.2";
src = fetchurl {
url = "https://ccid.apdu.fr/files/${pname}-${version}.tar.xz";
hash = "sha256-QZWEEJUBV+Yi+dkcnnjHtwjbdOIvcRkMWB0k0gVk1Ek=";
src = fetchFromGitHub {
owner = "LudovicRousseau";
repo = "CCID";
tag = version;
hash = "sha256-n7rOjnLZH4RLmddtBycr3FK2Bi/OLR+9IjWBRbWjnUw=";
};
postPatch = ''
@@ -65,21 +67,23 @@ stdenv.mkDerivation rec {
# usually getting stripped.
stripDebugList = [ "pcsc" ];
passthru.updateScript = gitUpdater {
url = "https://salsa.debian.org/rousseau/CCID.git";
};
passthru.updateScript = nix-update-script { };
installCheckPhase = ''
runHook preInstallCheck
installCheckPhase =
let
platform = if stdenv.hostPlatform.isLinux then "Linux" else "MacOS";
in
lib.optionalString (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isDarwin) ''
runHook preInstallCheck
[ -f $out/etc/reader.conf.d/libccidtwin ]
[ -f $out/lib/udev/rules.d/92_pcscd_ccid.rules ]
[ -f $out/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist ]
[ -f $out/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so ]
[ -f $out/pcsc/drivers/serial/libccidtwin.so ]
[ -f $out/etc/reader.conf.d/libccidtwin ]
[ -f $out/lib/udev/rules.d/92_pcscd_ccid.rules ]
[ -f $out/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist ]
[ -f $out/pcsc/drivers/ifd-ccid.bundle/Contents/${platform}/libccid${stdenv.hostPlatform.extensions.sharedLibrary} ]
[ -f $out/pcsc/drivers/serial/libccidtwin${stdenv.hostPlatform.extensions.sharedLibrary} ]
runHook preInstallCheck
'';
runHook postInstallCheck
'';
meta = with lib; {
description = "PC/SC driver for USB CCID smart card readers";
+1 -1
View File
@@ -7,7 +7,7 @@
stdenv.mkDerivation {
pname = "ceptre";
version = "0-unstable-2024-8-26";
version = "0-unstable-2024-08-26";
src = fetchFromGitHub {
owner = "chrisamaphone";
+3 -3
View File
@@ -5,14 +5,14 @@
}:
rustPlatform.buildRustPackage rec {
pname = "cfonts";
version = "1.2.0";
version = "1.3.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-W5hN+b4R50tNfYb3WrM0z5Etm6ixa11pZWnzGC9bjSs=";
hash = "sha256-rgdqQzJyb1/bYB3S1MD/53vdQ+GaxOvGHuPE6dxMRB0=";
};
cargoHash = "sha256-MXUUvk7R1JdjNlZ7h3ymUAPOT/A0I8TOW3saBB4C94o=";
cargoHash = "sha256-Gf4W7ACyyVSCXV2RmpAfrE7Xircjk34Llk2j58cWXtU=";
meta = with lib; {
homepage = "https://github.com/dominikwilkowski/cfonts";
+4
View File
@@ -25,7 +25,11 @@ stdenv.mkDerivation rec {
];
configurePhase = ''
runHook preConfigure
sh fix.sh unix
runHook postConfigure
'';
hardeningDisable = [ "format" ];
+3 -3
View File
@@ -7,14 +7,14 @@
python3Packages.buildPythonApplication rec {
pname = "check50";
version = "3.3.11";
version = "3.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cs50";
repo = "check50";
tag = "v${version}";
hash = "sha256-+qyEMzAJG/fyIqj+0mk0HTxTlQk6sHZhvmfd9Hgj/aw=";
hash = "sha256-3WxFdXECIjbTxHK65BFnxOroEYzu7iOJwm15gIjitLA=";
};
build-system = [
@@ -45,7 +45,7 @@ python3Packages.buildPythonApplication rec {
description = "Testing tool for checking student CS50 code";
homepage = "https://cs50.readthedocs.io/projects/check50/en/latest/";
downloadPage = "https://github.com/cs50/check50";
changelog = "https://github.com/cs50/check50/releases/tag/v${version}";
changelog = "https://github.com/cs50/check50/releases/tag/${src.tag}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ethancedwards8 ];
+3 -3
View File
@@ -11,14 +11,14 @@
python3Packages.buildPythonApplication {
pname = "chirp";
version = "0.4.0-unstable-2025-07-17";
version = "0.4.0-unstable-2025-07-25";
pyproject = true;
src = fetchFromGitHub {
owner = "kk7ds";
repo = "chirp";
rev = "c28ea5e8a7d8036ccc76ec38a050fd30b84c65e4";
hash = "sha256-hr8Q8BUanM64CktbrCazs8uvt/ssf+JBdevAMuDj6G4=";
rev = "85e0655382b2c1564c387aa2fa5e21a444887ea1";
hash = "sha256-IrwKTJt8RXJKzZFQjrEYndQ5WmG52IiJnB+hrw89tfU=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -6,11 +6,11 @@
buildGraalvmNativeImage (finalAttrs: {
pname = "clj-kondo";
version = "2025.06.05";
version = "2025.07.26";
src = fetchurl {
url = "https://github.com/clj-kondo/clj-kondo/releases/download/v${finalAttrs.version}/clj-kondo-${finalAttrs.version}-standalone.jar";
sha256 = "sha256-jmQFiL8MFIuMrHPSxW27E7yZIGf+k8J5nFVXgNGIKoM=";
sha256 = "sha256-jo8iY8vEtrGTQTV98y89i2OLWW4M3u6hsXZebd7cnUw=";
};
extraNativeImageBuildArgs = [
@@ -87,6 +87,8 @@ stdenv.mkDerivation {
'';
configurePhase = ''
runHook preConfigure
cd libs
./autogen.sh --prefix=$out
@@ -127,6 +129,8 @@ stdenv.mkDerivation {
sed -e "s,cnijlgmon2_LDADD =,cnijlgmon2_LDADD = -L../../com/libs_bin${arch}," \
-i lgmon2/src/Makefile.am || die
runHook postConfigure
'';
preInstall = ''
+3 -3
View File
@@ -7,16 +7,16 @@
buildGoModule rec {
pname = "crowdsec";
version = "1.6.9";
version = "1.6.11";
src = fetchFromGitHub {
owner = "crowdsecurity";
repo = "crowdsec";
tag = "v${version}";
hash = "sha256-Gu4Ds9o4CsimMoKqJV2weAQYH34Z7GN3rPbhbtoVuHU=";
hash = "sha256-fHnd/pnmVAPvCtae4aRS66tXmMp6DgNagqWNrT9hcw8=";
};
vendorHash = "sha256-xUzYHVhqyMUQQH5ICkwgaDiFi/L4exROjvJNWS2j9ZU=";
vendorHash = "sha256-ImrXOD3kIlNsEZOTeMA6UFvMZCnfMOTZOXtY3ger8YI=";
nativeBuildInputs = [ installShellFiles ];
+22 -13
View File
@@ -3,17 +3,19 @@
clang,
fetchFromGitHub,
buildGoModule,
versionCheckHook,
nixosTests,
nix-update-script,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "dae";
version = "1.0.0";
src = fetchFromGitHub {
owner = "daeuniverse";
repo = "dae";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-RpbWZEoGrCq3Py0hu6YDie6ErDTLS3oabqScPzhCtm0=";
fetchSubmodules = true;
};
@@ -33,7 +35,7 @@ buildGoModule rec {
make CFLAGS="-D__REMOVE_BPF_PRINTK -fno-stack-protector -Wno-unused-command-line-argument" \
NOSTRIP=y \
VERSION=${version} \
VERSION=${finalAttrs.version} \
OUTPUT=$out/bin/dae
runHook postBuild
@@ -45,25 +47,32 @@ buildGoModule rec {
postInstall = ''
install -Dm444 install/dae.service $out/lib/systemd/system/dae.service
substituteInPlace $out/lib/systemd/system/dae.service \
--replace /usr/bin/dae $out/bin/dae
--replace-fail "/usr/bin/dae" "$out/bin/dae"
'';
passthru.tests = {
inherit (nixosTests) dae;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
passthru = {
tests = {
inherit (nixosTests) dae;
};
updateScript = nix-update-script { };
};
passthru.updateScript = nix-update-script { };
meta = with lib; {
meta = {
description = "Linux high-performance transparent proxy solution based on eBPF";
homepage = "https://github.com/daeuniverse/dae";
license = licenses.agpl3Only;
maintainers = with maintainers; [
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [
oluceps
pokon548
luochen1990
];
platforms = platforms.linux;
platforms = lib.platforms.linux;
mainProgram = "dae";
};
}
})
+4
View File
@@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ installShellFiles ];
configurePhase = ''
runHook preConfigure
cd daemontools-${version}
sed -i -e '1 s_$_ -include ${glibc.dev}/include/errno.h_' src/conf-cc
@@ -48,6 +50,8 @@ stdenv.mkDerivation rec {
sed -i -e "s_^PATH=.*_PATH=$src/daemontools-${version}/compile:''${PATH}_" src/rts.tests
cat ${glibc.dev}/include/errno.h
runHook postConfigure
'';
buildPhase = ''
+5 -5
View File
@@ -8,25 +8,25 @@
let
pname = "dbgate";
version = "6.5.6";
version = "6.6.0";
src =
fetchurl
{
aarch64-linux = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-linux_arm64.AppImage";
hash = "sha256-S0xlC0ht6G+RDrsMaMD4nk/vKdLvtvAtUaMaFowT/Gw=";
hash = "sha256-GFKsZ/rSMXWn2hAlRRdswDrooqUIGeIhEsMchIPEb5U=";
};
x86_64-linux = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-linux_x86_64.AppImage";
hash = "sha256-JBE/t/IwFe02LrK4Ci+2KEtAXlH1zr5WcTmQir6yvNc=";
hash = "sha256-2g8XsljPvn2TITC1/PtBlgdrfwVDPnjmOXeOS/iQh5Q=";
};
x86_64-darwin = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-mac_x64.dmg";
hash = "sha256-EkySGJCHAR/YCS/I6j2LZHA6/L0P8VX2WDPScj58mSg=";
hash = "sha256-ooLivNWt5IDKB779PLb4FOgk9jSU10IkB0D9OPLVKsE=";
};
aarch64-darwin = {
url = "https://github.com/dbgate/dbgate/releases/download/v${version}/dbgate-${version}-mac_universal.dmg";
hash = "sha256-isOrajXB+O9y3fiSulhjoSSt/7lgu4xPMXBhUcfgK2Y=";
hash = "sha256-PqgG8dGvr4S8BhxqfvYo2BiR5KoAWon9ZI8KGKT3ujI=";
};
}
.${stdenv.hostPlatform.system} or (throw "dbgate: ${stdenv.hostPlatform.system} is unsupported.");
+2 -2
View File
@@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "decker";
version = "1.56";
version = "1.57";
src = fetchFromGitHub {
owner = "JohnEarnest";
repo = "Decker";
rev = "v${version}";
hash = "sha256-b4Z+hQ7sQf8sdFXcX4+GA9Q8gJDUeb5LuVgrd3bY6vA=";
hash = "sha256-2y/kr8kBMfHAiWO6s7rAyDYyv70NnmiKeYhYq9Zmz0Y=";
};
buildInputs = [
@@ -20,8 +20,12 @@ stdenv.mkDerivation {
buildInputs = [ mpi ];
configurePhase = ''
runHook preConfigure
cd source
cp -v ../build/MakePAR Makefile
runHook postConfigure
'';
# https://gitlab.com/DL_POLY_Classic/dl_poly/-/blob/master/README
+2 -2
View File
@@ -6,13 +6,13 @@
buildGoModule rec {
pname = "do-agent";
version = "3.18.0";
version = "3.18.2";
src = fetchFromGitHub {
owner = "digitalocean";
repo = "do-agent";
rev = version;
sha256 = "sha256-sS6aBJVrF9NrAzizSBBXKM3iMAHa+j9rDw7hZSHgRFg=";
sha256 = "sha256-+UoQhJkwxazfe6LwqNF4zn4jnc3ZQia0ZOL3GX27r3w=";
};
ldflags = [
+4
View File
@@ -122,8 +122,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
'';
configurePhase = ''
runHook preConfigure
cmakeConfigurePhase
pnpmConfigHook
runHook postConfigure
'';
buildPhase = ''
+4
View File
@@ -16,8 +16,12 @@ stdenv.mkDerivation {
};
configurePhase = ''
runHook preConfigure
./autogen.sh
./configure --prefix=$out
runHook postConfigure
'';
patches = [
@@ -48,6 +48,8 @@ stdenv.mkDerivation {
modelines = "";
configurePhase = ''
runHook preConfigure
test "$clean" != 1 || rm *x*.S
./modeline2edid - <"$modelinesPath"
@@ -56,6 +58,8 @@ stdenv.mkDerivation {
cat "$file"
done
make clean
runHook postConfigure
'';
buildPhase = ''
+3 -2
View File
@@ -141,7 +141,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "ejabberd";
version = "25.04";
version = "25.07";
nativeBuildInputs = [
makeWrapper
@@ -171,7 +171,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "processone";
repo = "ejabberd";
tag = finalAttrs.version;
hash = "sha256-BIt5kLEtvMUlyntQ98Mgidmo6lJHbt/LJYrbxPaJxPo=";
hash = "sha256-DDvxmRennd9tAC9LqV8eAAzcF+kZemvgsOviWD9CHlM=";
};
passthru.tests = {
@@ -224,6 +224,7 @@ stdenv.mkDerivation (finalAttrs: {
sander
abbradar
chuangzhu
toastal
];
};
})
+48 -48
View File
@@ -14,11 +14,11 @@ let
packages = with self; {
unicode_util_compat = builder {
name = "unicode_util_compat";
version = "0.7.0";
version = "0.7.1";
src = fetchHex {
pkg = "unicode_util_compat";
version = "0.7.0";
sha256 = "sha256-Je7m1n32GWDPanlCOVZlmbCeF+Zo03ACR7xJhjgVJSE=";
version = "0.7.1";
sha256 = "sha256-s6kXhUzjriM2GXRK0eAQLgVnMTZ3b7L6diNPPgOyNkI=";
};
beamDeps = [ ];
};
@@ -44,21 +44,21 @@ let
};
yconf = builder {
name = "yconf";
version = "1.0.18";
version = "1.0.20";
src = fetchHex {
pkg = "yconf";
version = "1.0.18";
sha256 = "sha256-+pUOxlA/ktZBf7jMHZgkA/BBaX6OG79NRYj7kZuVYuo=";
version = "1.0.20";
sha256 = "sha256-8rPXMHVvwuSv0cCwq277mfDkSJUtJdwV7XWsFjW/iII=";
};
beamDeps = [ fast_yaml ];
};
xmpp = builder {
name = "xmpp";
version = "1.10.0";
version = "1.11.0";
src = fetchHex {
pkg = "xmpp";
version = "1.10.0";
sha256 = "sha256-zurkO4/pdknY+FRrP38rOOz8kxwM3Vx0Rf+z+A/LfYU=";
version = "1.11.0";
sha256 = "sha256-NKGR1qO3To8KQjRvhZ4sq1s6Kuflwo85Lly1ZhLnzoU=";
};
beamDeps = [
ezlib
@@ -71,11 +71,11 @@ let
};
stun = builder {
name = "stun";
version = "1.2.17";
version = "1.2.20";
src = fetchHex {
pkg = "stun";
version = "1.2.17";
sha256 = "sha256-azGCRMIehSSpquOsmgXNgjTumUwcLIFd5o0wYIatdo0=";
version = "1.2.20";
sha256 = "sha256-eeSfgmpPfVIsk5q2M9k1x519ayKeTLfgX2LzO1AXdBQ=";
};
beamDeps = [
fast_tls
@@ -84,11 +84,11 @@ let
};
stringprep = builder {
name = "stringprep";
version = "1.0.31";
version = "1.0.33";
src = fetchHex {
pkg = "stringprep";
version = "1.0.31";
sha256 = "sha256-6WmciOjbFrOkHw5FrGh0pNqBpuSFSnfXbt5tCbCONTA=";
version = "1.0.33";
sha256 = "sha256-lvizC8UIh/YFsztGvKHSSMGah5MZuMSCeQ47TaXamMA=";
};
beamDeps = [ p1_utils ];
};
@@ -114,21 +114,21 @@ let
};
p1_utils = builder {
name = "p1_utils";
version = "1.0.26";
version = "1.0.28";
src = fetchHex {
pkg = "p1_utils";
version = "1.0.27";
sha256 = "sha256-8a+UKwpivPoNWfvjBnm+T/614kGgxJ7V8JTbL1uA9eA=";
version = "1.0.28";
sha256 = "sha256-xJvUS8SkCtmWaRr4Jt1+CqVtTQzXMIFxkKH4TRp/ADM=";
};
beamDeps = [ ];
};
p1_pgsql = builder {
name = "p1_pgsql";
version = "1.1.32";
version = "1.1.34";
src = fetchHex {
pkg = "p1_pgsql";
version = "1.1.32";
sha256 = "sha256-JosB6PTrdcIRoxSVolwoFcVJrszi8N8aFhxuCizeBh4=";
version = "1.1.34";
sha256 = "sha256-yw4y4IbJw10OPpZuOGPYMnN8e00rXxRzFqRlwLJD6n8=";
};
beamDeps = [ xmpp ];
};
@@ -154,11 +154,11 @@ let
};
p1_acme = builder {
name = "p1_acme";
version = "1.0.25";
version = "1.0.27";
src = fetchHex {
pkg = "p1_acme";
version = "1.0.25";
sha256 = "sha256-p7VbR0ld20+YoV5lRR7DrUP0Y3uVXHTNaV2Y5qZF0Iw=";
version = "1.0.27";
sha256 = "sha256-qmS2qIVrGiKaEovqJ2Md4uGiIZg146gz+hETcUOo13M=";
};
beamDeps = [
base64url
@@ -170,11 +170,11 @@ let
};
mqtree = builder {
name = "mqtree";
version = "1.0.17";
version = "1.0.19";
src = fetchHex {
pkg = "mqtree";
version = "1.0.17";
sha256 = "sha256-X+i3z4+8R4PQ/OuUZUrCu/MkKljNA5fSSd7YrgIb4qM=";
version = "1.0.19";
sha256 = "sha256-yBBlcVxJoYgoEvgKWuLYQugN0/LRMFMN81mQJIv4zjw=";
};
beamDeps = [ p1_utils ];
};
@@ -210,51 +210,51 @@ let
};
fast_yaml = builder {
name = "fast_yaml";
version = "1.0.37";
version = "1.0.39";
src = fetchHex {
pkg = "fast_yaml";
version = "1.0.37";
sha256 = "sha256-jehochv34hckFPfTFI7eDzySK0lkVc1iXdXEQpUVp2k=";
version = "1.0.39";
sha256 = "sha256-JMe5q54rkmnWTkX0oqEoCWatsX0x5jNlz9PuJ3+wp40=";
};
beamDeps = [ p1_utils ];
};
fast_xml = builder {
name = "fast_xml";
version = "1.1.55";
version = "1.1.57";
src = fetchHex {
pkg = "fast_xml";
version = "1.1.55";
sha256 = "sha256-g/PiOngO1fVnzexzlT8GyVuDjXCdv6hrWamKjSPJn4U=";
version = "1.1.57";
sha256 = "sha256-7sNOkK2sr+Rn1d2rY1oBTe1zuYtAYVVLLRlyFz2SnDk=";
};
beamDeps = [ p1_utils ];
};
fast_tls = builder {
name = "fast_tls";
version = "1.1.22";
version = "1.1.24";
src = fetchHex {
pkg = "fast_tls";
version = "1.1.22";
sha256 = "sha256-5ld5rvt6sVxHVSMP74B35ofSDMWjmEpZdPn2V+jiSFs=";
version = "1.1.24";
sha256 = "sha256-//iK2jn60QRkVnoWBkP0Up70rtSdFWkZ9dH0FbbNu7Y=";
};
beamDeps = [ p1_utils ];
};
ezlib = builder {
name = "ezlib";
version = "1.0.13";
version = "1.0.15";
src = fetchHex {
pkg = "ezlib";
version = "1.0.13";
sha256 = "sha256-nuYqs/jtVaD9EalWn8uORYaD+VV1QXJyGSsGnwkqv7s=";
version = "1.0.15";
sha256 = "sha256-3RS6bBJSGvXP5pI+c+PVRfSgiX3Ga/q1KH+7euOWLqs=";
};
beamDeps = [ p1_utils ];
};
esip = builder {
name = "esip";
version = "1.0.57";
version = "1.0.58";
src = fetchHex {
pkg = "esip";
version = "1.0.57";
sha256 = "sha256-GcNX4YF7HgR5LvNZv5AEAPPm0OWt6Sn9cviOqbRK8u0=";
version = "1.0.58";
sha256 = "sha256-4PQgSl7eD6fQDaPMQvZECqNiusf69Tb3HqKfo/D6fHU=";
};
beamDeps = [
fast_tls
@@ -284,21 +284,21 @@ let
};
eimp = builder {
name = "eimp";
version = "1.0.24";
version = "1.0.26";
src = fetchHex {
pkg = "eimp";
version = "1.0.24";
sha256 = "sha256-fWFDLrikVlnAvkdfROde62UXQ6pkod6K33hc2tgZYa0=";
version = "1.0.26";
sha256 = "sha256-2W1OhXK538QPJx5H8MsdiEk3O8mKISIyaHgXZe1SBEw=";
};
beamDeps = [ p1_utils ];
};
cache_tab = builder {
name = "cache_tab";
version = "1.0.31";
version = "1.0.33";
src = fetchHex {
pkg = "cache_tab";
version = "1.0.31";
sha256 = "sha256-hYK2CkoJskfvhjVbqeB/zp4R7cA0WndckXH5cccrY1E=";
version = "1.0.33";
sha256 = "sha256-QlgAnrBQsiqr4MhI4jC7pYQBpolcWML/dN+2NePDWQA=";
};
beamDeps = [ p1_utils ];
};
@@ -9,19 +9,19 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "emmet-language-server";
version = "2.6.1";
version = "2.7.0";
src = fetchFromGitHub {
owner = "olrtg";
repo = "emmet-language-server";
tag = "v${finalAttrs.version}";
hash = "sha256-2ptIdZPGLjKsdFJKjt5LZ8JQNNBU5KR62Yw78qzfRxg=";
hash = "sha256-Lojy7y7RnPZPV9x0Mb4Rjm18RHwx6ejEpCo8wmXIOMw=";
};
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
fetcherVersion = 1;
hash = "sha256-hh5PEtmSHPs6QBgwWHS0laGU21e82JckIP3mB/P9/vE=";
hash = "sha256-sMOC5MQmJKwXZoUZnOmBy2I83SNMdrPc6WQKmeVGiCc=";
};
nativeBuildInputs = [
+4 -5
View File
@@ -27,7 +27,7 @@
# Plugins
withColorer ? true,
spdlog,
xercesc,
libxml2,
withMultiArc ? true,
libarchive,
pcre,
@@ -43,13 +43,13 @@
stdenv.mkDerivation rec {
pname = "far2l";
version = "2.6.3";
version = "2.6.5";
src = fetchFromGitHub {
owner = "elfmz";
repo = "far2l";
rev = "v_${version}";
sha256 = "sha256-iWZQpLe+shdepCVOHZDp7QEQoqelbHGRJh09KWb6aD0=";
sha256 = "sha256-a/k36O19z/lHnETOGIbTJ7BNAI5zOQxVUSp+nIM08i4=";
};
nativeBuildInputs = [
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
++ lib.optional withUCD libuchardet
++ lib.optionals withColorer [
spdlog
xercesc
libxml2
]
++ lib.optionals withMultiArc [
libarchive
@@ -121,7 +121,6 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/far2l \
--argv0 $out/bin/far2l \
--prefix PATH : ${lib.makeBinPath runtimeDeps} \
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
'';
@@ -31,7 +31,11 @@ stdenv.mkDerivation rec {
cmakeFlags = lib.optionals osi.withCplex [ "-DDOWNWARD_CPLEX_ROOT=${cplex}/cplex" ];
configurePhase = ''
runHook preConfigure
python build.py release
runHook postConfigure
'';
postPatch = ''
+2 -2
View File
@@ -15,14 +15,14 @@
llvmPackages.stdenv.mkDerivation (finalAttrs: {
pname = "fex";
version = "2506";
version = "2507.1";
src = fetchFromGitHub {
owner = "FEX-Emu";
repo = "FEX";
tag = "FEX-${finalAttrs.version}";
hash = "sha256-wzUAyNCfMlABBd3yzFZkPUiy7spuHrekTqVoyUB9jxI=";
hash = "sha256-F6rMEPmw2UxWw+XWsUXrrUjvrDcIA1W+spkcq3tdUMI=";
leaveDotGit = true;
postFetch = ''
+2 -2
View File
@@ -9,13 +9,13 @@
buildGoModule rec {
pname = "flyctl";
version = "0.3.157";
version = "0.3.161";
src = fetchFromGitHub {
owner = "superfly";
repo = "flyctl";
rev = "v${version}";
hash = "sha256-R5hZLY7uKYfSQdSnYkCruobdHiUZfHshnb/oIYbCMEc=";
hash = "sha256-ctE8X3vyNqbdYQuDrmCLmwy/EMGpJFRnlcjxnRji1Zo=";
};
vendorHash = "sha256-OwxzdLXNPiQRq6mgvZaOs8tnNZQm0mYyzyPFUYcokb0=";
+1 -1
View File
@@ -12,7 +12,7 @@
stdenv.mkDerivation rec {
pname = "foma";
version = "0.10.0alpha-unstable-03-13-2024";
version = "0.10.0alpha-unstable-2024-03-13";
src = fetchFromGitHub {
owner = "mhulden";
+3 -3
View File
@@ -17,17 +17,17 @@ let
in
buildGoModule rec {
pname = "forgejo-runner";
version = "7.0.0";
version = "8.0.0";
src = fetchFromGitea {
domain = "code.forgejo.org";
owner = "forgejo";
repo = "runner";
rev = "v${version}";
hash = "sha256-vt0uPGJdydy4cM1AEBeXQu4aNRggqaITS3eAmimVPRU=";
hash = "sha256-ORFmCvKFbNQ1MGHifNhPmrPDep+WE603+xkIqMF/w6g=";
};
vendorHash = "sha256-hE03QkXSPyl7IVEnXi/wWwQZOVcdyyGdEmGiOwLK6Zg=";
vendorHash = "sha256-4TX1ol2WwvZ4WYIzLFfVlYkcT5eLduESc+jg4Ysas2o=";
# See upstream Makefile
# https://code.forgejo.org/forgejo/runner/src/branch/main/Makefile
+4
View File
@@ -36,7 +36,11 @@ stdenv.mkDerivation rec {
# Remove when updating to next version
configurePhase = ''
runHook preConfigure
./configure --prefix=$out --with-lisp='sbcl --dynamic-space-size 3072'
runHook postConfigure
'';
dontStrip = true;
+2 -2
View File
@@ -12,13 +12,13 @@
buildGoModule rec {
pname = "fzf";
version = "0.64.0";
version = "0.65.0";
src = fetchFromGitHub {
owner = "junegunn";
repo = "fzf";
rev = "v${version}";
hash = "sha256-OqA4eMwVtOR8nBg8kyVZQzaAh/7eeMG9SGrqTT7j2vw=";
hash = "sha256-8I6NpZsnqGw8eOoKM5PmRQzahsss01WQFjjDJ5e7pTE=";
};
vendorHash = "sha256-1wxi+wfTSSgJQLNbCdoFTz9G4XLgEX7PpzqpuVjEYL8=";
+4
View File
@@ -30,10 +30,14 @@ stdenv.mkDerivation rec {
];
configurePhase = ''
runHook preConfigure
substituteInPlace Makefile --replace-fail "/usr/local" "$out"
substituteInPlace GNUmakefile --replace-fail "/opt/diet" "$out"
substituteInPlace tryalloca.c --replace-fail "main() {" "int main() {"
substituteInPlace trysocket.c --replace-fail "main() {" "int main() {"
runHook postConfigure
'';
buildPhase = ''
+4
View File
@@ -68,11 +68,15 @@ stdenv.mkDerivation rec {
env.GAG_CPP = lib.optionalString stdenv.hostPlatform.isDarwin "${gfortran.outPath}/bin/cpp";
configurePhase = ''
runHook preConfigure
substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out
substituteInPlace admin/wrapper.sh --replace '%%PYTHONHOME%%' ${python3Env}
substituteInPlace utilities/main/gag-makedepend.pl --replace '/usr/bin/perl' ${perl}/bin/perl
source admin/gildas-env.sh -c gfortran -o openmp
echo "gag_doc: $out/share/doc/" >> kernel/etc/gag.dico.lcl
runHook postConfigure
'';
userExec = "astro class greg mapping sic";
+3 -3
View File
@@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec {
pname = "git-cliff";
version = "2.9.1";
version = "2.10.0";
src = fetchFromGitHub {
owner = "orhun";
repo = "git-cliff";
rev = "v${version}";
hash = "sha256-J3KjVPH7shMupogLSfA5HV1FyA+cFSOWP9gMBU6txww=";
hash = "sha256-Kv17U2/1mM+c1356oo2730AihgYUDGULOoZVlqW5tZY=";
};
cargoHash = "sha256-16ouBn6GQlE1ZVr4g/TicEL0cTiewegGkuhGcJPicrc=";
cargoHash = "sha256-nsE4yDXVA7h82LekaKMPLEG0cRfR4UmxoCzF/wecMcQ=";
# attempts to run the program on .git in src which is not deterministic
doCheck = false;
+50 -33
View File
@@ -2,7 +2,8 @@
lib,
stdenv,
fetchurl,
fetchpatch,
makeDesktopItem,
copyDesktopItems,
cmake,
blas,
lapack,
@@ -16,22 +17,30 @@
xorg,
opencascade-occt,
llvmPackages,
python ? null,
python3Packages,
enablePython ? false,
}:
assert (!blas.isILP64) && (!lapack.isILP64);
assert enablePython -> (python != null);
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "gmsh";
version = "4.13.1";
version = "4.14.0";
src = fetchurl {
url = "https://gmsh.info/src/gmsh-${version}-source.tgz";
hash = "sha256-d5chRfQxcmAm1QWWpqRPs8HJXCElUhjWaVWAa4btvo0=";
url = "https://gmsh.info/src/gmsh-${finalAttrs.version}-source.tgz";
hash = "sha256-2019ogYumkNWqCCDITirmfl69jiL/rIVmaLq37C3aig=";
};
nativeBuildInputs = [
cmake
gfortran
]
++ lib.optional (
enablePython && stdenv.buildPlatform == stdenv.hostPlatform
) python3Packages.pythonImportsCheckHook
++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems;
buildInputs = [
blas
lapack
@@ -54,22 +63,7 @@ stdenv.mkDerivation rec {
xorg.libSM
xorg.libICE
]
++ lib.optional stdenv.cc.isClang llvmPackages.openmp
++ lib.optional enablePython python;
enableParallelBuilding = true;
patches = [
(fetchpatch {
url = "https://gitlab.onelab.info/gmsh/gmsh/-/commit/7d5094fb0a5245cb435afd3f3e8c35e2ecfe70fd.patch";
hash = "sha256-3atm1NGsMI4KEct2xakRG6EasRpF6YRI4raoVYxBV4g=";
})
];
postPatch = ''
substituteInPlace api/gmsh.py \
--replace-fail 'find_library("gmsh")' \"$out/lib/libgmsh${stdenv.hostPlatform.extensions.sharedLibrary}\"
'';
++ lib.optional stdenv.cc.isClang llvmPackages.openmp;
# N.B. the shared object is used by bindings
cmakeFlags = [
@@ -78,23 +72,46 @@ stdenv.mkDerivation rec {
"-DENABLE_OPENMP=ON"
];
nativeBuildInputs = [
cmake
gfortran
doCheck = true;
desktopItems = [
(makeDesktopItem {
name = "gmsh";
exec = "gmsh";
comment = finalAttrs.meta.description;
desktopName = "Gmsh";
genericName = "3D Mesh Generator";
categories = [
"Science"
"Math"
];
icon = "gmsh";
})
];
postFixup = lib.optionalString enablePython ''
mkdir -p $out/lib/python${python.pythonVersion}/site-packages
mv $out/lib/gmsh.py $out/lib/python${python.pythonVersion}/site-packages
mv $out/lib/*.dist-info $out/lib/python${python.pythonVersion}/site-packages
'';
postInstall =
let
logo = fetchurl {
url = "https://salsa.debian.org/science-team/gmsh/-/raw/d2d8b4e3488c7b0f51879f809f624b537b4bd28f/debian/gmsh.svg";
hash = "sha256-p69Cju3bn1ShWmESOSOmJj0x3IYDGI9oD25SFTh2GLo=";
};
in
lib.optionalString stdenv.hostPlatform.isLinux ''
install -Dm644 ${logo} $out/share/icons/hicolor/scalable/apps/gmsh.svg
''
+ lib.optionalString enablePython ''
mkdir -p $out/${python3Packages.python.sitePackages}
mv $out/lib/gmsh.py $out/${python3Packages.python.sitePackages}
mv $out/lib/*.dist-info $out/${python3Packages.python.sitePackages}
'';
doCheck = true;
pythonImportsCheck = [ "gmsh" ];
meta = {
description = "Three-dimensional finite element mesh generator";
mainProgram = "gmsh";
homepage = "https://gmsh.info/";
changelog = "https://gitlab.onelab.info/gmsh/gmsh/-/releases/gmsh_${lib.concatStringsSep "_" (lib.versions.splitVersion finalAttrs.version)}#changelog";
license = lib.licenses.gpl2Plus;
};
}
})
+3 -3
View File
@@ -14,13 +14,13 @@ assert lib.assertMsg stdenv.hostPlatform.isEfi "gnu-efi may only be built for EF
stdenv.mkDerivation (finalAttrs: {
pname = "gnu-efi";
version = "4.0.0";
version = "4.0.2";
src = fetchFromGitHub {
owner = "ncroxon";
repo = "gnu-efi";
tag = finalAttrs.version;
hash = "sha256-vVtJkAPe5tPDLAFZibnJRC7G7WtOg11JT5QipdO+FIk=";
hash = "sha256-oIj0aNY4xU5OcO69TTjh5FcWzzkFd6jbenwzVvTXjqo=";
};
buildInputs = [ pciutils ];
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
license = with lib.licenses; [
# This is a mess, upstream is aware.
# The source for these is Fedora's SPDX identifier for this package.
# Fedora also has gpl2Only here, but 4.0.0 doesn't have gpl2Only code.
# Fedora also has gpl2Only here, but 4.0.2 doesn't have gpl2Only code.
# However, both upstream and Fedora seems to have missed
# bsdAxisNoDisclaimerUnmodified and MIT.
bsd2
+3 -3
View File
@@ -6,15 +6,15 @@
}:
buildGoModule (finalAttrs: {
pname = "gorched";
version = "1.6";
version = "1.7";
src = fetchFromGitHub {
owner = "zladovan";
repo = "gorched";
tag = "v${finalAttrs.version}";
hash = "sha256-cT6wkWUlz3ixv7Mu5143I5NxjfwhKQ6bLwrW3BwTtTQ=";
hash = "sha256-n4MKZqhgAIsgK9XPv2pF8mK0I4suSN02JkqY7Aj+LG0=";
};
vendorHash = "sha256-9fucarQKltIxV8j8L+yQ6Fa7IRIhoQCNxcG21KYOpuw=";
vendorHash = "sha256-ohFj0jEHt0SV3pC9+mz+XAjOJ6MIBFY7CJf+G++r72U=";
postPatch = ''
mkdir ./cmd/gorched
+3 -3
View File
@@ -6,7 +6,7 @@
}:
let
version = "0.17.76";
version = "0.17.77";
in
buildGoModule {
pname = "gqlgen";
@@ -16,10 +16,10 @@ buildGoModule {
owner = "99designs";
repo = "gqlgen";
tag = "v${version}";
hash = "sha256-b226pRpO693e48OlzVwSaDlPM5RAivIoX/KHXESVEJI=";
hash = "sha256-3feo0wpRHDK3Vx9R6YoQuc2NU+4F+trkaNTvA3AV2NE=";
};
vendorHash = "sha256-cqNRfKPneq4BxVA+kGAxSalwfeNI/hFxsrOgVhkUbLs=";
vendorHash = "sha256-qDPJKGQmZz5Taj/gXakx3t/4bDaMrNR+HehV19HvdCI=";
subPackages = [ "." ];
@@ -32,9 +32,13 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ];
configurePhase = ''
runHook preConfigure
for i in GxBoobTube GxValveCaster; do
substituteInPlace $i.lv2/Makefile --replace "\$(shell which echo) -e" "echo -e"
done
runHook postConfigure
'';
meta = with lib; {
+3 -3
View File
@@ -6,16 +6,16 @@
buildGoModule rec {
pname = "haven";
version = "1.0.5";
version = "1.0.6";
src = fetchFromGitHub {
owner = "bitvora";
repo = "haven";
tag = "v${version}";
hash = "sha256-rSycrHW53TgqbsfgaRn3492EWtpu440GtbegozqnzMQ=";
hash = "sha256-ddOZydweF3wVH81Bm8LIuP2HHGrGooIDeAH/Ro5LKu4=";
};
vendorHash = "sha256-5d6C2sNG8aCaC+z+hyLgOiEPWP/NmAcRRbRVC4KuCEw=";
vendorHash = "sha256-JJ5kcTgjMB9d5JdMg2FiOOoAFeDhcEAsxWynd1aGNfs=";
postInstall = ''
mkdir -p $out/share/haven
+4
View File
@@ -73,10 +73,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
configurePhase = ''
runHook preConfigure
# let stdenv handle stripping
export "CARGO_PROFILE_''${cargoBuildType@U}_STRIP"=false
prependToVar cargoCFlags -j "$NIX_BUILD_CORES"
runHook postConfigure
'';
buildPhase = ''
+3 -3
View File
@@ -6,16 +6,16 @@
buildGoModule (finalAttrs: {
pname = "hebcal";
version = "5.9.2";
version = "5.9.4";
src = fetchFromGitHub {
owner = "hebcal";
repo = "hebcal";
tag = "v${finalAttrs.version}";
hash = "sha256-6iyltrnA1pLtTUg0AUIp0yciN53oeoLE88dAbTxBK6I=";
hash = "sha256-6SyK5BKVMGcqEFy3tbPBPqmZYp9/DD8A3VUNpAsihEM=";
};
vendorHash = "sha256-azKie/qJUmRSVgkfqsL04NpnePx9ToUPjz6RUOFRdUw=";
vendorHash = null;
preBuild = ''
make dcity.go
+2 -2
View File
@@ -5,10 +5,10 @@
}:
let
pname = "heptabase";
version = "1.64.0";
version = "1.66.0";
src = fetchurl {
url = "https://github.com/heptameta/project-meta/releases/download/v${version}/Heptabase-${version}.AppImage";
hash = "sha256-VBoQgSVpEshmGjEGzSe1sG8nDcrl8nJ+m7+s/7LlAMg=";
hash = "sha256-8kkY+Tp8RuE+REcCT/gj8CA6CqTLk6eVeAEsOKv+axA=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
+2 -2
View File
@@ -2,8 +2,8 @@
lib,
appimageTools,
fetchurl,
version ? "0.9.11.1",
hash ? "sha256-7p09J4nyjsnprk8DZM8nKG+G7h6m9wtZPrz0DIIKa8I=",
version ? "0.9.11.2",
hash ? "sha256-Go2KGEUu93jAxwFQ/yEOvePQpSjFW+dJxQ1tWQXr2fY=",
}:
let
+4
View File
@@ -21,10 +21,14 @@ stdenv.mkDerivation {
propagatedBuildInputs = [ openssl ];
configurePhase = ''
runHook preConfigure
autoreconf -i
mkdir -pv build
cd build
../configure
runHook postConfigure
'';
installPhase = ''
@@ -0,0 +1,15 @@
diff --git a/Cargo.toml b/Cargo.toml
index bb8d370..7c5b7ac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,6 +35,10 @@ anyhow = "1.0.89"
insta.opt-level = 3
similar.opt-level = 3
+# work around https://github.com/NixOS/nixpkgs/issues/427072
+[profile.release.package.hyper]
+opt-level = 0
+
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
+9
View File
@@ -22,6 +22,15 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-G9M+1OWp2jlDeSDFagH/YOCdxGQbcru1KFyKEUcMe7g=";
patches =
lib.optional (stdenv.hostPlatform.system == "x86_64-darwin")
# work around rust 1.88 compiler / linker bug for x86_64-darwin. This is
# applied conditionally because it will introduce a performance penalty on
# other host platforms. NOTE: Please check the patch applies if you update
# the package on a different platform (e.g x86_64-linux).
# see: https://github.com/NixOS/nixpkgs/issues/427072
./fix-cargo-1_88-reqwest.patch;
nativeBuildInputs = [
pkg-config
installShellFiles
+2 -2
View File
@@ -6,10 +6,10 @@
}:
let
pname = "hydralauncher";
version = "3.6.2";
version = "3.6.3";
src = fetchurl {
url = "https://github.com/hydralauncher/hydra/releases/download/v${version}/hydralauncher-${version}.AppImage";
hash = "sha256-ybSTrglU0ktDJahGtqoTBVqqCPATtQYgo83Bd53HSeM=";
hash = "sha256-WFkO5N9KY0RFMzIrr5IyaNc2GZSusC4GQq5Jepwa1JA=";
};
appimageContents = appimageTools.extractType2 { inherit pname src version; };
+4
View File
@@ -39,7 +39,11 @@ stdenv.mkDerivation rec {
];
configurePhase = ''
runHook preConfigure
bash ./configure
runHook postConfigure
'';
installPhase = ''
+1 -1
View File
@@ -10,7 +10,7 @@
stdenvNoCC.mkDerivation {
pname = "iso-flags";
version = "0-unstable-18012020";
version = "0-unstable-2020-01-18";
src = fetchFromGitHub {
owner = "joielechong";
+3 -3
View File
@@ -19,7 +19,7 @@
rustPlatform.buildRustPackage rec {
pname = "just";
version = "1.42.3";
version = "1.42.4";
outputs = [
"out"
]
@@ -32,10 +32,10 @@ rustPlatform.buildRustPackage rec {
owner = "casey";
repo = "just";
tag = version;
hash = "sha256-SinL3sdSTtE3oGHe54P4n1jWarJIwYXWp1kPNXGwKIA=";
hash = "sha256-MLGtHMNCyhYq9OTquCc9zKmear1ts5vNAvlLxNQaOqk=";
};
cargoHash = "sha256-byE2ssjEy6etHzkbeYCuW69TC8ErkYhU7oTt0U107Ac=";
cargoHash = "sha256-udNHlPEwTb5S1ZypIqng7JLZ6Yl1vbYwASn+DT2SOLY=";
nativeBuildInputs =
lib.optionals (installShellCompletions || installManPages) [ installShellFiles ]
+3 -3
View File
@@ -11,16 +11,16 @@
buildGoModule rec {
pname = "kcl";
version = "0.11.2";
version = "0.11.3";
src = fetchFromGitHub {
owner = "kcl-lang";
repo = "cli";
rev = "v${version}";
hash = "sha256-9QPGQ8PfXtb37RIrfqLeezobmXSpgvYzxJOWldmgnyc=";
hash = "sha256-LJ+Mclw/dMyOeUHg6TAckSbvDGFYCf6mMGzDmiIQVZc=";
};
vendorHash = "sha256-zToyM20ykPAd+EHwSUsX+4BvBPT8iXk5suGK2ZYBjvc=";
vendorHash = "sha256-jNQ0g7BGXUoYKV5RkU/f9GrSC3ygeZv83SekAmyKLxc=";
subPackages = [ "cmd/kcl" ];
+4
View File
@@ -59,7 +59,11 @@ stdenv.mkDerivation rec {
setOutputFlags = false;
configurePhase = ''
runHook preConfigure
./configure
runHook postConfigure
'';
buildPhase = ''
+2 -2
View File
@@ -10,12 +10,12 @@
kopia,
}:
let
version = "0.21.0";
version = "0.21.1";
src = fetchFromGitHub {
owner = "kopia";
repo = "kopia";
tag = "v${version}";
hash = "sha256-M4qI8CzIIeoUqCvi8wc7s2CItPFN+1scHdwACy9vw/4=";
hash = "sha256-0i8bKah3a7MrgzATysgFCsmDZxK9qH+4hmBMW+GR9/4=";
};
in
buildNpmPackage {
+3 -3
View File
@@ -6,16 +6,16 @@
buildGoModule rec {
pname = "kubectl-cnpg";
version = "1.26.0";
version = "1.26.1";
src = fetchFromGitHub {
owner = "cloudnative-pg";
repo = "cloudnative-pg";
rev = "v${version}";
hash = "sha256-IYHzgP9KDNGlNe1znWKv/IST1if9Nnn2cP9rerAIgkY=";
hash = "sha256-CRQrHW8mJ6yzWCLfU/4G10w1h/Hp1+7UqlZ9ziQqjNs=";
};
vendorHash = "sha256-mJyriMf2/2J1ol4gBxgmEdNT1qWCBnwKwIB0yyubxc4=";
vendorHash = "sha256-mlVfJrsuBDtk4b78uEWYmXRbzAl91Pqp5twe9tolGdI=";
subPackages = [ "cmd/kubectl-cnpg" ];
+2 -2
View File
@@ -9,13 +9,13 @@
buildGoModule rec {
pname = "kubeone";
version = "1.11.0";
version = "1.11.1";
src = fetchFromGitHub {
owner = "kubermatic";
repo = "kubeone";
rev = "v${version}";
hash = "sha256-K33KKvGw4iF7aq/eumSFzYk3ij8pE8mUh4wN9TA9Q/4=";
hash = "sha256-K3Xo2tvtmkGbXl2yJjd8Q1xzdLSap8p824ommi+r8dY=";
};
vendorHash = "sha256-Wnnwp1GRlE1q8MSc23pOmSn9fKu5uHVzkivfuF2lnEk=";
@@ -7,16 +7,16 @@
buildGoModule rec {
pname = "kubernetes-polaris";
version = "9.6.4";
version = "10.0.0";
src = fetchFromGitHub {
owner = "FairwindsOps";
repo = "polaris";
rev = version;
sha256 = "sha256-ymChgk3r1m4B6jiX3cL+vo4KzmvzsjUxA0t/MjfYvrU=";
sha256 = "sha256-yJPtTIj6vfzWwjozwcsIJjZGfy3QS6h8uOcoL4OXrnQ=";
};
vendorHash = "sha256-F7QGVowpwRyHxvgKYtuSqH2A/IH2Bvxr3vU78PNN0Z0=";
vendorHash = "sha256-4H1NHeYGd3ujtOo+UDkjIQaH+rkODS41C865OE1S9YA=";
nativeBuildInputs = [ installShellFiles ];
@@ -13,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "lasuite-docs-collaboration-server";
version = "3.4.1";
version = "3.4.2";
src = fetchFromGitHub {
owner = "suitenumerique";
repo = "docs";
tag = "v${version}";
hash = "sha256-QAWwyFp9l+C0XfVu975zjiv61e/S2nYKkUSv4/p7gxw=";
hash = "sha256-uo49y+tJXdc8gfFIHSIEk0DEowMsHWA64IxlHpFHUTU=";
};
sourceRoot = "source/src/frontend";
@@ -12,13 +12,13 @@
stdenv.mkDerivation rec {
pname = "lasuite-docs-frontend";
version = "3.4.1";
version = "3.4.2";
src = fetchFromGitHub {
owner = "suitenumerique";
repo = "docs";
tag = "v${version}";
hash = "sha256-QAWwyFp9l+C0XfVu975zjiv61e/S2nYKkUSv4/p7gxw=";
hash = "sha256-uo49y+tJXdc8gfFIHSIEk0DEowMsHWA64IxlHpFHUTU=";
};
sourceRoot = "source/src/frontend";
+2 -2
View File
@@ -24,14 +24,14 @@ in
python.pkgs.buildPythonApplication rec {
pname = "lasuite-docs";
version = "3.4.1";
version = "3.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "suitenumerique";
repo = "docs";
tag = "v${version}";
hash = "sha256-QAWwyFp9l+C0XfVu975zjiv61e/S2nYKkUSv4/p7gxw=";
hash = "sha256-uo49y+tJXdc8gfFIHSIEk0DEowMsHWA64IxlHpFHUTU=";
};
sourceRoot = "source/src/backend";
@@ -7,13 +7,13 @@
buildNpmPackage rec {
pname = "lasuite-meet-frontend";
version = "0.1.30";
version = "0.1.33";
src = fetchFromGitHub {
owner = "suitenumerique";
repo = "meet";
tag = "v${version}";
hash = "sha256-Ow2xi3twW6FeG88Ya5AeRNk6MIY5JGqd7e1qukKTfQs=";
hash = "sha256-NXE+Kt41NlJ5F9Y5ftWBAPzCcFyTHZj7/2Os7ZFM72Y=";
};
sourceRoot = "source/src/frontend";
@@ -21,7 +21,7 @@ buildNpmPackage rec {
npmDeps = fetchNpmDeps {
inherit version src;
sourceRoot = "source/src/frontend";
hash = "sha256-Id4taAuW/tu9YhbGxjNegdSqyNmUFRQOLF3glkFw0Vc=";
hash = "sha256-s5HgGFY7yPct7P2nutYab1KsMbzHWBHKEm4W74qsgIw=";
};
buildPhase = ''
+2 -2
View File
@@ -13,14 +13,14 @@ in
python.pkgs.buildPythonApplication rec {
pname = "lasuite-meet";
version = "0.1.30";
version = "0.1.33";
pyproject = true;
src = fetchFromGitHub {
owner = "suitenumerique";
repo = "meet";
tag = "v${version}";
hash = "sha256-Ow2xi3twW6FeG88Ya5AeRNk6MIY5JGqd7e1qukKTfQs=";
hash = "sha256-NXE+Kt41NlJ5F9Y5ftWBAPzCcFyTHZj7/2Os7ZFM72Y=";
};
sourceRoot = "source/src/backend";

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