Merge master into haskell-updates

This commit is contained in:
github-actions[bot]
2024-05-15 00:13:25 +00:00
committed by GitHub
287 changed files with 5072 additions and 2890 deletions
+8 -13
View File
@@ -16,9 +16,7 @@ on:
# so it shouldn't be a problem # so it shouldn't be a problem
types: [opened, synchronize, reopened, edited] types: [opened, synchronize, reopened, edited]
permissions: permissions: {}
# We need this permission to cancel the workflow run if there's a merge conflict
actions: write
# Create a check-by-name concurrency group based on the pull request number. if # Create a check-by-name concurrency group based on the pull request number. if
# an event triggers a run on the same PR while a previous run is still in # an event triggers a run on the same PR while a previous run is still in
@@ -79,31 +77,27 @@ jobs:
if [[ "$mergeable" == "true" ]]; then if [[ "$mergeable" == "true" ]]; then
echo "The PR can be merged, checking the merge commit $mergedSha" echo "The PR can be merged, checking the merge commit $mergedSha"
echo "mergedSha=$mergedSha" >> "$GITHUB_ENV"
else else
echo "The PR cannot be merged, it has a merge conflict, cancelling the workflow.." echo "The PR cannot be merged, it has a merge conflict, skipping the rest.."
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/"$GITHUB_REPOSITORY"/actions/runs/"$GITHUB_RUN_ID"/cancel
sleep 60
# If it's still not canceled after a minute, something probably went wrong, just exit
exit 1
fi fi
echo "mergedSha=$mergedSha" >> "$GITHUB_ENV"
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
if: env.mergedSha
with: with:
# pull_request_target checks out the base branch by default # pull_request_target checks out the base branch by default
ref: ${{ env.mergedSha }} ref: ${{ env.mergedSha }}
# Fetches the merge commit and its parents # Fetches the merge commit and its parents
fetch-depth: 2 fetch-depth: 2
- name: Checking out base branch - name: Checking out base branch
if: env.mergedSha
run: | run: |
base=$(mktemp -d) base=$(mktemp -d)
git worktree add "$base" "$(git rev-parse HEAD^1)" git worktree add "$base" "$(git rev-parse HEAD^1)"
echo "base=$base" >> "$GITHUB_ENV" echo "base=$base" >> "$GITHUB_ENV"
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26 - uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
if: env.mergedSha
- name: Fetching the pinned tool - name: Fetching the pinned tool
if: env.mergedSha
# Update the pinned version using pkgs/test/check-by-name/update-pinned-tool.sh # Update the pinned version using pkgs/test/check-by-name/update-pinned-tool.sh
run: | run: |
# The pinned version of the tooling to use # The pinned version of the tooling to use
@@ -114,6 +108,7 @@ jobs:
# Adds a result symlink as a GC root # Adds a result symlink as a GC root
nix-store --realise "$toolPath" --add-root result nix-store --realise "$toolPath" --add-root result
- name: Running nixpkgs-check-by-name - name: Running nixpkgs-check-by-name
if: env.mergedSha
env: env:
# Force terminal colors to be enabled. The library that # Force terminal colors to be enabled. The library that
# nixpkgs-check-by-name uses respects: https://bixense.com/clicolors/ # nixpkgs-check-by-name uses respects: https://bixense.com/clicolors/
+1
View File
@@ -8,6 +8,7 @@
# derivation like fetchurl is allowed to do so since its result is # derivation like fetchurl is allowed to do so since its result is
# by definition pure. # by definition pure.
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
"HTTP_PROXY" "HTTPS_PROXY" "FTP_PROXY" "ALL_PROXY" "NO_PROXY"
]; ];
} }
+1 -1
View File
@@ -13154,7 +13154,7 @@
}]; }];
}; };
michaelpj = { michaelpj = {
email = "michaelpj@gmail.com"; email = "me@michaelpj.com";
github = "michaelpj"; github = "michaelpj";
githubId = 1699466; githubId = 1699466;
name = "Michael Peyton Jones"; name = "Michael Peyton Jones";
@@ -85,6 +85,7 @@ luasocket,,,,,,
luasql-sqlite3,,,,,,vyp luasql-sqlite3,,,,,,vyp
luassert,,,,,, luassert,,,,,,
luasystem,,,,,, luasystem,,,,,,
luatext,,,,,,
luaunbound,,,,,, luaunbound,,,,,,
luaunit,,,,,,lockejan luaunit,,,,,,lockejan
luautf8,,,,,,pstn luautf8,,,,,,pstn
1 name rockspec ref server version luaversion maintainers
85 luasql-sqlite3 vyp
86 luassert
87 luasystem
88 luatext
89 luaunbound
90 luaunit lockejan
91 luautf8 pstn
+1
View File
@@ -814,6 +814,7 @@ with lib.maintainers; {
aanderse aanderse
drupol drupol
ma27 ma27
patka
talyz talyz
]; ];
githubTeams = [ githubTeams = [
@@ -113,7 +113,7 @@ in
type = lib.types.nullOr lib.types.str // { type = lib.types.nullOr lib.types.str // {
description = "session name"; description = "session name";
check = d: check = d:
lib.assertMsg (d != null -> (lib.types.str.check d && lib.elem d config.services.displayManager.sessionData.sessionNames)) '' lib.assertMsg (d != null -> (lib.types.str.check d && lib.elem d cfg.sessionData.sessionNames)) ''
Default graphical session, '${d}', not found. Default graphical session, '${d}', not found.
Valid names for 'services.displayManager.defaultSession' are: Valid names for 'services.displayManager.defaultSession' are:
${lib.concatStringsSep "\n " cfg.sessionData.sessionNames} ${lib.concatStringsSep "\n " cfg.sessionData.sessionNames}
@@ -187,7 +187,7 @@ in
services.displayManager.sessionData = { services.displayManager.sessionData = {
desktops = installedSessions; desktops = installedSessions;
sessionNames = lib.concatMap (p: p.providedSessions) config.services.displayManager.sessionPackages; sessionNames = lib.concatMap (p: p.providedSessions) cfg.sessionPackages;
# We do not want to force users to set defaultSession when they have only single DE. # We do not want to force users to set defaultSession when they have only single DE.
autologinSession = autologinSession =
if cfg.defaultSession != null then if cfg.defaultSession != null then
+3 -3
View File
@@ -149,20 +149,20 @@ in
systemd.services.bcg = let systemd.services.bcg = let
envConfig = cfg.environmentFiles != []; envConfig = cfg.environmentFiles != [];
finalConfig = if envConfig finalConfig = if envConfig
then "$RUNTIME_DIRECTORY/bcg.config.yaml" then "\${RUNTIME_DIRECTORY}/bcg.config.yaml"
else configFile; else configFile;
in { in {
description = "BigClown Gateway"; description = "BigClown Gateway";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ] ++ lib.optional config.services.mosquitto.enable "mosquitto.service"; wants = [ "network-online.target" ] ++ lib.optional config.services.mosquitto.enable "mosquitto.service";
after = [ "network-online.target" ]; after = [ "network-online.target" ];
preStart = '' preStart = mkIf envConfig ''
umask 077 umask 077
${pkgs.envsubst}/bin/envsubst -i "${configFile}" -o "${finalConfig}" ${pkgs.envsubst}/bin/envsubst -i "${configFile}" -o "${finalConfig}"
''; '';
serviceConfig = { serviceConfig = {
EnvironmentFile = cfg.environmentFiles; EnvironmentFile = cfg.environmentFiles;
ExecStart="${cfg.package}/bin/bcg -c ${finalConfig} -v ${cfg.verbose}"; ExecStart = "${cfg.package}/bin/bcg -c ${finalConfig} -v ${cfg.verbose}";
RuntimeDirectory = "bcg"; RuntimeDirectory = "bcg";
}; };
}; };
+1 -1
View File
@@ -41,5 +41,5 @@ in {
}; };
}; };
meta.maintainers = [ maintainers.michaelpj ]; meta.maintainers = [ ];
} }
+1 -1
View File
@@ -45,5 +45,5 @@ in {
}; };
}; };
meta.maintainers = [ maintainers.michaelpj ]; meta.maintainers = [ ];
} }
+11 -6
View File
@@ -687,7 +687,7 @@ in {
authentication = { authentication = {
mode = mkOption { mode = mkOption {
default = "wpa3-sae"; default = "wpa3-sae";
type = types.enum ["none" "wpa2-sha256" "wpa3-sae-transition" "wpa3-sae"]; type = types.enum ["none" "wpa2-sha1" "wpa2-sha256" "wpa3-sae-transition" "wpa3-sae"];
description = '' description = ''
Selects the authentication mode for this AP. Selects the authentication mode for this AP.
@@ -695,7 +695,9 @@ in {
and create an open AP. Use {option}`settings` together with this option if you and create an open AP. Use {option}`settings` together with this option if you
want to configure the authentication manually. Any password options will still be want to configure the authentication manually. Any password options will still be
effective, if set. effective, if set.
- {var}`"wpa2-sha256"`: WPA2-Personal using SHA256 (IEEE 802.11i/RSN). Passwords are set - {var}`"wpa2-sha1"`: Not recommended. WPA2-Personal using HMAC-SHA1. Passwords are set
using {option}`wpaPassword` or preferably by {option}`wpaPasswordFile` or {option}`wpaPskFile`.
- {var}`"wpa2-sha256"`: WPA2-Personal using HMAC-SHA256 (IEEE 802.11i/RSN). Passwords are set
using {option}`wpaPassword` or preferably by {option}`wpaPasswordFile` or {option}`wpaPskFile`. using {option}`wpaPassword` or preferably by {option}`wpaPasswordFile` or {option}`wpaPskFile`.
- {var}`"wpa3-sae-transition"`: Use WPA3-Personal (SAE) if possible, otherwise fallback - {var}`"wpa3-sae-transition"`: Use WPA3-Personal (SAE) if possible, otherwise fallback
to WPA2-SHA256. Only use if necessary and switch to the newer WPA3-SAE when possible. to WPA2-SHA256. Only use if necessary and switch to the newer WPA3-SAE when possible.
@@ -812,7 +814,7 @@ in {
Warning: These entries will get put into a world-readable file in Warning: These entries will get put into a world-readable file in
the Nix store! Using {option}`saePasswordFile` instead is recommended. the Nix store! Using {option}`saePasswordFile` instead is recommended.
Not used when {option}`mode` is {var}`"wpa2-sha256"`. Not used when {option}`mode` is {var}`"wpa2-sha1"` or {var}`"wpa2-sha256"`.
''; '';
type = types.listOf (types.submodule { type = types.listOf (types.submodule {
options = { options = {
@@ -884,7 +886,7 @@ in {
parameters doesn't matter: parameters doesn't matter:
`<password>[|mac=<peer mac>][|vlanid=<VLAN ID>][|pk=<m:ECPrivateKey-base64>][|id=<identifier>]` `<password>[|mac=<peer mac>][|vlanid=<VLAN ID>][|pk=<m:ECPrivateKey-base64>][|id=<identifier>]`
Not used when {option}`mode` is {var}`"wpa2-sha256"`. Not used when {option}`mode` is {var}`"wpa2-sha1"` or {var}`"wpa2-sha256"`.
''; '';
}; };
@@ -959,6 +961,9 @@ in {
} // optionalAttrs (bssCfg.authentication.mode == "wpa3-sae-transition") { } // optionalAttrs (bssCfg.authentication.mode == "wpa3-sae-transition") {
wpa = 2; wpa = 2;
wpa_key_mgmt = "WPA-PSK-SHA256 SAE"; wpa_key_mgmt = "WPA-PSK-SHA256 SAE";
} // optionalAttrs (bssCfg.authentication.mode == "wpa2-sha1") {
wpa = 2;
wpa_key_mgmt = "WPA-PSK";
} // optionalAttrs (bssCfg.authentication.mode == "wpa2-sha256") { } // optionalAttrs (bssCfg.authentication.mode == "wpa2-sha256") {
wpa = 2; wpa = 2;
wpa_key_mgmt = "WPA-PSK-SHA256"; wpa_key_mgmt = "WPA-PSK-SHA256";
@@ -1186,8 +1191,8 @@ in {
message = ''hostapd radio ${radio} bss ${bss}: uses WPA3-SAE in transition mode requires defining both a wpa password option and a sae password option''; message = ''hostapd radio ${radio} bss ${bss}: uses WPA3-SAE in transition mode requires defining both a wpa password option and a sae password option'';
} }
{ {
assertion = auth.mode == "wpa2-sha256" -> countWpaPasswordDefinitions == 1; assertion = (auth.mode == "wpa2-sha1" || auth.mode == "wpa2-sha256") -> countWpaPasswordDefinitions == 1;
message = ''hostapd radio ${radio} bss ${bss}: uses WPA2-SHA256 which requires defining a wpa password option''; message = ''hostapd radio ${radio} bss ${bss}: uses WPA2-PSK which requires defining a wpa password option'';
} }
]) ])
radioCfg.networks)) radioCfg.networks))
+2 -2
View File
@@ -16,13 +16,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "mympd"; pname = "mympd";
version = "15.0.1"; version = "15.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jcorporation"; owner = "jcorporation";
repo = "myMPD"; repo = "myMPD";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-rZfpGvxDV8KWGfQJ+mXsxLI8DIMSM0D9A3yrEZ+Zc38="; sha256 = "sha256-Yz6gL87Vc8iFTRgKhyUgLL1ool+oinvwq2W9OjFl/OQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
+1 -4
View File
@@ -1,4 +1,4 @@
{ lib, fetchurl, appimageTools, pkgs }: { lib, fetchurl, appimageTools }:
let let
pname = "plexamp"; pname = "plexamp";
@@ -16,9 +16,6 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
multiArch = false; # no 32bit needed
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/plexamp.desktop $out/share/applications/plexamp.desktop install -m 444 -D ${appimageContents}/plexamp.desktop $out/share/applications/plexamp.desktop
install -m 444 -D ${appimageContents}/plexamp.png \ install -m 444 -D ${appimageContents}/plexamp.png \
+2 -2
View File
@@ -13,14 +13,14 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "qpwgraph"; pname = "qpwgraph";
version = "0.7.1"; version = "0.7.2";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.freedesktop.org"; domain = "gitlab.freedesktop.org";
owner = "rncbc"; owner = "rncbc";
repo = "qpwgraph"; repo = "qpwgraph";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
sha256 = "sha256-mtW+dbjdp7as0N5+iacMSNrJ4jm8HWYqJP6G+lutucc="; sha256 = "sha256-aXZsAOsdp0x7J0T9B9C1Qm2qDkhRNHRWUmPafdHRrOQ=";
}; };
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
@@ -1,16 +1,31 @@
{ stdenv, lib, fetchFromGitHub }: {
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "miniscript"; pname = "miniscript";
version = "unstable-2022-07-19"; version = "unstable-2023-03-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sipa"; owner = "sipa";
repo = pname; repo = pname;
rev = "ca675488c4aa9605f6ae70c0e68a148a6fb277b4"; rev = "6806dfb15a1fafabf7dd28aae3c9d2bc49db01f1";
sha256 = "sha256-kzLIJ0os6UnC0RPEybfw6wGrZpgmRCgj3zifmZjieoU="; sha256 = "sha256-qkYDzsl2Y4WEDDXs9cE/jIXm01jclkYUQbDGe1S0wYs=";
}; };
postPatch = lib.optionalString stdenv.isDarwin ''
# Replace hardcoded g++ with c++ so clang can be used
# on darwin
#
# lto must be disabled on darwin as well due to
# https://github.com/NixOS/nixpkgs/issues/19098
substituteInPlace Makefile \
--replace-fail 'g++' 'c++' \
--replace-fail '-flto' ""
'';
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
@@ -19,12 +34,14 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
description = "Compiler and inspector for the miniscript Bitcoin policy language"; description = "Compiler and inspector for the miniscript Bitcoin policy language";
longDescription = "Miniscript is a language for writing (a subset of) Bitcoin Scripts in a structured way, enabling analysis, composition, generic signing and more."; longDescription = "Miniscript is a language for writing (a subset of) Bitcoin Scripts in a structured way, enabling analysis, composition, generic signing and more.";
homepage = "https://bitcoin.sipa.be/miniscript/"; homepage = "https://bitcoin.sipa.be/miniscript/";
license = licenses.mit; license = licenses.mit;
platforms = platforms.linux; maintainers = with maintainers; [
maintainers = with maintainers; [ RaghavSood jb55 ]; RaghavSood
jb55
];
mainProgram = "miniscript"; mainProgram = "miniscript";
}; };
} }
@@ -1,5 +1,4 @@
{ lib, appimageTools, fetchurl, makeDesktopItem { lib, appimageTools, fetchurl, makeDesktopItem }:
}:
let let
pname = "MyCrypto"; pname = "MyCrypto";
@@ -24,12 +23,9 @@ let
categories = [ "Finance" ]; categories = [ "Finance" ];
}; };
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
multiArch = false; # no p32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share mkdir -p $out/share
cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons cp -rt $out/share ${desktopItem}/share/applications ${appimageContents}/usr/share/icons
@@ -23,11 +23,11 @@
let let
pname = "sparrow"; pname = "sparrow";
version = "1.9.0"; version = "1.9.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-x86_64.tar.gz"; url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-x86_64.tar.gz";
sha256 = "sha256-UbFijiPOfVuJP9q6S5odkrhLJ2BUResbJK09Dn9PyCw="; sha256 = "sha256-b1OIizSMTOtLM3/RFiBJPSbkj/C0d0s5ggcUwjCdBBo=";
# nativeBuildInputs, downloadToTemp, and postFetch are used to verify the signed upstream package. # nativeBuildInputs, downloadToTemp, and postFetch are used to verify the signed upstream package.
# The signature is not a self-contained file. Instead the SHA256 of the package is added to a manifest file. # The signature is not a self-contained file. Instead the SHA256 of the package is added to a manifest file.
@@ -56,12 +56,12 @@ let
manifest = fetchurl { manifest = fetchurl {
url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-manifest.txt"; url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-manifest.txt";
sha256 = "sha256-x50wkQKlh7r4PM5YwhQaz6tnJpByQDMAmYsp1HafX2c="; sha256 = "sha256-2IGhP9Xsli9d0zTzPliJH/tE5TXei1vjVngtjL9vA48=";
}; };
manifestSignature = fetchurl { manifestSignature = fetchurl {
url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-manifest.txt.asc"; url = "https://github.com/sparrowwallet/${pname}/releases/download/${version}/${pname}-${version}-manifest.txt.asc";
sha256 = "sha256-Nb5tQogQFMObd+nR/eUpEFUoCh1AnTX3s/jICJbvqqo="; sha256 = "sha256-FSR9Z+27J/u1MYIR+LrL+pqCP6q4GfVYtRZ0WA9AaKM=";
}; };
publicKey = ./publickey.asc; publicKey = ./publickey.asc;
@@ -25,11 +25,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wasabiwallet"; pname = "wasabiwallet";
version = "2.0.7.1"; version = "2.0.7.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/Wasabi-${version}.tar.gz"; url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/Wasabi-${version}.tar.gz";
sha256 = "sha256-u/QDdGLdD5+8j3r8pZQwcG3iTToFJEvzzV7Rl4ggvtM="; sha256 = "sha256-s/rzjlPsOylbuQx7gDnctvl1tms95RqErk0vVlzhouw=";
}; };
dontBuild = true; dontBuild = true;
@@ -839,6 +839,10 @@
dependencies = with self; [ plenary-nvim ]; dependencies = with self; [ plenary-nvim ];
}; };
luasnip = super.luasnip.overrideAttrs {
dependencies = with self; [ luaPackages.jsregexp ];
};
magma-nvim-goose = buildVimPlugin { magma-nvim-goose = buildVimPlugin {
pname = "magma-nvim-goose"; pname = "magma-nvim-goose";
version = "2023-03-13"; version = "2023-03-13";
@@ -17,13 +17,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flycast"; pname = "flycast";
version = "2.3"; version = "2.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "flyinghead"; owner = "flyinghead";
repo = "flycast"; repo = "flycast";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-o1Xnyts2+A3ZkzVN0o8E5nGPo2c2vYltMlHF4LZMppU="; sha256 = "sha256-YFLSUaEikwLPglHh3t8sHiKHRn5cchKzzkJlZDdgVsU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
@@ -9,7 +9,6 @@
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, ffmpeg , ffmpeg
, ffmpeg_4
, fluidsynth , fluidsynth
, fmt , fmt
, freetype , freetype
@@ -890,11 +889,13 @@ in
ppsspp = mkLibretroCore { ppsspp = mkLibretroCore {
core = "ppsspp"; core = "ppsspp";
extraNativeBuildInputs = [ cmake pkg-config python3 ]; extraNativeBuildInputs = [ cmake pkg-config python3 ];
extraBuildInputs = [ libGLU libGL libzip ffmpeg_4 snappy xorg.libX11 ]; extraBuildInputs = [ libGLU libGL libzip snappy xorg.libX11 ];
makefile = "Makefile"; makefile = "Makefile";
cmakeFlags = [ cmakeFlags = [
"-DLIBRETRO=ON" "-DLIBRETRO=ON"
"-DUSE_SYSTEM_FFMPEG=ON" # USE_SYSTEM_FFMPEG=ON causes several glitches during video playback
# See: https://github.com/NixOS/nixpkgs/issues/304616
"-DUSE_SYSTEM_FFMPEG=OFF"
"-DUSE_SYSTEM_SNAPPY=ON" "-DUSE_SYSTEM_SNAPPY=ON"
"-DUSE_SYSTEM_LIBZIP=ON" "-DUSE_SYSTEM_LIBZIP=ON"
"-DOpenGL_GL_PREFERENCE=GLVND" "-DOpenGL_GL_PREFERENCE=GLVND"
@@ -19,7 +19,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "komikku"; pname = "komikku";
version = "1.45.1"; version = "1.46.0";
format = "other"; format = "other";
@@ -28,7 +28,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "valos"; owner = "valos";
repo = "Komikku"; repo = "Komikku";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-gTZ2LuCsYFIUASfjzLi4t0PbjyriU9FR7d2G+PcLDVc="; hash = "sha256-0yobGclfZzv0S0HtqeTr4vzK5d6PTQNWMszP0B4k770=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -18,7 +18,7 @@ in
appimageTools.wrapType2 { appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [vulkan-headers vulkan-loader]; extraPkgs = pkgs: [ pkgs.vulkan-headers pkgs.vulkan-loader ];
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share/{applications,pixmaps} mkdir -p $out/share/{applications,pixmaps}
+1 -3
View File
@@ -28,9 +28,7 @@ appimageTools.wrapAppImage rec {
# taken from # taken from
# https://github.com/Dygmalab/Bazecor/blob/v1.3.11/src/main/utils/udev.ts#L6 # https://github.com/Dygmalab/Bazecor/blob/v1.3.11/src/main/utils/udev.ts#L6
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ extraPkgs = pkgs: [ pkgs.glib ];
p.glib
];
# Also expose the udev rules here, so it can be used as: # Also expose the udev rules here, so it can be used as:
# services.udev.packages = [ pkgs.bazecor ]; # services.udev.packages = [ pkgs.bazecor ];
@@ -12,7 +12,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share/applications $out/share/pixmaps mkdir -p $out/share/applications $out/share/pixmaps
@@ -14,7 +14,7 @@ in
appimageTools.wrapType2 { appimageTools.wrapType2 {
inherit pname src version; inherit pname src version;
extraPkgs = pkgs: with pkgs; [ R zlib libusb-compat-0_1 ]; extraPkgs = pkgs: [ pkgs.R pkgs.zlib pkgs.libusb-compat-0_1 ];
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${pname} $out/bin/GoldenCheetah mv $out/bin/${pname} $out/bin/GoldenCheetah
@@ -49,8 +49,6 @@ let
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
source "${makeWrapper}/nix-support/setup-hook" source "${makeWrapper}/nix-support/setup-hook"
wrapProgram $out/bin/${pname} \ wrapProgram $out/bin/${pname} \
+1 -5
View File
@@ -20,11 +20,7 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed extraPkgs = pkgs: [ pkgs.libsecret pkgs.xorg.libxkbfile ];
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [
p.libsecret
p.xorg.libxkbfile
];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop
@@ -13,7 +13,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit name src; inherit name src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname} mv $out/bin/${name} $out/bin/${pname}
@@ -12,7 +12,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
+2 -4
View File
@@ -13,8 +13,6 @@ let
appimageContents = appimageTools.extract { appimageContents = appimageTools.extract {
inherit pname version src; inherit pname version src;
}; };
nativeBuildInputs = [ makeWrapper ];
in in
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
@@ -24,8 +22,8 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed extraPkgs = pkgs: [ pkgs.at-spi2-atk pkgs.at-spi2-core ];
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ p.at-spi2-atk p.at-spi2-core ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/notable.desktop $out/share/applications/notable.desktop install -m 444 -D ${appimageContents}/notable.desktop $out/share/applications/notable.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/notable.png \ install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/notable.png \
@@ -48,8 +48,6 @@ let
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiPkgs = null; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
install -Dm444 ${appimageContents}/notesnook.desktop -t $out/share/applications install -Dm444 ${appimageContents}/notesnook.desktop -t $out/share/applications
install -Dm444 ${appimageContents}/notesnook.png -t $out/share/pixmaps install -Dm444 ${appimageContents}/notesnook.png -t $out/share/pixmaps
+2 -2
View File
@@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pgmodeler"; pname = "pgmodeler";
version = "1.1.2"; version = "1.1.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pgmodeler"; owner = "pgmodeler";
repo = "pgmodeler"; repo = "pgmodeler";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-urKAsuYmK8dsXhP+I7p27PXXYRapPtkI8FqARfLwnEw="; sha256 = "sha256-LDgRv7Todyy2pnE21Z0O5JQ6mE4ZO3THv6rfEWU66Cc=";
}; };
nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ]; nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ];
@@ -22,9 +22,7 @@ in appimageTools.wrapAppImage {
inherit pname version; inherit pname version;
src = appimageContents; src = appimageContents;
extraPkgs = { pkgs, ... }@args: [ extraPkgs = pkgs: [ pkgs.hidapi ];
pkgs.hidapi
] ++ appimageTools.defaultFhsEnvArgs.multiPkgs args;
extraInstallCommands = '' extraInstallCommands = ''
# Add desktop convencience stuff # Add desktop convencience stuff
@@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "transifex-cli"; pname = "transifex-cli";
version = "1.6.11"; version = "1.6.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "transifex"; owner = "transifex";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-1p7Si1av/8fhtqfAsgQoqes+u1RlhZI0AhGrTSuLDrI="; sha256 = "sha256-k26z/eFXjNijoth/hWXPfCv4/z6row9DRc9SEtnnX1o=";
}; };
vendorHash = "sha256-rcimaHr3fFeHSjZXw1w23cKISCT+9t8SgtPnY/uYGAU="; vendorHash = "sha256-rcimaHr3fFeHSjZXw1w23cKISCT+9t8SgtPnY/uYGAU=";
+1 -1
View File
@@ -18,7 +18,7 @@ buildPythonApplication rec {
description = "Update timezone information based on geoip"; description = "Update timezone information based on geoip";
mainProgram = "tzupdate"; mainProgram = "tzupdate";
homepage = "https://github.com/cdown/tzupdate"; homepage = "https://github.com/cdown/tzupdate";
maintainers = [ maintainers.michaelpj ]; maintainers = [ ];
license = licenses.unlicense; license = licenses.unlicense;
}; };
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ callPackage, texliveMedium }: { callPackage }:
builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; inherit texliveMedium; })) { builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) {
zettlr = { zettlr = {
version = "3.0.2"; version = "3.0.2";
hash = "sha256-xwBq+kLmTth15uLiYWJOhi/YSPZVJNO6JTrKFojSDXA="; hash = "sha256-xwBq+kLmTth15uLiYWJOhi/YSPZVJNO6JTrKFojSDXA=";
+2 -4
View File
@@ -4,8 +4,6 @@
, appimageTools , appimageTools
, lib , lib
, fetchurl , fetchurl
, texliveMedium
, pandoc
}: }:
# Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs. # Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs.
@@ -21,8 +19,8 @@ in
appimageTools.wrapType2 rec { appimageTools.wrapType2 rec {
inherit pname version src; inherit pname version src;
multiArch = false; # no 32bit needed extraPkgs = pkgs: [ pkgs.texliveMedium pkgs.pandoc ];
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ texliveMedium pandoc ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/Zettlr.desktop install -m 444 -D ${appimageContents}/Zettlr.desktop $out/share/applications/Zettlr.desktop
install -m 444 -D ${appimageContents}/Zettlr.png $out/share/icons/hicolor/512x512/apps/Zettlr.png install -m 444 -D ${appimageContents}/Zettlr.png $out/share/icons/hicolor/512x512/apps/Zettlr.png
@@ -17,9 +17,6 @@ appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
meta = with lib; { meta = with lib; {
description = "Sylk WebRTC client"; description = "Sylk WebRTC client";
homepage = "https://sylkserver.com/"; homepage = "https://sylkserver.com/";
@@ -1,11 +1,11 @@
{ {
stable = { stable = {
chromedriver = { chromedriver = {
hash_darwin = "sha256-jnWmH6MzqZzzIAblvJFv5jKFJ2LILyGy+eOqb6sWmWc="; hash_darwin = "sha256-00582jnlAkVkqFsylZnTWfHh5TJkz+m9W8QCXYKerfo=";
hash_darwin_aarch64 = hash_darwin_aarch64 =
"sha256-FO0kncAPj/cBwlGN2RdFGR7Bn5pKzTRlf2IQ422mm5c="; "sha256-EV45I6lav93uMzgZkjypq1RazqtP1W8w8/c4dVZ5hjI=";
hash_linux = "sha256-3khPV+WPcYHrlGNFXhmRrja2+wWsr77BVgHLbSe0IF8="; hash_linux = "sha256-xCizRpHgcent3D/tMBK+CtXiwtTdH61fja1u8QyECCA=";
version = "124.0.6367.201"; version = "124.0.6367.207";
}; };
deps = { deps = {
gn = { gn = {
@@ -15,8 +15,8 @@
version = "2024-03-14"; version = "2024-03-14";
}; };
}; };
hash = "sha256-nSI+tkJxOedMtYgtiqW37v0ZjgxxU5o/0sH9bPAchBg="; hash = "sha256-IeIWk4y1dufEnhxqvZbQlFVD8dsoceysiEHqJ2G4Oz8=";
version = "124.0.6367.201"; version = "124.0.6367.207";
}; };
ungoogled-chromium = { ungoogled-chromium = {
deps = { deps = {
@@ -27,11 +27,11 @@
version = "2024-03-14"; version = "2024-03-14";
}; };
ungoogled-patches = { ungoogled-patches = {
hash = "sha256-fy4SydGRRyDhJZ7IADG54+rGWh2i+2SrSkuCglphhm8="; hash = "sha256-7Z9j+meVRZYLmreCzHlJe71E9kj5YJ4rrfpQ/deNTpM=";
rev = "124.0.6367.201-1"; rev = "124.0.6367.207-1";
}; };
}; };
hash = "sha256-nSI+tkJxOedMtYgtiqW37v0ZjgxxU5o/0sH9bPAchBg="; hash = "sha256-IeIWk4y1dufEnhxqvZbQlFVD8dsoceysiEHqJ2G4Oz8=";
version = "124.0.6367.201"; version = "124.0.6367.207";
}; };
} }
File diff suppressed because it is too large Load Diff
@@ -3,10 +3,10 @@
{ {
firefox = buildMozillaMach rec { firefox = buildMozillaMach rec {
pname = "firefox"; pname = "firefox";
version = "125.0.3"; version = "126.0";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "18e705a3093290311ccb5f27f01e43fe243ece94c1769a9ccc4fa53d370e32a1ec6a107cdeb531e9468b9aca1a1fe668161adb7acc1ec65fd383837882c7d484"; sha512 = "56025b051d544ca294911a1d6a66f09945f71012131881b64313dafb579730810a4b091950c90a21d4fd3f393ba23670d8409086e1677d80d0bbbe347c303527";
}; };
extraPatches = [ extraPatches = [
@@ -94,11 +94,11 @@
firefox-esr-115 = buildMozillaMach rec { firefox-esr-115 = buildMozillaMach rec {
pname = "firefox-esr-115"; pname = "firefox-esr-115";
version = "115.10.0esr"; version = "115.11.0esr";
applicationName = "Mozilla Firefox ESR"; applicationName = "Mozilla Firefox ESR";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "0626e2c68ce43f24dfc2b9216e2565537ad8781daf4195d53420e1b78d57d0f6360fbe56b0ddbedae3818546c72472c85c1ff2b208c123d32a0543e666f42b65"; sha512 = "0f3a87c99fb008088afd509d9259f893fdd44ea6bf6a5e69806fefb8d355415e81b9e8832a392acb9d0c1c50e4add7f1362a4aaadc35e1d9c2e55baf7136aed8";
}; };
meta = { meta = {
@@ -16,8 +16,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname src version; inherit pname src version;
multiArch = false; extraPkgs = pkgs: [ pkgs.bash ];
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
@@ -24,7 +24,7 @@ let
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "vivaldi"; pname = "vivaldi";
version = "6.7.3329.17"; version = "6.7.3329.27";
suffix = { suffix = {
aarch64-linux = "arm64"; aarch64-linux = "arm64";
@@ -34,8 +34,8 @@ in stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb"; url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
hash = { hash = {
aarch64-linux = "sha256-G/KZ3BMn3nX+8hFmfZaYEo2hB/0GUxM3M4JwLzTglr0="; aarch64-linux = "sha256-o+ociqdALNti/7VgcBOb7cQBlZLWmYnTQ68SW8NMDIs=";
x86_64-linux = "sha256-LH1/xalmKvZWKUWULWsJPz7YfPfISjiH+Tbx0Nj4VRY="; x86_64-linux = "sha256-1ppDdLIpQMBX+W2dL6CumqUM6PsEZJpQrA3huj3V+Eg=";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
}; };
@@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "hubble"; pname = "hubble";
version = "0.13.3"; version = "0.13.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cilium"; owner = "cilium";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-tHkLUoccOUcUjODecy1QyeuDb/aXv67sK8JHJ1IspC8="; sha256 = "sha256-YordxRIZtlYQprAYnH9Qn5ha6y7D52sjEOaRTcd0Z8g=";
}; };
vendorHash = null; vendorHash = null;
@@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "istioctl"; pname = "istioctl";
version = "1.21.2"; version = "1.22.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "istio"; owner = "istio";
repo = "istio"; repo = "istio";
rev = version; rev = version;
hash = "sha256-U0SCjozy968pcXMGyUgM47VGYYNwPq8wOzTnKp49ZY4="; hash = "sha256-xiIuCwzERvy7HFx9CZHen1tz1nwsTMryq5hB0om2dyo=";
}; };
vendorHash = "sha256-23t1xJPRip0ojXmUl1qlk6QJsYHT+9EAS080m6c0d6U="; vendorHash = "sha256-de9cPm2MuflsOhFZfZmvZpLYiwt3UBgW+MO1Z2QB4F4=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@@ -0,0 +1,10 @@
{
traefik-crd = {
url = "https://k3s.io/k3s-charts/assets/traefik-crd/traefik-crd-25.0.3+up25.0.0.tgz";
sha256 = "1z693i4kd3jyf26ccnb0sxjyxadipl6k13n7jyg5v4y93fv1rpdw";
};
traefik = {
url = "https://k3s.io/k3s-charts/assets/traefik/traefik-25.0.3+up25.0.0.tgz";
sha256 = "1a24qlp7c6iri72ka1i37l1lzn13xibrd26dy295z2wzr55gg7if";
};
}
@@ -0,0 +1,14 @@
{
k3sVersion = "1.30.0+k3s1";
k3sCommit = "14549535f13c63fc239ba055d36d590e68b01503";
k3sRepoSha256 = "1dph6clzzanlx7dbdzpamnw7gpw98j850my28lcb3zdzhvhsc74b";
k3sVendorHash = "sha256-YBWiIf8F71ibR7sCiYtmsAcY1MsvkhTD/K45tOHQC5w=";
chartVersions = import ./chart-versions.nix;
k3sRootVersion = "0.13.0";
k3sRootSha256 = "1jq5f0lm08abx5ikarf92z56fvx4kjpy2nmzaazblb34lajw87vj";
k3sCNIVersion = "1.4.0-k3s2";
k3sCNISha256 = "17dg6jgjx18nrlyfmkv14dhzxsljz4774zgwz5dchxcf38bvarqa";
containerdVersion = "1.7.15-k3s1";
containerdSha256 = "18hlj4ixjk7wvamfd66xyc0cax2hs9s7yjvlx52afxdc73194y0f";
criCtlVersion = "1.29.0-k3s1";
}
@@ -54,4 +54,15 @@ in
]; ];
} }
) extraArgs; ) extraArgs;
# 1_30 can be built with the same builder as 1_26
k3s_1_30 = common (
(import ./1_30/versions.nix)
// {
updateScript = [
./update-script.sh
"30"
];
}
) extraArgs;
} }
@@ -9,13 +9,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kaniko"; pname = "kaniko";
version = "1.22.0"; version = "1.23.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GoogleContainerTools"; owner = "GoogleContainerTools";
repo = "kaniko"; repo = "kaniko";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-EL54lr5i6F4F9sdjQJZ3X+mmj4tWXVX2db8CkRe8WzI="; hash = "sha256-HHnPO2ItQKtodTxdZzxVU9GS45cd6fnlY8PLTTfqCVg=";
}; };
vendorHash = null; vendorHash = null;
@@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kube-router"; pname = "kube-router";
version = "2.1.1"; version = "2.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cloudnativelabs"; owner = "cloudnativelabs";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0Aq4/4b98A7ChbYDwnaXWJvZxrNyWKIFgyXde2deLXg="; hash = "sha256-BjL91c+yfpscb0q62eWfiqg1aLkXztXowTj4k8jdTQs=";
}; };
vendorHash = "sha256-oo/vQ6kAcEiKvy/eJ3kobdMyFxysfiArvy8aQDMmdo0="; vendorHash = "sha256-BrpjG9DhDQSsbeJ+1MRAwXyKVULK3KHjvLydduTb024=";
CGO_ENABLED = 0; CGO_ENABLED = 0;
@@ -1,4 +1,4 @@
{ lib, stdenv, pname, version, src, meta, appimageTools, makeWrapper, nss_latest }: { pname, version, src, meta, appimageTools, makeWrapper }:
let let
name = "${pname}-${version}"; name = "${pname}-${version}";
@@ -25,5 +25,5 @@ appimageTools.wrapType2 {
--replace 'Exec=AppRun' 'Exec=${pname}' --replace 'Exec=AppRun' 'Exec=${pname}'
''; '';
extraPkgs = _: [ nss_latest ]; extraPkgs = pkgs: [ pkgs.nss_latest ];
} }
@@ -15,9 +15,9 @@
buildGoModule rec { buildGoModule rec {
pname = "minikube"; pname = "minikube";
version = "1.33.0"; version = "1.33.1";
vendorHash = "sha256-eFIo9C9AEZksQolMlWKPJR2WWpU7Yu4eJb1OBwdqGhI="; vendorHash = "sha256-VHl6CKPWqahX70GHbZE6SVa8XPfiC912DvsOteH2B0w=";
doCheck = false; doCheck = false;
@@ -25,7 +25,7 @@ buildGoModule rec {
owner = "kubernetes"; owner = "kubernetes";
repo = "minikube"; repo = "minikube";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-4OSChPgUD1oYnChAi7r2jgZpplR9ZaHpHPiTS6jSpME="; sha256 = "sha256-z0wNngEzddxpeeLyQVA2yRC5SfYvU5G66V95sVmW6bA=";
}; };
postPatch = postPatch =
( (
@@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "rke"; pname = "rke";
version = "1.5.8"; version = "1.5.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rancher"; owner = "rancher";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-f1Ilf2HSsp0Ygp0fItJVd8iJq12Z1jw2WKmLR4NgUKA="; hash = "sha256-JLP2fZALPJmfj8fCsEPT0S2xsZ1HNQlhORNNrGxxgVg=";
}; };
vendorHash = "sha256-/HsZAMPGCaM5Em6doC8qffoSEveX/yDNwAGog3I0+c4="; vendorHash = "sha256-5SxRh9y8I0v3+lU4V9xGtbwWv6JmrvLmPX8TFKjvvD4=";
subPackages = [ "." ]; subPackages = [ "." ];
@@ -10,13 +10,13 @@
buildGoModule rec { buildGoModule rec {
pname = "werf"; pname = "werf";
version = "2.0.3"; version = "2.0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "werf"; owner = "werf";
repo = "werf"; repo = "werf";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-CUz2LBba5elWWqMab6I/n1eGKRi8q9im/jEwZI3k7WU="; hash = "sha256-htDa+4t6H2FWqHbsjrCkB7xpMCl/2zE1HIEoLONlklc=";
}; };
vendorHash = "sha256-WMmL0jjzzaDtNmx+kvHFONqwhz7mjFCM4rT6YoL+XkA="; vendorHash = "sha256-WMmL0jjzzaDtNmx+kvHFONqwhz7mjFCM4rT6YoL+XkA=";
@@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "flexget"; pname = "flexget";
version = "3.11.31"; version = "3.11.33";
pyproject = true; pyproject = true;
# Fetch from GitHub in order to use `requirements.in` # Fetch from GitHub in order to use `requirements.in`
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "Flexget"; owner = "Flexget";
repo = "Flexget"; repo = "Flexget";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-lTAC33mw2iHY9Xj4WRgO+Fh+xfjs5vRw6xAZcEaJKhM="; hash = "sha256-kgTlz3cUztIUKKqmUpUpEwu5qyjE0fCarG/EKJ1PoPc=";
}; };
postPatch = '' postPatch = ''
@@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gnmic"; pname = "gnmic";
version = "0.36.2"; version = "0.37.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openconfig"; owner = "openconfig";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-PUOIKPkzM6riiXR8R1Io0QI/qr6HaexfFgbp2Hx2SOo="; hash = "sha256-PktDdwtdCHLgLVpCRLi+Rna7dO2JeAAT6myFesIhpYc=";
}; };
vendorHash = "sha256-zrG/rNoYtfVNN50g41txLQIcBAKi1yE5p1TODrDiXzU="; vendorHash = "sha256-gxtVvh39VqJgS5VetnLpUyKJE8DcUZgn4MA8zdD/ccU=";
ldflags = [ ldflags = [
"-s" "-w" "-s" "-w"
@@ -2,7 +2,6 @@
, stdenvNoCC , stdenvNoCC
, fetchurl , fetchurl
, appimageTools , appimageTools
, libsecret
, makeWrapper , makeWrapper
, writeShellApplication , writeShellApplication
, curl , curl
@@ -19,7 +18,7 @@ let
}; };
appimage = appimageTools.wrapType2 { appimage = appimageTools.wrapType2 {
inherit version pname src; inherit version pname src;
extraPkgs = pkgs: with pkgs; [ libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {
inherit version pname src; inherit version pname src;
@@ -1,5 +1,4 @@
{ lib { fetchurl
, fetchurl
, appimageTools , appimageTools
, xorg , xorg
, pname , pname
@@ -27,8 +26,6 @@ in
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs;
extraInstallCommands = '' extraInstallCommands = ''
mkdir -p $out/share mkdir -p $out/share
"${xorg.lndir}/bin/lndir" -silent "${extracted}/usr/share" "$out/share" "${xorg.lndir}/bin/lndir" -silent "${extracted}/usr/share" "$out/share"
@@ -2,11 +2,11 @@
let let
pname = "rambox"; pname = "rambox";
version = "2.3.1"; version = "2.3.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage"; url = "https://github.com/ramboxapp/download/releases/download/v${version}/Rambox-${version}-linux-x64.AppImage";
hash = "sha256-fSj/AX1uCUAC3Vg5+rtGF3IDPFTHRAgJ8CPVL8BYc+E="; hash = "sha256-9AGzhj4UL2rEe67qvkX5VYhQEMETGYSDWv5XOgABSEE=";
}; };
desktopItem = (makeDesktopItem { desktopItem = (makeDesktopItem {
@@ -30,7 +30,7 @@ appimageTools.wrapType2 {
install -Dm644 ${desktopItem}/share/applications/* $out/share/applications install -Dm644 ${desktopItem}/share/applications/* $out/share/applications
''; '';
extraPkgs = pkgs: with pkgs; [ procps ]; extraPkgs = pkgs: [ pkgs.procps ];
meta = with lib; { meta = with lib; {
description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles"; description = "Workspace Simplifier - a cross-platform application organizing web services into Workspaces similar to browser profiles";
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "catgirl"; pname = "catgirl";
version = "2.2"; version = "2.2a";
src = fetchurl { src = fetchurl {
url = "https://git.causal.agency/catgirl/snapshot/${pname}-${version}.tar.gz"; url = "https://git.causal.agency/catgirl/snapshot/${pname}-${version}.tar.gz";
sha256 = "sha256-+20EoJkwOvBdJ4xwXBVC5+5hZDwDDWoLaN7FNxCAo8c="; hash = "sha256-xtdgqu4TTgUlht73qRA1Q/coH95lMfvLQQhkcHlCl8I=";
}; };
# catgirl's configure script uses pkg-config --variable exec_prefix openssl # catgirl's configure script uses pkg-config --variable exec_prefix openssl
@@ -16,7 +16,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ at-spi2-core ]; extraPkgs = pkgs: [ pkgs.at-spi2-core ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/irccloud.desktop $out/share/applications/irccloud.desktop install -m 444 -D ${appimageContents}/irccloud.desktop $out/share/applications/irccloud.desktop
@@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "iroh"; pname = "iroh";
version = "0.15.0"; version = "0.16.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "n0-computer"; owner = "n0-computer";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-ho/wlg6W0/LcJrVHPRVQ6zNjpwqa0+PThUP/RGIXVTA="; hash = "sha256-W3G6jwSaYeCx3KNAAl/z1UEOHFKHhmp+exlNbpHZuNM=";
}; };
cargoHash = "sha256-1S6lFzoLxF6V94wXw/r5XDwbnt4/aaPOYdIIJA68Ya8="; cargoHash = "sha256-AwTQjGRy2lCiJUhCWuyoXddEyLCQ2szbea/MJ/8SJQA=";
buildInputs = lib.optionals stdenv.isDarwin ( buildInputs = lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks; [ with darwin.apple_sdk.frameworks; [
@@ -1,4 +1,4 @@
{ appimageTools, lib, fetchurl, libsecret }: { appimageTools, lib, fetchurl }:
let let
pname = "electron-mail"; pname = "electron-mail";
@@ -20,9 +20,9 @@ in appimageTools.wrapType2 {
cp -r ${appimageContents}/usr/share/icons $out/share cp -r ${appimageContents}/usr/share/icons $out/share
''; '';
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [
libsecret pkgs.libsecret
libappindicator-gtk3 pkgs.libappindicator-gtk3
]; ];
meta = with lib; { meta = with lib; {
@@ -12,7 +12,7 @@ appimageTools.wrapType2 rec {
hash = "sha256-D7qWwIFuCJmBvfdgf4Dsd2/jvi39tbAttaHOwLND4DY="; hash = "sha256-D7qWwIFuCJmBvfdgf4Dsd2/jvi39tbAttaHOwLND4DY=";
}; };
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
extraInstallCommands = extraInstallCommands =
let appimageContents = appimageTools.extract { inherit pname version src; }; let appimageContents = appimageTools.extract { inherit pname version src; };
@@ -19,22 +19,11 @@
, lame , lame
, pixman , pixman
, libjpeg_turbo , libjpeg_turbo
, _experimental-update-script-combinators
, gitUpdater
}: }:
let let
version = "0.9.25.1";
patchedXrdpSrc = applyPatches {
patches = [ ./dynamic_config.patch ];
name = "xrdp-patched-${version}";
src = fetchFromGitHub {
owner = "neutrinolabs";
repo = "xrdp";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-oAs0oWkCyj3ObdJuHLfT25ZzkTrxNAXDiFU64OOP4Ow=";
};
};
xorgxrdp = stdenv.mkDerivation rec { xorgxrdp = stdenv.mkDerivation rec {
pname = "xorgxrdp"; pname = "xorgxrdp";
version = "0.9.20"; version = "0.9.20";
@@ -62,16 +51,29 @@ let
preConfigure = "./bootstrap"; preConfigure = "./bootstrap";
configureFlags = [ "XRDP_CFLAGS=-I${patchedXrdpSrc}/common" ]; configureFlags = [ "XRDP_CFLAGS=-I${xrdp.src}/common" ];
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
}; };
xrdp = stdenv.mkDerivation { xrdp = stdenv.mkDerivation rec {
inherit version;
pname = "xrdp"; pname = "xrdp";
version = "0.9.25.1";
src = patchedXrdpSrc; src = applyPatches {
inherit version;
patches = [ ./dynamic_config.patch ];
name = "xrdp-patched-${version}";
src = fetchFromGitHub {
owner = "neutrinolabs";
repo = "xrdp";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-oAs0oWkCyj3ObdJuHLfT25ZzkTrxNAXDiFU64OOP4Ow=";
};
};
nativeBuildInputs = [ pkg-config autoconf automake which libtool nasm perl ]; nativeBuildInputs = [ pkg-config autoconf automake which libtool nasm perl ];
@@ -150,6 +152,15 @@ let
enableParallelBuilding = true; enableParallelBuilding = true;
passthru = {
inherit xorgxrdp;
updateScript = _experimental-update-script-combinators.sequence (map (item: item.command) [
(gitUpdater { rev-prefix = "v"; attrPath = "xrdp.src"; ignoredVersions = [ "beta" ]; })
{ command = ["rm" "update-git-commits.txt"]; }
(gitUpdater { rev-prefix = "v"; attrPath = "xrdp.xorgxrdp"; })
]);
};
meta = with lib; { meta = with lib; {
description = "An open source RDP server"; description = "An open source RDP server";
homepage = "https://github.com/neutrinolabs/xrdp"; homepage = "https://github.com/neutrinolabs/xrdp";
@@ -1,11 +1,11 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, lib , lib
, nix-update-script
, pulseaudio , pulseaudio
, autoreconfHook , autoreconfHook
, pkg-config , pkg-config
, nixosTests , nixosTests
, gitUpdater
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
]; ];
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = gitUpdater { rev-prefix = "v"; };
tests = { tests = {
inherit (nixosTests) xrdp-with-audio-pulseaudio; inherit (nixosTests) xrdp-with-audio-pulseaudio;
}; };
@@ -19,8 +19,6 @@ in appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false;
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/browserx.desktop $out/share/applications/browserx.desktop install -m 444 -D ${appimageContents}/browserx.desktop $out/share/applications/browserx.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/browserx.png \ install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/browserx.png \
@@ -52,5 +52,6 @@ buildGoModule rec {
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ patka ]; maintainers = with maintainers; [ patka ];
mainProgram = "trayscale"; mainProgram = "trayscale";
platforms = platforms.linux;
}; };
} }
@@ -62,5 +62,6 @@ resholve.mkDerivation rec {
maintainers = with lib.maintainers; [ urandom ]; maintainers = with lib.maintainers; [ urandom ];
license = licenses.mit; license = licenses.mit;
mainProgram = "wgnord"; mainProgram = "wgnord";
platforms = platforms.linux;
}; };
} }
@@ -13,11 +13,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "appflowy"; pname = "appflowy";
version = "0.5.6"; version = "0.5.7";
src = fetchzip { src = fetchzip {
url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-${version}-linux-x86_64.tar.gz"; url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-${version}-linux-x86_64.tar.gz";
hash = "sha256-6eolLBWVpnEvjA+C6R5gpkxG/G59atrkwOP7CWhs7oI="; hash = "sha256-SVtAx/yllHugBys506pT/5n6IDEZvPEeCHRjFHLMZ0A=";
stripRoot = false; stripRoot = false;
}; };
@@ -3,10 +3,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "homebank"; pname = "homebank";
version = "5.7.4"; version = "5.8";
src = fetchurl { src = fetchurl {
url = "https://www.gethomebank.org/public/sources/homebank-${version}.tar.gz"; url = "https://www.gethomebank.org/public/sources/homebank-${version}.tar.gz";
hash = "sha256-Qs5xRsh16gyjyTORtqm/RxTbRiHGP0oJTcxviYW7VOQ="; hash = "sha256-tgjcz4znnw++5lBoJDWtHKpRFENfM0xBpyhGf8nAACw=";
}; };
nativeBuildInputs = [ pkg-config wrapGAppsHook3 intltool ]; nativeBuildInputs = [ pkg-config wrapGAppsHook3 intltool ];
@@ -1,7 +1,6 @@
{ lib { lib
, fetchurl , fetchurl
, appimageTools , appimageTools
, libsecret
}: }:
let let
@@ -19,9 +18,7 @@ let
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 rec {
inherit pname version src; inherit pname version src;
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [ pkgs.libsecret ];
libsecret
];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/timeular.desktop $out/share/applications/timeular.desktop install -m 444 -D ${appimageContents}/timeular.desktop $out/share/applications/timeular.desktop
@@ -31,8 +31,6 @@ in appimageTools.wrapType2 rec {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
multiArch = false; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = '' extraInstallCommands = ''
mkdir "$out/share" mkdir "$out/share"
ln -s "${desktopItem}/share/applications" "$out/share/" ln -s "${desktopItem}/share/applications" "$out/share/"
@@ -1,20 +1,47 @@
{ lib, stdenv, fetchFromGitHub, cmake, coreutils, perlPackages, bicpl, libminc, zlib, minc_tools, {
makeWrapper }: lib,
stdenv,
fetchFromGitHub,
cmake,
coreutils,
perlPackages,
bicpl,
libminc,
zlib,
minc_tools,
makeWrapper,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "conglomerate"; pname = "conglomerate";
version = "unstable-2017-09-10"; version = "unstable-2023-01-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "BIC-MNI"; owner = "BIC-MNI";
repo = pname; repo = pname;
rev = "7343238bc6215942c7ecc885a224f24433a291b0"; rev = "6fb26084f2871a85044e2e4afc868982702b40ed";
sha256 = "1mlqgmy3jc13bv7d01rjwldxq0p4ayqic85xcl222hhifi3w2prr"; hash = "sha256-Inr4b2bxguzkcRQBURObsQQ0Rb3H/Zz6hEzNRd+IX3w=";
}; };
nativeBuildInputs = [ cmake makeWrapper ]; nativeBuildInputs = [
buildInputs = [ libminc zlib bicpl ]; cmake
propagatedBuildInputs = [ coreutils minc_tools ] ++ (with perlPackages; [ perl GetoptTabular MNI-Perllib ]); makeWrapper
];
buildInputs = [
libminc
zlib
bicpl
];
propagatedBuildInputs =
[
coreutils
minc_tools
]
++ (with perlPackages; [
perl
GetoptTabular
MNI-Perllib
]);
cmakeFlags = [ cmakeFlags = [
"-DLIBMINC_DIR=${libminc}/lib/cmake" "-DLIBMINC_DIR=${libminc}/lib/cmake"
@@ -23,15 +50,20 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
for p in $out/bin/*; do for p in $out/bin/*; do
wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${lib.makeBinPath [ coreutils minc_tools ]}"; wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${
lib.makeBinPath [
coreutils
minc_tools
]
}";
done done
''; '';
meta = with lib; { meta = {
homepage = "https://github.com/BIC-MNI/conglomerate"; homepage = "https://github.com/BIC-MNI/conglomerate";
description = "More command-line utilities for working with MINC files"; description = "More command-line utilities for working with MINC files";
maintainers = with maintainers; [ bcdarwin ]; maintainers = with lib.maintainers; [ bcdarwin ];
platforms = platforms.unix; platforms = lib.platforms.unix;
license = licenses.hpndUc; license = lib.licenses.hpndUc;
}; };
} }
@@ -2,11 +2,11 @@
let let
pname = "alt-ergo"; pname = "alt-ergo";
version = "2.5.3"; version = "2.5.4";
src = fetchurl { src = fetchurl {
url = "https://github.com/OCamlPro/alt-ergo/releases/download/v${version}/alt-ergo-${version}.tbz"; url = "https://github.com/OCamlPro/alt-ergo/releases/download/v${version}/alt-ergo-${version}.tbz";
hash = "sha256-tmWLZBLfdmfYlCQq+zcUneeueDAE6AJeZMy8kfNCC04="; hash = "sha256-AsHok5i62vqJ5hK8XRiD8hM6JQaFv3dMxZAcVYEim6w=";
}; };
in in
@@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "snakemake"; pname = "snakemake";
version = "8.11.3"; version = "8.11.4";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "snakemake"; owner = "snakemake";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-wNs5OW8bM5LU0Ik77VU47dEq2PlrsfNNtl6Zedocnm4="; hash = "sha256-nfPA2sQCeRc12A4rrlo17UPpiB8plKYbiumZjS7Yhz8=";
# https://github.com/python-versioneer/python-versioneer/issues/217 # https://github.com/python-versioneer/python-versioneer/issues/217
postFetch = '' postFetch = ''
sed -i "$out"/snakemake/_version.py -e 's#git_refnames = ".*"#git_refnames = " (tag: v${version})"#' sed -i "$out"/snakemake/_version.py -e 's#git_refnames = ".*"#git_refnames = " (tag: v${version})"#'
@@ -158,6 +158,8 @@ mkDerivation rec {
done done
wrapProgram $out/share/recoll/filters/rclaudio.py \ wrapProgram $out/share/recoll/filters/rclaudio.py \
--prefix PYTHONPATH : $PYTHONPATH --prefix PYTHONPATH : $PYTHONPATH
wrapProgram $out/share/recoll/filters/rcljoplin.py \
--prefix PYTHONPATH : $out/${python3Packages.python.sitePackages}
wrapProgram $out/share/recoll/filters/rclimg \ wrapProgram $out/share/recoll/filters/rclimg \
--prefix PERL5LIB : "${with perlPackages; makeFullPerlPath [ ImageExifTool ]}" --prefix PERL5LIB : "${with perlPackages; makeFullPerlPath [ ImageExifTool ]}"
'' + lib.optionalString stdenv.isLinux '' '' + lib.optionalString stdenv.isLinux ''
@@ -210,7 +210,10 @@ buildPythonApplication rec {
cp -r linux-package/{bin,share,lib} "$out" cp -r linux-package/{bin,share,lib} "$out"
cp linux-package/bin/kitten "$kitten/bin/kitten" cp linux-package/bin/kitten "$kitten/bin/kitten"
''} ''}
wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${lib.makeBinPath [ imagemagick ncurses.dev ]}"
# dereference the `kitty` symlink to make sure the actual executable
# is wrapped on macOS as well (and not just the symlink)
wrapProgram $(realpath "$out/bin/kitty") --prefix PATH : "$out/bin:${lib.makeBinPath [ imagemagick ncurses.dev ]}"
installShellCompletion --cmd kitty \ installShellCompletion --cmd kitty \
--bash <("$out/bin/kitty" +complete setup bash) \ --bash <("$out/bin/kitty" +complete setup bash) \
@@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gh"; pname = "gh";
version = "2.49.1"; version = "2.49.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cli"; owner = "cli";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-9Qr1goFmHV4rNEB849dF9+qEEMOWanCyAcNpXwuQxOo="; hash = "sha256-RevdHBF/7etEstUhsTO9KVK45KTiJnhAhAZAamuEUwk=";
}; };
vendorHash = "sha256-FztCYs6db6f3niAru/vPpcze84nqwzspoJsdqmdkJmk="; vendorHash = "sha256-9Rv1zPrtaxd00lbA3WrPIzIZ9IiKqZa/ppn37jqMP4M=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@@ -10,7 +10,7 @@
}: }:
let let
version = "5.12.199"; version = "5.12.200";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "git-mit"; pname = "git-mit";
@@ -20,10 +20,10 @@ rustPlatform.buildRustPackage {
owner = "PurpleBooth"; owner = "PurpleBooth";
repo = "git-mit"; repo = "git-mit";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-UyUOzxlTz+yT+Ch1Q+RuxBHDBeW0S5Kl/ynk0s2nNTc="; hash = "sha256-xrmxpbNBe+EjQsnpgQtKZlziK+jOw5johFDH2kfxf44=";
}; };
cargoHash = "sha256-hJzCuHq+9fT5etdgV+PxeeaLHv8WGhm8QH0Rp+WOXgs="; cargoHash = "sha256-1JN3TaX37DCoYuWJskFoP5vRPqJG8JEMGRAEsU/PI48=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
@@ -2,15 +2,15 @@
buildGoModule rec { buildGoModule rec {
pname = "gitsign"; pname = "gitsign";
version = "0.10.1"; version = "0.10.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sigstore"; owner = "sigstore";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-WaiGkbjqty/MsTWPvx5DmmaNwWTJAEFKwVqArt2oZZc="; hash = "sha256-JNCz5MVqn8PeTfYUVowIVZwtpfD+Gx9yBckter6PfXA=";
}; };
vendorHash = "sha256-p2E010k7uozpLvl9VpfG5/JyQR4mVUBKv2p78UdFlac="; vendorHash = "sha256-QW+ZWYEXkhSQR4HvmPLENzY/VEfjEX43mBPhmhsEBMI=";
subPackages = [ subPackages = [
"." "."
+1 -3
View File
@@ -15,9 +15,7 @@ appimageTools.wrapAppImage rec {
}; };
# At runtime, Lbry likes to have access to Ffmpeg # At runtime, Lbry likes to have access to Ffmpeg
extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: [ pkgs.ffmpeg ];
ffmpeg
];
# General fixup # General fixup
extraInstallCommands = '' extraInstallCommands = ''
@@ -29,8 +29,6 @@ appimageTools.wrapType2 {
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
''; '';
extraPkgs = ps: appimageTools.defaultFhsEnvArgs.multiPkgs ps;
extraInstallCommands = '' extraInstallCommands = ''
( (
mkdir -p $out/share mkdir -p $out/share
@@ -7,12 +7,12 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "streamlink"; pname = "streamlink";
version = "6.7.3"; version = "6.7.4";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-Da+J+NOXW+n55LvaPQw6XiRhJJQ4Pc4Z1p21qMym/Xw="; hash = "sha256-kzdTerEZ/ndSSl1mWq7Ou/sG4suN8o0SYNkodkJXUc4=";
}; };
patches = [ patches = [
@@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kraftkit"; pname = "kraftkit";
version = "0.8.5"; version = "0.8.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "unikraft"; owner = "unikraft";
repo = "kraftkit"; repo = "kraftkit";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-31cgihmtBIB8U60ic5wKNyqB4a5sXZmIXxAjQI/43ro="; hash = "sha256-lBvDKO2+MTSrmQM7szg5yulUi5OZKv7qKNQ75PIZgDo=";
}; };
vendorHash = "sha256-X2E0Sy4rJhrDgPSSOTqUeMEdgq5H3DF5xjh84qlH1Ug="; vendorHash = "sha256-JSE4k/JgWvYCfTUuf2pj4XCcdJ9+j7fY9aAiCipapIk=";
ldflags = [ ldflags = [
"-s" "-s"
+1 -1
View File
@@ -40,7 +40,7 @@ rec {
wrapAppImage = args@{ wrapAppImage = args@{
src, src,
extraPkgs, extraPkgs ? pkgs: [ ],
meta ? {}, meta ? {},
... ...
}: buildFHSEnv }: buildFHSEnv
@@ -2,17 +2,18 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
fetchFromGitHub, fetchFromGitHub,
unstableGitUpdater,
}: }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "ananicy-rules-cachyos"; pname = "ananicy-rules-cachyos";
version = "unstable-2024-05-04"; version = "0-unstable-2024-05-10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CachyOS"; owner = "CachyOS";
repo = "ananicy-rules"; repo = "ananicy-rules";
rev = "5276c6dd11966dcf6f9588c6148949837abb8200"; rev = "1826cf45201770e20fea2e7bebfc2a5001074703";
hash = "sha256-we2kdQb5rSJldP0HxBLAR5czTc3aayWElp5vAfmQ4ag="; hash = "sha256-9Uth0OvV5NXHZxOCQDMmb0VdXpi8dSMdN9StnJa8n90=";
}; };
dontConfigure = true; dontConfigure = true;
@@ -26,6 +27,10 @@ stdenvNoCC.mkDerivation {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
};
meta = { meta = {
homepage = "https://github.com/CachyOS/ananicy-rules"; homepage = "https://github.com/CachyOS/ananicy-rules";
description = "CachyOS' ananicy-rules meant to be used with ananicy-cpp"; description = "CachyOS' ananicy-rules meant to be used with ananicy-cpp";
+1 -2
View File
@@ -13,8 +13,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit name src; inherit name src;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) extraPkgs = pkgs: [ pkgs.libsecret ];
++ [ pkgs.libsecret ];
extraInstallCommands = '' extraInstallCommands = ''
mv $out/bin/${name} $out/bin/${pname} mv $out/bin/${name} $out/bin/${pname}
+1 -1
View File
@@ -23,7 +23,7 @@ appimageTools.wrapType2 {
substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U' substituteInPlace $out/share/applications/${pname}.desktop --replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U'
''; '';
extraPkgs = pkgs: with pkgs; [ libsecret ]; extraPkgs = pkgs: [ pkgs.libsecret ];
meta = with lib; { meta = with lib; {
description = "Open-source electronics prototyping platform"; description = "Open-source electronics prototyping platform";
+1 -1
View File
@@ -16,7 +16,7 @@ let
in appimageTools.wrapType2 { in appimageTools.wrapType2 {
inherit pname src version; inherit pname src version;
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libthai ]; extraPkgs = pkgs: [ pkgs.libthai ];
extraInstallCommands = '' extraInstallCommands = ''
install -m 444 -D ${appimageContents}/caido.desktop -t $out/share/applications install -m 444 -D ${appimageContents}/caido.desktop -t $out/share/applications
+1 -2
View File
@@ -14,8 +14,7 @@ let
in appimageTools.wrapType2 rec { in appimageTools.wrapType2 rec {
inherit name pname src; inherit name pname src;
multiArch = false; extraPkgs = pkgs: [ pkgs.glib ];
extraPkgs = p: (appimageTools.defaultFhsEnvArgs.multiPkgs p) ++ [ p.glib ];
# Also expose the udev rules here, so it can be used as: # Also expose the udev rules here, so it can be used as:
# services.udev.packages = [ pkgs.chrysalis ]; # services.udev.packages = [ pkgs.chrysalis ];
+5 -11
View File
@@ -2,25 +2,24 @@
, fetchFromGitHub , fetchFromGitHub
, gtk4 , gtk4
, libadwaita , libadwaita
, libportal
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
, stdenv , stdenv
, vala , vala
, wrapGAppsHook4 , wrapGAppsHook4
# Clairvoyant shows a non-dismissable banner recommending the use of the Flatpak version
, hideUnsupportedVersionBanner ? false
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "clairvoyant"; pname = "clairvoyant";
version = "3.1.3"; version = "3.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cassidyjames"; owner = "cassidyjames";
repo = "clairvoyant"; repo = "clairvoyant";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-eAcd8JJmcsz8dm049g5xsF6gPpNQ6ZvGGIhKAoMlPTU="; hash = "sha256-p9Lgs5z5oRuMQYRKzWp+aQDi0FnxvbQGLZpBigolHUw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -34,17 +33,12 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ buildInputs = [
gtk4 gtk4
libadwaita libadwaita
libportal
]; ];
preFixup = lib.optionalString hideUnsupportedVersionBanner ''
gappsWrapperArgs+=(
--set container true
)
'';
meta = with lib; { meta = with lib; {
changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}"; changelog = "https://github.com/cassidyjames/clairvoyant/releases/tag/${finalAttrs.version}";
description = "Ask questions and get psychic answers"; description = "Ask questions, get psychic answers";
homepage = "https://github.com/cassidyjames/clairvoyant"; homepage = "https://github.com/cassidyjames/clairvoyant";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
mainProgram = "com.github.cassidyjames.clairvoyant"; mainProgram = "com.github.cassidyjames.clairvoyant";
+2 -2
View File
@@ -5,11 +5,11 @@
let let
pname = "codux"; pname = "codux";
version = "15.25.1"; version = "15.26.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage"; url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
sha256 = "sha256-MdA/NAlIRyKJNiqYvoxACc+WgS0ZAt+tbqaQRzTT/Xc="; sha256 = "sha256-jja9WYfirltjBdJNCQONowVjMTg0aj265Sjq57qSjbc=";
}; };
appimageContents = appimageTools.extractType2 { inherit pname version src; }; appimageContents = appimageTools.extractType2 { inherit pname version src; };
+30
View File
@@ -0,0 +1,30 @@
{ lib, rustPlatform, fetchCrate
, testers, nix-update-script, diffedit3
}:
rustPlatform.buildRustPackage rec {
pname = "diffedit3";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-qw5Wos2u/H6ccJ3qkrVOCisMFDTNwxp/YeOTE1x5lcU=";
};
cargoHash = "sha256-e5bm8GLubA9BzH9oKKSC/Ysh+O+GJA8x6W576vKIIUA=";
passthru = {
updateScript = nix-update-script { };
tests = testers.testVersion {
package = diffedit3;
};
};
meta = with lib; {
homepage = "https://github.com/ilyagr/diffedit3";
description = "3-pane diff editor";
license = with licenses; [ asl20 ];
mainProgram = "diffedit3";
maintainers = with maintainers; [ thoughtpolice ];
};
}
+2 -2
View File
@@ -21,7 +21,7 @@ let
in in
buildDunePackage' rec { buildDunePackage' rec {
pname = "docfd"; pname = "docfd";
version = "6.0.0"; version = "6.0.1";
minimalOCamlVersion = "5.1"; minimalOCamlVersion = "5.1";
@@ -29,7 +29,7 @@ buildDunePackage' rec {
owner = "darrenldl"; owner = "darrenldl";
repo = "docfd"; repo = "docfd";
rev = version; rev = version;
hash = "sha256-zG6x1ahBdLrKmiVh7uDGyHXJ1TG/8IvmjkPB1wbjJGQ="; hash = "sha256-pNBWSPII+r9MMmyXBzxQ6hMNrN7nwcdhrpufzj00s2E=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

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