Merge master into haskell-updates
This commit is contained in:
commit
a37da47952
319 changed files with 3170 additions and 144484 deletions
4
.github/CODEOWNERS
vendored
4
.github/CODEOWNERS
vendored
|
@ -101,6 +101,10 @@
|
|||
/nixos/lib/systemd-*.nix @NixOS/systemd
|
||||
/pkgs/os-specific/linux/systemd @NixOS/systemd
|
||||
|
||||
# Images and installer media
|
||||
/nixos/modules/installer/cd-dvd/ @samueldr
|
||||
/nixos/modules/installer/sd-card/ @samueldr
|
||||
|
||||
# Updaters
|
||||
## update.nix
|
||||
/maintainers/scripts/update.nix @jtojnar
|
||||
|
|
|
@ -535,6 +535,11 @@ To get a sense for what changes are considered mass rebuilds, see [previously me
|
|||
|
||||
The old config generation system used impure shell scripts and could break in specific circumstances (see #1234).
|
||||
|
||||
When adding yourself as maintainer, in the same pull request, make a separate
|
||||
commit with the message `maintainers: add <handle>`.
|
||||
Add the commit before those making changes to the package or module.
|
||||
See [Nixpkgs Maintainers](../maintainers/README.md) for details.
|
||||
|
||||
### Writing good commit messages
|
||||
|
||||
In addition to writing properly formatted commit messages, it's important to include relevant information so other developers can later understand *why* a change was made. While this information usually can be found by digging code, mailing list/Discourse archives, pull request discussions or upstream changes, it may require a lot of work.
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# wafHook {#wafhook}
|
||||
# waf.hook {#wafhook}
|
||||
|
||||
[Waf](https://waf.io) is a Python-based software building system.
|
||||
|
||||
In Nixpkgs, `wafHook` overrides the default configure, build, and install phases.
|
||||
In Nixpkgs, `waf.hook` overrides the default configure, build, and install phases.
|
||||
|
||||
## Variables controlling wafHook {#variablesControllingWafHook}
|
||||
## Variables controlling waf.hook {#variablesControllingWafHook}
|
||||
|
||||
### `wafPath` {#wafPath}
|
||||
|
||||
Location of the `waf` tool. It defaults to `./waf`, to honor software projects that include it directly inside their source trees.
|
||||
|
||||
If `wafPath` doesn't exist, then `wafHook` will copy the `waf` provided from Nixpkgs to it.
|
||||
If `wafPath` doesn't exist, then `waf.hook` will copy the `waf` provided from Nixpkgs to it.
|
||||
|
||||
### `wafConfigureFlags` {#wafConfigureFlags}
|
||||
|
||||
|
@ -36,9 +36,9 @@ When set to true, don't use the predefined `wafBuildPhase`.
|
|||
|
||||
When set to true, don't use the predefined `wafInstallPhase`.
|
||||
|
||||
### Variables honored by wafHook {#variablesHonoredByWafHook}
|
||||
### Variables honored by waf.hook {#variablesHonoredByWafHook}
|
||||
|
||||
The following variables commonly used by `stdenv.mkDerivation` are also honored by `wafHook`.
|
||||
The following variables commonly used by `stdenv.mkDerivation` are also honored by `waf.hook`.
|
||||
|
||||
- `prefixKey`
|
||||
- `configureTargets`
|
||||
|
|
|
@ -5541,11 +5541,11 @@
|
|||
matrix = "@felipeqq2:pub.solar";
|
||||
};
|
||||
felixalbrigtsen = {
|
||||
email = "felixalbrigtsen@gmail.com";
|
||||
email = "felix@albrigtsen.it";
|
||||
github = "felixalbrigtsen";
|
||||
githubId = 64613093;
|
||||
name = "Felix Albrigtsen";
|
||||
matrix = "@felixalb:pvv.ntnu.no";
|
||||
matrix = "@felixalb:feal.no";
|
||||
};
|
||||
felixscheinost = {
|
||||
name = "Felix Scheinost";
|
||||
|
@ -5738,6 +5738,12 @@
|
|||
githubId = 5918766;
|
||||
name = "Franz Thoma";
|
||||
};
|
||||
fogti = {
|
||||
name = "Alain Fogtia Zscheile";
|
||||
email = "fogti+devel@ytrizja.de";
|
||||
github = "fogti";
|
||||
githubId = 1618343;
|
||||
};
|
||||
foo-dogsquared = {
|
||||
email = "foo.dogsquared@gmail.com";
|
||||
github = "foo-dogsquared";
|
||||
|
@ -10498,6 +10504,12 @@
|
|||
githubId = 40720523;
|
||||
name = "MangoIV";
|
||||
};
|
||||
manipuladordedados = {
|
||||
email = "manipuladordedados@gmail.com";
|
||||
github = "manipuladordedados";
|
||||
githubId = 1189862;
|
||||
name = "Valter Nazianzeno";
|
||||
};
|
||||
manojkarthick = {
|
||||
email = "smanojkarthick@gmail.com";
|
||||
github = "manojkarthick";
|
||||
|
@ -15951,6 +15963,15 @@
|
|||
github = "syvb";
|
||||
githubId = 10530973;
|
||||
};
|
||||
smona = {
|
||||
name = "Mel Bourgeois";
|
||||
email = "mason.bourgeois@gmail.com";
|
||||
github = "Smona";
|
||||
githubId = 7091399;
|
||||
keys = [{
|
||||
fingerprint = "897E 6BE3 0345 B43D CADD 05B7 290F CF08 1AED B3EC";
|
||||
}];
|
||||
};
|
||||
sna = {
|
||||
email = "abouzahra.9@wright.edu";
|
||||
github = "S-NA";
|
||||
|
@ -19225,15 +19246,6 @@
|
|||
githubId = 8100652;
|
||||
name = "David Mell";
|
||||
};
|
||||
zseri = {
|
||||
name = "zseri";
|
||||
email = "zseri.devel@ytrizja.de";
|
||||
github = "fogti";
|
||||
githubId = 1618343;
|
||||
keys = [{
|
||||
fingerprint = "7AFB C595 0D3A 77BD B00F 947B 229E 63AE 5644 A96D";
|
||||
}];
|
||||
};
|
||||
ztzg = {
|
||||
email = "dd@crosstwine.com";
|
||||
github = "ztzg";
|
||||
|
|
|
@ -79,6 +79,8 @@
|
|||
|
||||
- `pass` now does not contain `password-store.el`. Users should get `password-store.el` from Emacs lisp package set `emacs.pkgs.password-store`.
|
||||
|
||||
- `mu` now does not install `mu4e` files by default. Users should get `mu4e` from Emacs lisp package set `emacs.pkgs.mu4e`.
|
||||
|
||||
- `mariadb` now defaults to `mariadb_1011` instead of `mariadb_106`, meaning the default version was upgraded from 10.6.x to 10.11.x. See the [upgrade notes](https://mariadb.com/kb/en/upgrading-from-mariadb-10-6-to-mariadb-10-11/) for potential issues.
|
||||
|
||||
- `getent` has been moved from `glibc`'s `bin` output to its own dedicated output, reducing closure size for many dependents. Dependents using the `getent` alias should not be affected; others should move from using `glibc.bin` or `getBin glibc` to `getent` (which also improves compatibility with non-glibc platforms).
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
imports = [ ./installation-cd-graphical-base.nix ];
|
||||
|
||||
isoImage.edition = "gnome";
|
||||
isoImage.graphicalGrub = true;
|
||||
|
||||
services.xserver.desktopManager.gnome = {
|
||||
# Add Firefox and other tools useful for installation to the launcher
|
||||
|
|
|
@ -24,6 +24,9 @@ let
|
|||
# Name appended to menuentry defaults to params if no specific name given.
|
||||
option.name or (optionalString (option ? params) "(${option.params})")
|
||||
}' ${optionalString (option ? class) " --class ${option.class}"} {
|
||||
# Fallback to UEFI console for boot, efifb sometimes has difficulties.
|
||||
terminal_output console
|
||||
|
||||
linux ${defaults.image} \''${isoboot} ${defaults.params} ${
|
||||
option.params or ""
|
||||
}
|
||||
|
@ -185,33 +188,25 @@ let
|
|||
# So instead we'll list a lot of possibly valid modes :/
|
||||
#"3840x2160"
|
||||
#"2560x1440"
|
||||
"1920x1200"
|
||||
"1920x1080"
|
||||
"1366x768"
|
||||
"1280x800"
|
||||
"1280x720"
|
||||
"1200x1920"
|
||||
"1024x768"
|
||||
"800x1280"
|
||||
"800x600"
|
||||
"auto"
|
||||
]}
|
||||
|
||||
# Fonts can be loaded?
|
||||
# (This font is assumed to always be provided as a fallback by NixOS)
|
||||
if loadfont (\$root)/EFI/boot/unicode.pf2; then
|
||||
set with_fonts=true
|
||||
fi
|
||||
if [ "\$textmode" != "true" -a "\$with_fonts" == "true" ]; then
|
||||
# Use graphical term, it can be either with background image or a theme.
|
||||
# input is "console", while output is "gfxterm".
|
||||
# This enables "serial" input and output only when possible.
|
||||
# Otherwise the failure mode is to not even enable gfxterm.
|
||||
if test "\$with_serial" == "yes"; then
|
||||
terminal_output gfxterm serial
|
||||
terminal_input console serial
|
||||
else
|
||||
terminal_output gfxterm
|
||||
terminal_input console
|
||||
fi
|
||||
if [ "\$textmode" == "false" ]; then
|
||||
terminal_output gfxterm
|
||||
terminal_input console
|
||||
else
|
||||
# Sets colors for the non-graphical term.
|
||||
terminal_output console
|
||||
terminal_input console
|
||||
# Sets colors for console term.
|
||||
set menu_color_normal=cyan/blue
|
||||
set menu_color_highlight=white/blue
|
||||
fi
|
||||
|
@ -250,18 +245,58 @@ let
|
|||
touch $out/EFI/nixos-installer-image
|
||||
|
||||
# ALWAYS required modules.
|
||||
MODULES="fat iso9660 part_gpt part_msdos \
|
||||
normal boot linux configfile loopback chain halt \
|
||||
efifwsetup efi_gop \
|
||||
ls search search_label search_fs_uuid search_fs_file \
|
||||
gfxmenu gfxterm gfxterm_background gfxterm_menu test all_video loadenv \
|
||||
exfat ext2 ntfs btrfs hfsplus udf \
|
||||
videoinfo png \
|
||||
echo serial \
|
||||
"
|
||||
MODULES=(
|
||||
# Basic modules for filesystems and partition schemes
|
||||
"fat"
|
||||
"iso9660"
|
||||
"part_gpt"
|
||||
"part_msdos"
|
||||
|
||||
# Basic stuff
|
||||
"normal"
|
||||
"boot"
|
||||
"linux"
|
||||
"configfile"
|
||||
"loopback"
|
||||
"chain"
|
||||
"halt"
|
||||
|
||||
# Allows rebooting into firmware setup interface
|
||||
"efifwsetup"
|
||||
|
||||
# EFI Graphics Output Protocol
|
||||
"efi_gop"
|
||||
|
||||
# User commands
|
||||
"ls"
|
||||
|
||||
# System commands
|
||||
"search"
|
||||
"search_label"
|
||||
"search_fs_uuid"
|
||||
"search_fs_file"
|
||||
"echo"
|
||||
|
||||
# We're not using it anymore, but we'll leave it in so it can be used
|
||||
# by user, with the console using "C"
|
||||
"serial"
|
||||
|
||||
# Graphical mode stuff
|
||||
"gfxmenu"
|
||||
"gfxterm"
|
||||
"gfxterm_background"
|
||||
"gfxterm_menu"
|
||||
"test"
|
||||
"loadenv"
|
||||
"all_video"
|
||||
"videoinfo"
|
||||
|
||||
# File types for graphical mode
|
||||
"png"
|
||||
)
|
||||
|
||||
echo "Building GRUB with modules:"
|
||||
for mod in $MODULES; do
|
||||
for mod in ''${MODULES[@]}; do
|
||||
echo " - $mod"
|
||||
done
|
||||
|
||||
|
@ -270,31 +305,27 @@ let
|
|||
for mod in efi_uga; do
|
||||
if [ -f ${grubPkgs.grub2_efi}/lib/grub/${grubPkgs.grub2_efi.grubTarget}/$mod.mod ]; then
|
||||
echo " - $mod"
|
||||
MODULES+=" $mod"
|
||||
MODULES+=("$mod")
|
||||
fi
|
||||
done
|
||||
|
||||
# Make our own efi program, we can't rely on "grub-install" since it seems to
|
||||
# probe for devices, even with --skip-fs-probe.
|
||||
grub-mkimage --directory=${grubPkgs.grub2_efi}/lib/grub/${grubPkgs.grub2_efi.grubTarget} -o $out/EFI/boot/boot${targetArch}.efi -p /EFI/boot -O ${grubPkgs.grub2_efi.grubTarget} \
|
||||
$MODULES
|
||||
grub-mkimage \
|
||||
--directory=${grubPkgs.grub2_efi}/lib/grub/${grubPkgs.grub2_efi.grubTarget} \
|
||||
-o $out/EFI/boot/boot${targetArch}.efi \
|
||||
-p /EFI/boot \
|
||||
-O ${grubPkgs.grub2_efi.grubTarget} \
|
||||
''${MODULES[@]}
|
||||
cp ${grubPkgs.grub2_efi}/share/grub/unicode.pf2 $out/EFI/boot/
|
||||
|
||||
cat <<EOF > $out/EFI/boot/grub.cfg
|
||||
|
||||
set with_fonts=false
|
||||
set textmode=${boolToString (!config.isoImage.graphicalGrub)}
|
||||
# If you want to use serial for "terminal_*" commands, you need to set one up:
|
||||
# Example manual configuration:
|
||||
# → serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
||||
# This uses the defaults, and makes the serial terminal available.
|
||||
set with_serial=no
|
||||
if serial; then set with_serial=yes ;fi
|
||||
export with_serial
|
||||
clear
|
||||
set textmode=${boolToString (config.isoImage.forceTextMode)}
|
||||
set timeout=${toString grubEfiTimeout}
|
||||
|
||||
# This message will only be viewable when "gfxterm" is not used.
|
||||
clear
|
||||
# This message will only be viewable on the default (UEFI) console.
|
||||
echo ""
|
||||
echo "Loading graphical boot menu..."
|
||||
echo ""
|
||||
|
@ -306,7 +337,7 @@ let
|
|||
hiddenentry 'Text mode' --hotkey 't' {
|
||||
loadfont (\$root)/EFI/boot/unicode.pf2
|
||||
set textmode=true
|
||||
terminal_output gfxterm console
|
||||
terminal_output console
|
||||
}
|
||||
hiddenentry 'GUI mode' --hotkey 'g' {
|
||||
$(find ${config.isoImage.grubTheme} -iname '*.pf2' -printf "loadfont (\$root)/EFI/boot/grub-theme/%P\n")
|
||||
|
@ -400,6 +431,8 @@ let
|
|||
}
|
||||
EOF
|
||||
|
||||
grub-script-check $out/EFI/boot/grub.cfg
|
||||
|
||||
${refind}
|
||||
'';
|
||||
|
||||
|
@ -658,13 +691,17 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
isoImage.graphicalGrub = mkOption {
|
||||
isoImage.forceTextMode = mkOption {
|
||||
default = false;
|
||||
type = types.bool;
|
||||
example = true;
|
||||
description = lib.mdDoc ''
|
||||
Whether to use textmode or graphical grub.
|
||||
false means we use textmode grub.
|
||||
Whether to use text mode instead of graphical grub.
|
||||
A value of `true` means graphical mode is not tried to be used.
|
||||
|
||||
This is useful for validating that graphics mode usage is not at the root cause of a problem with the iso image.
|
||||
|
||||
If text mode is required off-handedly (e.g. for serial use) you can use the `T` key, after being prompted, to use text mode for the current boot.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ in {
|
|||
description = lib.mdDoc ''
|
||||
Configuration for `auto-cpufreq`.
|
||||
|
||||
See its [example configuration file] for supported settings.
|
||||
[example configuration file]: https://github.com/AdnanHodzic/auto-cpufreq/blob/master/auto-cpufreq.conf-example
|
||||
The available options can be found in [the example configuration file](https://github.com/AdnanHodzic/auto-cpufreq/blob/v${pkgs.auto-cpufreq.version}/auto-cpufreq.conf-example).
|
||||
'';
|
||||
|
||||
default = {};
|
||||
|
@ -35,6 +34,7 @@ in {
|
|||
wantedBy = [ "multi-user.target" ];
|
||||
path = with pkgs; [ bash coreutils ];
|
||||
|
||||
serviceConfig.WorkingDirectory = "";
|
||||
serviceConfig.ExecStart = [
|
||||
""
|
||||
"${lib.getExe pkgs.auto-cpufreq} --daemon --config ${cfgFile}"
|
||||
|
@ -42,4 +42,7 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
# uses attributes of the linked package
|
||||
meta.buildDocsInSandbox = false;
|
||||
}
|
||||
|
|
|
@ -115,9 +115,9 @@ in {
|
|||
user = "grocy";
|
||||
group = "nginx";
|
||||
|
||||
# PHP 8.1 is the only version which is supported/tested by upstream:
|
||||
# https://github.com/grocy/grocy/blob/v4.0.0/README.md#platform-support
|
||||
phpPackage = pkgs.php81;
|
||||
# PHP 8.1 and 8.2 are the only version which are supported/tested by upstream:
|
||||
# https://github.com/grocy/grocy/blob/v4.0.2/README.md#platform-support
|
||||
phpPackage = pkgs.php82;
|
||||
|
||||
inherit (cfg.phpfpm) settings;
|
||||
|
||||
|
@ -130,6 +130,16 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# After an update of grocy, the viewcache needs to be deleted. Otherwise grocy will not work
|
||||
# https://github.com/grocy/grocy#how-to-update
|
||||
systemd.services.grocy-setup = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "phpfpm-grocy.service" ];
|
||||
script = ''
|
||||
rm -rf ${cfg.dataDir}/viewcache/*
|
||||
'';
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."${cfg.hostName}" = mkMerge [
|
||||
|
|
|
@ -333,6 +333,14 @@ in {
|
|||
visible = "shallow";
|
||||
description = lib.mdDoc "Definition of slice configurations.";
|
||||
};
|
||||
|
||||
enableTpm2 = mkOption {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = lib.mdDoc ''
|
||||
Whether to enable TPM2 support in the initrd.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf (config.boot.initrd.enable && cfg.enable) {
|
||||
|
@ -342,8 +350,8 @@ in {
|
|||
# systemd needs this for some features
|
||||
"autofs4"
|
||||
# systemd-cryptenroll
|
||||
"tpm-tis"
|
||||
] ++ lib.optional (pkgs.stdenv.hostPlatform.system != "riscv64-linux") "tpm-crb";
|
||||
] ++ lib.optional cfg.enableTpm2 "tpm-tis"
|
||||
++ lib.optional (cfg.enableTpm2 && pkgs.stdenv.hostPlatform.system != "riscv64-linux") "tpm-crb";
|
||||
|
||||
boot.initrd.systemd = {
|
||||
initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages;
|
||||
|
@ -421,11 +429,11 @@ in {
|
|||
|
||||
# so NSS can look up usernames
|
||||
"${pkgs.glibc}/lib/libnss_files.so.2"
|
||||
] ++ optionals cfg.package.withCryptsetup [
|
||||
] ++ optionals (cfg.package.withCryptsetup && cfg.enableTpm2) [
|
||||
# tpm2 support
|
||||
"${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-tpm2.so"
|
||||
pkgs.tpm2-tss
|
||||
|
||||
] ++ optionals cfg.package.withCryptsetup [
|
||||
# fido2 support
|
||||
"${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-fido2.so"
|
||||
"${pkgs.libfido2}/lib/libfido2.so.1"
|
||||
|
|
|
@ -33,7 +33,10 @@ let
|
|||
|
||||
echo '${userPassword}' | ${pkgs.toot}/bin/toot login_cli -i "akkoma.nixos.test" -e "jamy@nixos.test"
|
||||
echo "y" | ${pkgs.toot}/bin/toot post "hello world Jamy here"
|
||||
echo "y" | ${pkgs.toot}/bin/toot timeline | grep -F -q "hello world Jamy here"
|
||||
|
||||
# Retrieving timeline with toot currently broken due to incompatible timestamp format
|
||||
# cf. <https://akkoma.dev/AkkomaGang/akkoma/issues/637> and <https://github.com/ihabunek/toot/issues/399>
|
||||
#echo "y" | ${pkgs.toot}/bin/toot timeline | grep -F -q "hello world Jamy here"
|
||||
|
||||
# Test file upload
|
||||
echo "y" | ${pkgs.toot}/bin/toot upload <(dd if=/dev/zero bs=1024 count=1024 status=none) \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkg-config
|
||||
, wafHook, python3 }:
|
||||
, waf, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ams-lv2";
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wafHook python3 ];
|
||||
nativeBuildInputs = [ pkg-config waf.hook python3 ];
|
||||
buildInputs = [ cairo fftw gtkmm2 lv2 lvtk ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
, suil
|
||||
, taglib
|
||||
, vamp-plugin-sdk
|
||||
, wafHook
|
||||
, waf
|
||||
, xjadeo
|
||||
, videoSupport ? true
|
||||
}:
|
||||
|
@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
|
|||
perl
|
||||
pkg-config
|
||||
python3
|
||||
wafHook
|
||||
waf.hook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
, suil
|
||||
, taglib
|
||||
, vamp-plugin-sdk
|
||||
, wafHook
|
||||
, waf
|
||||
, xjadeo
|
||||
, videoSupport ? true
|
||||
}:
|
||||
|
@ -100,7 +100,7 @@ stdenv.mkDerivation rec {
|
|||
perl
|
||||
pkg-config
|
||||
python3
|
||||
wafHook
|
||||
waf.hook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -3,55 +3,79 @@
|
|||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, rofi
|
||||
, tmux
|
||||
, fzf
|
||||
, mpc-cli
|
||||
, perl
|
||||
, util-linux
|
||||
, python3Packages
|
||||
, libnotify
|
||||
, perlPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "clerk";
|
||||
version = "unstable-2016-10-14";
|
||||
version = "unstable-2023-01-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "carnager";
|
||||
repo = "clerk";
|
||||
rev = "875963bcae095ac1db174627183c76ebe165f787";
|
||||
sha256 = "0y045my65hr3hjyx13jrnyg6g3wb41phqb1m7azc4l6vx6r4124b";
|
||||
rev = "90c0e702fc4f8b65f0ced7b8944c063629e3686d";
|
||||
hash = "sha256-nkm1vJaWgN8gOkmAbsjPfstax8TwUSkEzYKJ1iEz1hM";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace clerk_rating_client.service \
|
||||
--replace "/usr" "$out"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ python3Packages.mpd2 ];
|
||||
|
||||
buildInputs = with perlPackages; [
|
||||
perl
|
||||
DataMessagePack
|
||||
DataSectionSimple
|
||||
ConfigSimple
|
||||
TryTiny
|
||||
IPCRun
|
||||
HTTPDate
|
||||
FileSlurper
|
||||
ArrayUtils
|
||||
NetMPD
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
installPhase =
|
||||
let
|
||||
binPath = lib.makeBinPath [
|
||||
libnotify
|
||||
mpc-cli
|
||||
perl
|
||||
rofi
|
||||
util-linux
|
||||
];
|
||||
in
|
||||
''
|
||||
runHook preInstall
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
DESTDIR=$out PREFIX=/ make install
|
||||
wrapProgram $out/bin/clerk --prefix PATH : "${binPath}"
|
||||
install -D clerk.pl $out/bin/clerk
|
||||
install -D clerk_rating_client $out/bin/clerk_rating_client
|
||||
install -D clerk_rating_client.service $out/lib/systemd/user/clerk_rating_client.service
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
postFixup = let
|
||||
binPath = lib.makeBinPath [
|
||||
libnotify
|
||||
mpc-cli
|
||||
rofi
|
||||
tmux
|
||||
fzf
|
||||
util-linux
|
||||
];
|
||||
in
|
||||
''
|
||||
wrapProgram $out/bin/clerk --set PERL5LIB $PERL5LIB --prefix PATH : "${binPath}"
|
||||
wrapProgram $out/bin/clerk_rating_client --set PERL5LIB $PERL5LIB --prefix PATH : "${binPath}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An MPD client built on top of rofi";
|
||||
description = "An MPD client based on rofi/fzf";
|
||||
homepage = "https://github.com/carnager/clerk";
|
||||
license = licenses.mit;
|
||||
broken = true; # not compatible with current version of rofi
|
||||
maintainers = with maintainers; [ anderspapitto ];
|
||||
maintainers = with maintainers; [ anderspapitto rewine ];
|
||||
mainProgram = "clerk";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, lv2, pkg-config, python3, wafHook }:
|
||||
{ lib, stdenv, fetchurl, lv2, pkg-config, python3, waf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fomp";
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-xnGijydiO3B7BjSlryFuH1j/OPio9hCYbniq2IXp2W8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wafHook ];
|
||||
nativeBuildInputs = [ pkg-config waf.hook ];
|
||||
buildInputs = [ lv2 python3 ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
, serd
|
||||
, sord
|
||||
, sratom
|
||||
, wafHook
|
||||
, waf
|
||||
, wrapGAppsHook
|
||||
, zita-convolver
|
||||
, zita-resampler
|
||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
|||
intltool
|
||||
pkg-config
|
||||
python3
|
||||
wafHook
|
||||
waf.hook
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchgit, boost, ganv, glibmm, gtkmm2, libjack2, lilv
|
||||
, lv2, pkg-config, python3, raul, serd, sord, sratom
|
||||
, wafHook
|
||||
, waf
|
||||
, suil
|
||||
}:
|
||||
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
deepClone = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wafHook python3 python3.pkgs.wrapPython ];
|
||||
nativeBuildInputs = [ pkg-config waf.hook python3 python3.pkgs.wrapPython ];
|
||||
buildInputs = [
|
||||
boost ganv glibmm gtkmm2 libjack2 lilv lv2
|
||||
python3 raul serd sord sratom suil
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchurl, gtk2, libjack2, lilv, lv2, pkg-config, python3
|
||||
, serd, sord , sratom, suil, wafHook }:
|
||||
, serd, sord , sratom, suil, waf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jalv";
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-ktFBeBtmQ3MgfDQ868XpuM7UYfryb9zLld8AB7BjnhY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wafHook ];
|
||||
nativeBuildInputs = [ pkg-config waf.hook ];
|
||||
buildInputs = [
|
||||
gtk2 libjack2 lilv lv2 python3 serd sord sratom suil
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, fftwSinglePrec, lv2, pkg-config, wafHook, python3 }:
|
||||
{ lib, stdenv, fetchurl, fftwSinglePrec, lv2, pkg-config, waf, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mda-lv2";
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-zWYRcCSuBJzzrKg/npBKcCdyJOI6lp9yqcXQEKSYV9s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wafHook python3 ];
|
||||
nativeBuildInputs = [ pkg-config waf.hook python3 ];
|
||||
buildInputs = [ fftwSinglePrec lv2 ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -2,16 +2,19 @@
|
|||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "mopidy-soundcloud";
|
||||
version = "3.0.1";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mopidy";
|
||||
repo = "mopidy-soundcloud";
|
||||
rev = "v${version}";
|
||||
sha256 = "18wiiv4rca9vibvnc27f3q4apf8n61kbp7mdbm2pmz86qwmd47pa";
|
||||
sha256 = "sha256-1Qqbfw6NZ+2K1w+abMBfWo0RAmIRbNyIErEmalmWJ0s=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mopidy ];
|
||||
propagatedBuildInputs = [
|
||||
mopidy
|
||||
pythonPackages.beautifulsoup4
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ python3Packages.buildPythonApplication rec {
|
|||
description = "Mopidy extension for playing music from Tidal";
|
||||
homepage = "https://github.com/tehkillerbee/mopidy-tidal";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.rodrgz ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mympd";
|
||||
version = "11.0.4";
|
||||
version = "11.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jcorporation";
|
||||
repo = "myMPD";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-uDr0QyyYROpaWQ7sv/JeI9IHwdJaFWorIqWMHs5XKU4=";
|
||||
sha256 = "sha256-m+EO3+vVqX7/SNvbQrJVjhG53Q20f6cEJ2HNUdWeeiw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, python3, cairo, libjpeg, ntk, libjack2
|
||||
, libsndfile, ladspaH, liblo, libsigcxx, lrdf, wafHook
|
||||
, libsndfile, ladspaH, liblo, libsigcxx, lrdf, waf
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||
sha256 = "sha256-iMJNMDytNXpEkUhL0RILSd25ixkm8HL/edtOZta0Pf4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wafHook ];
|
||||
nativeBuildInputs = [ pkg-config waf.hook ];
|
||||
buildInputs = [ python3 cairo libjpeg ntk libjack2 libsndfile
|
||||
ladspaH liblo libsigcxx lrdf
|
||||
];
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
, libjack2
|
||||
, pkg-config
|
||||
, python3
|
||||
, wafHook
|
||||
, waf
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||
gtkmm2
|
||||
libjack2
|
||||
python3
|
||||
wafHook
|
||||
waf.hook
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, tag ? ""
|
||||
|
||||
# build time
|
||||
# build time
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, wrapGAppsHook
|
||||
|
||||
# runtime
|
||||
# runtime
|
||||
, adwaita-icon-theme
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
|
@ -23,20 +22,22 @@
|
|||
, libsoup
|
||||
, webkitgtk
|
||||
|
||||
# optional features
|
||||
# optional features
|
||||
, withDbusPython ? false
|
||||
, withPypresence ? false
|
||||
, withPyInotify ? false
|
||||
, withMusicBrainzNgs ? false
|
||||
, withPahoMqtt ? false
|
||||
, withPyInotify ? false
|
||||
, withPypresence ? false
|
||||
, withSoco ? false
|
||||
|
||||
# backends
|
||||
, withGstreamerBackend ? true, gst_all_1
|
||||
# backends
|
||||
, withGstPlugins ? withGstreamerBackend
|
||||
, withXineBackend ? true, xine-lib
|
||||
, withGstreamerBackend ? true
|
||||
, gst_all_1
|
||||
, withXineBackend ? true
|
||||
, xine-lib
|
||||
|
||||
# tests
|
||||
# tests
|
||||
, dbus
|
||||
, glibcLocales
|
||||
, hicolor-icon-theme
|
||||
|
@ -46,36 +47,25 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "quodlibet${tag}";
|
||||
version = "4.5.0";
|
||||
version = "4.6.0";
|
||||
format = "pyproject";
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quodlibet";
|
||||
repo = "quodlibet";
|
||||
rev = "refs/tags/release-${version}";
|
||||
hash = "sha256-G6zcdnHkevbVCrMoseWoSia5ajEor8nZhee6NeZIs8Q=";
|
||||
hash = "sha256-dkO/CFN7Dk72xhtmcSDcwUciOPMeEjQS2mch+jSfiII=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Fixes cover globbing under python 3.10.5+
|
||||
url = "https://github.com/quodlibet/quodlibet/commit/5eb7c30766e1dcb30663907664855ee94a3accc0.patch";
|
||||
hash = "sha256-bDyEOE7Vs4df4BeN4QMvt6niisVEpvc1onmX5rtoAWc=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
gobject-introspection
|
||||
wrapGAppsHook
|
||||
] ++ (with python3.pkgs; [
|
||||
sphinxHook
|
||||
sphinx-rtd-theme
|
||||
sphinxHook
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
|
@ -111,14 +101,12 @@ python3.pkgs.buildPythonApplication rec {
|
|||
pygobject3
|
||||
]
|
||||
++ lib.optionals withDbusPython [ dbus-python ]
|
||||
++ lib.optionals withPypresence [ pypresence ]
|
||||
++ lib.optionals withPyInotify [ pyinotify ]
|
||||
++ lib.optionals withMusicBrainzNgs [ musicbrainzngs ]
|
||||
++ lib.optionals withPahoMqtt [ paho-mqtt ]
|
||||
++ lib.optionals withPyInotify [ pyinotify ]
|
||||
++ lib.optionals withPypresence [ pypresence ]
|
||||
++ lib.optionals withSoco [ soco ];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
nativeCheckInputs = [
|
||||
dbus
|
||||
gdk-pixbuf
|
||||
|
@ -132,23 +120,23 @@ python3.pkgs.buildPythonApplication rec {
|
|||
]);
|
||||
|
||||
pytestFlags = [
|
||||
# requires networking
|
||||
"--deselect=tests/test_browsers_iradio.py::TIRFile::test_download_tags"
|
||||
# missing translation strings in potfiles
|
||||
"--deselect=tests/test_po.py::TPOTFILESIN::test_missing"
|
||||
# require networking
|
||||
"--deselect=tests/plugin/test_covers.py::test_live_cover_download"
|
||||
"--deselect=tests/test_browsers_iradio.py::TInternetRadio::test_click_add_station"
|
||||
# upstream does actually not enforce source code linting
|
||||
"--ignore=tests/quality"
|
||||
# build failure on Arch Linux
|
||||
# https://github.com/NixOS/nixpkgs/pull/77796#issuecomment-575841355
|
||||
"--ignore=tests/test_operon.py"
|
||||
] ++ lib.optionals (withXineBackend || !withGstPlugins) [
|
||||
"--ignore=tests/plugin/test_replaygain.py"
|
||||
];
|
||||
|
||||
env.LC_ALL = "en_US.UTF-8";
|
||||
|
||||
preCheck = ''
|
||||
export XDG_DATA_DIRS="$out/share:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_ICON_DIRS:$XDG_DATA_DIRS"
|
||||
export GDK_PIXBUF_MODULE_FILE=${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
export HOME=$(mktemp -d)
|
||||
export XDG_DATA_DIRS="$out/share:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_ICON_DIRS:$XDG_DATA_DIRS"
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -167,8 +155,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "GTK-based audio player written in Python, using the Mutagen tagging library";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
longDescription = ''
|
||||
Quod Libet is a GTK-based audio player written in Python, using
|
||||
the Mutagen tagging library. It's designed around the idea that
|
||||
|
@ -182,8 +168,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||
player, like Unicode support, tag editing, Replay Gain, podcasts
|
||||
& internet radio, and all major audio formats.
|
||||
'';
|
||||
|
||||
maintainers = with maintainers; [ coroa pbogdan ];
|
||||
homepage = "https://quodlibet.readthedocs.io/en/latest/";
|
||||
homepage = "https://quodlibet.readthedocs.io/en/latest";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ coroa paveloom pbogdan ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, fetchurl, appimageTools, }:
|
||||
{ lib, fetchurl, appimageTools, makeWrapper }:
|
||||
|
||||
let
|
||||
pname = "youtube-music";
|
||||
|
@ -11,13 +11,16 @@ let
|
|||
|
||||
appimageContents = appimageTools.extract { inherit pname version src; };
|
||||
in
|
||||
appimageTools.wrapType2 rec {
|
||||
(appimageTools.wrapType2 rec {
|
||||
inherit pname version src;
|
||||
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs)
|
||||
++ [ pkgs.libappindicator ];
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/{${pname}-${version},${pname}}
|
||||
wrapProgram "$out/bin/${pname}" \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-features=WaylandWindowDecorations}}"
|
||||
|
||||
install -m 444 \
|
||||
-D ${appimageContents}/youtube-music.desktop \
|
||||
-t $out/share/applications
|
||||
|
@ -36,4 +39,6 @@ appimageTools.wrapType2 rec {
|
|||
maintainers = [ maintainers.aacebedo ];
|
||||
mainProgram = "youtube-music";
|
||||
};
|
||||
}
|
||||
}).overrideAttrs ({ nativeBuildInputs ? [ ], ... }: {
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ makeWrapper ];
|
||||
})
|
||||
|
|
|
@ -22,11 +22,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clightning";
|
||||
version = "23.05.2";
|
||||
version = "23.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
|
||||
sha256 = "sha256-Tj5ybVaxpk5wmOw85LkeU4pgM9NYl6SnmDG2gyXrTHw=";
|
||||
sha256 = "sha256-kersWWGytZmdVbpgezrWyjfb4jeG5dShk/CUb5hpiqA=";
|
||||
};
|
||||
|
||||
# when building on darwin we need dawin.cctools to provide the correct libtool
|
||||
|
|
|
@ -61,6 +61,8 @@ in
|
|||
_map = self.map;
|
||||
};
|
||||
|
||||
mu4e = callPackage ./manual-packages/mu4e { };
|
||||
|
||||
ott-mode = callPackage ./manual-packages/ott-mode { };
|
||||
|
||||
perl-completion = callPackage ./manual-packages/perl-completion { };
|
||||
|
|
|
@ -8,6 +8,8 @@ trivialBuild {
|
|||
hash = "sha256-JCrmS3FSGDHSR+eAR0X/uO0nAgd3TUmFxwEVH5+KV+4=";
|
||||
};
|
||||
|
||||
version = "1.1.2";
|
||||
|
||||
meta = {
|
||||
description = "Like caps-lock, but for your control key. Give your pinky a rest!";
|
||||
homepage = "https://www.emacswiki.org/emacs/control-lock.el";
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
{ elpaBuild, mu }:
|
||||
|
||||
let
|
||||
pname = "mu4e";
|
||||
version = mu.mu4e.version;
|
||||
in
|
||||
elpaBuild {
|
||||
inherit pname version;
|
||||
|
||||
src = mu.mu4e;
|
||||
|
||||
propagatedUserEnvPkgs = [ mu ];
|
||||
|
||||
dontUnpack = false;
|
||||
|
||||
# prepare a multi-file package tar archive according to info
|
||||
# "(elisp) Multi-file Packages" for elpaBuild to install
|
||||
postUnpack = ''
|
||||
pushd mu-*-mu4e
|
||||
local content_directory=${pname}-${version}
|
||||
mkdir $content_directory
|
||||
cp --verbose share/emacs/site-lisp/mu4e/*.el $content_directory/
|
||||
rm --verbose --force $content_directory/mu4e-autoloads.el
|
||||
cp --verbose share/info/* $content_directory/
|
||||
src=$PWD/$content_directory.tar
|
||||
tar --create --verbose --file=$src $content_directory
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = mu.meta // {
|
||||
description = "A full-featured e-mail client";
|
||||
};
|
||||
}
|
|
@ -10,6 +10,8 @@ trivialBuild {
|
|||
sha256 = "0x6qsgs4hm87k0z9q3g4p6508kc3y123j5jayll3jf3lcl2vm6ks";
|
||||
};
|
||||
|
||||
version = "1.10";
|
||||
|
||||
meta = {
|
||||
broken = true;
|
||||
description = "Minor mode provides useful features for editing perl codes";
|
||||
|
|
|
@ -1,24 +1,37 @@
|
|||
{ lib, fetchurl, pkg-config, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cmake
|
||||
, hunspell
|
||||
, qtbase
|
||||
, qtmultimedia
|
||||
, qttools
|
||||
, qt5compat
|
||||
, qtwayland
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "focuswriter";
|
||||
version = "1.7.6";
|
||||
version = "1.8.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
||||
sha256 = "0h85f6cs9zbxv118mjfxqfv41j19zkx2xq36mpnlmrlzkjj7dx9l";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gottcode";
|
||||
repo = "focuswriter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6wvTlC/NCCcN2jpwqtoOsCln3ViY/vj7NpMsbYHBGiI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config qmake qttools ];
|
||||
buildInputs = [ hunspell qtbase qtmultimedia ];
|
||||
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
|
||||
buildInputs = [ hunspell qtbase qtmultimedia qt5compat qtwayland ];
|
||||
|
||||
qmakeFlags = [ "PREFIX=/" ];
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple, distraction-free writing environment";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ madjar ];
|
||||
maintainers = with maintainers; [ madjar kashw2 ];
|
||||
platforms = platforms.linux;
|
||||
homepage = "https://gottcode.org/focuswriter/";
|
||||
};
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
, postgresql
|
||||
, nodejs
|
||||
, mkYarnModules
|
||||
, fetchYarnDeps
|
||||
, qmake
|
||||
, server ? false # build server version
|
||||
, sqlite
|
||||
|
@ -64,11 +65,14 @@ let
|
|||
sha256 = "sha256-ULyWdSgGPSAwMt0t4QPuzeUE6Bo6IJh+5BMgW1bFN+Y=";
|
||||
};
|
||||
|
||||
panmirrorModules = mkYarnModules {
|
||||
panmirrorModules = mkYarnModules rec {
|
||||
inherit pname version;
|
||||
packageJSON = ./package.json;
|
||||
yarnLock = ./yarn.lock;
|
||||
yarnNix = ./yarndeps.nix;
|
||||
yarnLock = "${src}/src/gwt/panmirror/src/editor/yarn.lock";
|
||||
offlineCache = fetchYarnDeps {
|
||||
inherit yarnLock;
|
||||
hash = "sha256-v05Up6VMlYlvgUYQVYo+YfpcsMohliNfMgyjq6QymCI=";
|
||||
};
|
||||
};
|
||||
|
||||
description = "Set of integrated tools for the R language";
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,12 +1,12 @@
|
|||
{ lib, fetchFromGitHub }:
|
||||
rec {
|
||||
version = "9.0.1642";
|
||||
version = "9.0.1811";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vim";
|
||||
repo = "vim";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WWj8lZZtnGrv3pxu77otBKixS3ciLcznCyPk/iGryg4=";
|
||||
hash = "sha256-b/fATWaHcIZIvkmr/UQ4R45ii9N0kWJMb7DerF/JYIA=";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,12 +5,12 @@
|
|||
{
|
||||
ada = buildGrammar {
|
||||
language = "ada";
|
||||
version = "0.0.0+rev=0f572c4";
|
||||
version = "0.0.0+rev=f21f13a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "briot";
|
||||
repo = "tree-sitter-ada";
|
||||
rev = "0f572c4dccac8cd6a149bbc88c9d8423e9c71ce9";
|
||||
hash = "sha256-LNpzqyafrh1JKj0VXaq3Hf3IZHqM1UcUAXy2xVXeSEQ=";
|
||||
rev = "f21f13afe0410311be1f78959a25aee393c569c9";
|
||||
hash = "sha256-Qnw1skHo9Wy88WEXAxfV4kkD4v9rdvLmu/++raLIges=";
|
||||
};
|
||||
meta.homepage = "https://github.com/briot/tree-sitter-ada";
|
||||
};
|
||||
|
@ -126,12 +126,12 @@
|
|||
};
|
||||
blueprint = buildGrammar {
|
||||
language = "blueprint";
|
||||
version = "0.0.0+rev=7f1a5df";
|
||||
version = "0.0.0+rev=863cea9";
|
||||
src = fetchFromGitLab {
|
||||
owner = "gabmus";
|
||||
repo = "tree-sitter-blueprint";
|
||||
rev = "7f1a5df44861291d6951b6b2146a9fef4c226e14";
|
||||
hash = "sha256-ihbcrDRMA+jGs7ZmDU1j9PwTEYY6SyMhC0vgmh1Om6Y=";
|
||||
rev = "863cea9f83ad5637300478e0559262f1e791684b";
|
||||
hash = "sha256-QbkwdqH4Q+bqsp7XawUNXR45ROxfpMf+goCBFTw07I4=";
|
||||
};
|
||||
meta.homepage = "https://gitlab.com/gabmus/tree-sitter-blueprint.git";
|
||||
};
|
||||
|
@ -348,12 +348,12 @@
|
|||
};
|
||||
devicetree = buildGrammar {
|
||||
language = "devicetree";
|
||||
version = "0.0.0+rev=d2cc332";
|
||||
version = "0.0.0+rev=cc26cbf";
|
||||
src = fetchFromGitHub {
|
||||
owner = "joelspadin";
|
||||
repo = "tree-sitter-devicetree";
|
||||
rev = "d2cc332aeb814ea40e1e34ed6b9446324b32612a";
|
||||
hash = "sha256-iDiG6pNfALxy7nKyjuHfI9HW5/KElW/6zYguPaiMrzY=";
|
||||
rev = "cc26cbf2121a27eaa72a05a795ce38aba4e0f86e";
|
||||
hash = "sha256-r23ycLCR79Ow4eI8rK03B3M1loU8/7K8dDrqBIPSAS0=";
|
||||
};
|
||||
meta.homepage = "https://github.com/joelspadin/tree-sitter-devicetree";
|
||||
};
|
||||
|
@ -768,12 +768,12 @@
|
|||
};
|
||||
gpg = buildGrammar {
|
||||
language = "gpg";
|
||||
version = "0.0.0+rev=c44ce76";
|
||||
version = "0.0.0+rev=9c26b66";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ObserverOfTime";
|
||||
repo = "tree-sitter-gpg-config";
|
||||
rev = "c44ce76960114352dd00728b835ceef02e0506b8";
|
||||
hash = "sha256-EDkmwHzRwf3x5LMsnOnhj+AbYLKF3dy/t4sGxuIWnYg=";
|
||||
rev = "9c26b66d6bca0bd0520269e98241709806561bd5";
|
||||
hash = "sha256-OybtJVKiQYpftPA+jMyOjswxtkLHvqqyLbmZkKkBFZc=";
|
||||
};
|
||||
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-gpg-config";
|
||||
};
|
||||
|
@ -900,12 +900,12 @@
|
|||
};
|
||||
hoon = buildGrammar {
|
||||
language = "hoon";
|
||||
version = "0.0.0+rev=900a272";
|
||||
version = "0.0.0+rev=1d5df35";
|
||||
src = fetchFromGitHub {
|
||||
owner = "urbit-pilled";
|
||||
repo = "tree-sitter-hoon";
|
||||
rev = "900a272271cc2fb78f24aa7b5a1e21ed36bb1d39";
|
||||
hash = "sha256-g2jBCZjsEsWG+LCAGj7b/t5mOET5/mVN39+/HDRUBCk=";
|
||||
rev = "1d5df35af3e0afe592832a67b9fb3feeeba1f7b6";
|
||||
hash = "sha256-2xrpyA5JCibGxaJkRmcgNreFHcCvJaYkHThSc6KAV1U=";
|
||||
};
|
||||
meta.homepage = "https://github.com/urbit-pilled/tree-sitter-hoon";
|
||||
};
|
||||
|
@ -988,12 +988,12 @@
|
|||
};
|
||||
java = buildGrammar {
|
||||
language = "java";
|
||||
version = "0.0.0+rev=ca4afaa";
|
||||
version = "0.0.0+rev=83044af";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-java";
|
||||
rev = "ca4afaaa41dd7735b35edc0a77629cf932e95799";
|
||||
hash = "sha256-b87WFvpboNcQUt3W7tbsfkxzIfc27D0djBgMiF68/EA=";
|
||||
rev = "83044af4950e9f1adb46a20f616d10934930ce7e";
|
||||
hash = "sha256-i3j55vAQV5TaMR7IsUkh0OrLCP95Xos0UCI0SoY5phI=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-java";
|
||||
};
|
||||
|
@ -1076,12 +1076,12 @@
|
|||
};
|
||||
julia = buildGrammar {
|
||||
language = "julia";
|
||||
version = "0.0.0+rev=bb7e587";
|
||||
version = "0.0.0+rev=0c088d1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tree-sitter";
|
||||
repo = "tree-sitter-julia";
|
||||
rev = "bb7e587837fdeda74dd510256253d60f59a1e2cd";
|
||||
hash = "sha256-rtv2rNBUYcp8vwicMbX2ZQBB1vH7SKc+Lsc0LF1oFYA=";
|
||||
rev = "0c088d1ad270f02c4e84189247ac7001e86fe342";
|
||||
hash = "sha256-WEmuLNUoOyWkcDlVcf8ucdraPEi+gClAw8z9Gx51gpo=";
|
||||
};
|
||||
meta.homepage = "https://github.com/tree-sitter/tree-sitter-julia";
|
||||
};
|
||||
|
@ -1754,12 +1754,12 @@
|
|||
};
|
||||
requirements = buildGrammar {
|
||||
language = "requirements";
|
||||
version = "0.0.0+rev=56ddb4d";
|
||||
version = "0.0.0+rev=eda424e";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ObserverOfTime";
|
||||
repo = "tree-sitter-requirements";
|
||||
rev = "56ddb4dad2ea0761d20c0995a0de2990caa350b5";
|
||||
hash = "sha256-0q7cyv/a9gZG00tyBcF2i9TUcj3TqAi89CWjbzszD7U=";
|
||||
rev = "eda424eade0f2afbafbf0c89d18c77818fa19273";
|
||||
hash = "sha256-cZjj17316Cnz/A+7K3f81H/iedrlu0IDTdDLkXThcnQ=";
|
||||
};
|
||||
meta.homepage = "https://github.com/ObserverOfTime/tree-sitter-requirements";
|
||||
};
|
||||
|
@ -2210,6 +2210,18 @@
|
|||
};
|
||||
meta.homepage = "https://github.com/Philipp-M/tree-sitter-ungrammar";
|
||||
};
|
||||
unison = buildGrammar {
|
||||
language = "unison";
|
||||
version = "0.0.0+rev=694c8c0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kylegoetz";
|
||||
repo = "tree-sitter-unison";
|
||||
rev = "694c8c0c79f8d1b80d497401acf4d1b77bfb004a";
|
||||
hash = "sha256-g8g/YUKabxWwN+w0akMYMu0fFOkUHGAN44CVDOfPqI4=";
|
||||
};
|
||||
generate = true;
|
||||
meta.homepage = "https://github.com/kylegoetz/tree-sitter-unison";
|
||||
};
|
||||
usd = buildGrammar {
|
||||
language = "usd";
|
||||
version = "0.0.0+rev=718a6b3";
|
||||
|
@ -2334,12 +2346,12 @@
|
|||
};
|
||||
wing = buildGrammar {
|
||||
language = "wing";
|
||||
version = "0.0.0+rev=ca6d5be";
|
||||
version = "0.0.0+rev=f1446e7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "winglang";
|
||||
repo = "wing";
|
||||
rev = "ca6d5bea6c7cf5d16ca65f9ee223d2d3457ab2ec";
|
||||
hash = "sha256-RKDIfU82b58DEDXLte4TTuzTtN44MClyBJQwSuQ8YFo=";
|
||||
rev = "f1446e78183df1d12f864c3e514b24c1b00c0a47";
|
||||
hash = "sha256-f19KOuce+Ls/Mmb0hnxVrDOc4mdZ4m9SsiZlgGuh1bk=";
|
||||
};
|
||||
location = "libs/tree-sitter-wing";
|
||||
generate = true;
|
||||
|
|
|
@ -789,6 +789,10 @@ self: super: {
|
|||
meta.homepage = "https://github.com/jose-elias-alvarez/minsnip.nvim/";
|
||||
};
|
||||
|
||||
multicursors-nvim = super.multicursors-nvim.overrideAttrs {
|
||||
dependencies = with self; [ nvim-treesitter hydra-nvim ];
|
||||
};
|
||||
|
||||
ncm2 = super.ncm2.overrideAttrs {
|
||||
dependencies = with self; [ nvim-yarp ];
|
||||
};
|
||||
|
|
|
@ -471,6 +471,7 @@ https://github.com/loctvl842/monokai-pro.nvim/,HEAD,
|
|||
https://github.com/shaunsingh/moonlight.nvim/,,pure-lua
|
||||
https://github.com/leafo/moonscript-vim/,HEAD,
|
||||
https://github.com/yegappan/mru/,,
|
||||
https://github.com/smoka7/multicursors.nvim/,HEAD,
|
||||
https://github.com/jbyuki/nabla.nvim/,HEAD,
|
||||
https://github.com/ncm2/ncm2/,,
|
||||
https://github.com/ncm2/ncm2-bufword/,,
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
, wrapQtAppsHook
|
||||
, cmake
|
||||
, python3
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -36,15 +37,23 @@ mkDerivation rec {
|
|||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
cp -r Ripes.app $out/Applications/
|
||||
makeBinaryWrapper $out/Applications/Ripes.app/Contents/MacOS/Ripes $out/bin/Ripes
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
install -D Ripes $out/bin/Ripes
|
||||
'' + ''
|
||||
cp -r ${src}/appdir/usr/share $out/share
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A graphical processor simulator and assembly editor for the RISC-V ISA";
|
||||
homepage = "https://github.com/mortbopet/Ripes";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "browsr";
|
||||
version = "1.13.0";
|
||||
version = "1.14.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juftin";
|
||||
repo = "browsr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vYb4XWBdQ4HJzICXNiBXit4aVgjYA9SCX15MppVtTS8=";
|
||||
hash = "sha256-H81D8VjAdQ81Pg9bsqmzm1BAyPsE75gTs4KcHrNAKxg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "tuifi-manager";
|
||||
version = "3.0.0";
|
||||
version = "3.3.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GiorgosXou";
|
||||
repo = "TUIFIManager";
|
||||
rev = "v.${version}";
|
||||
hash = "sha256-ahZUm+FkAaM4I6FfSa/Oej+lMux8avw8LxzzGqTpuH8=";
|
||||
hash = "sha256-yBMme0LJSlEXPxE9NMr0Z5VJWcWOzzdvbTnavkLHsvo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
, pkg-config
|
||||
, python3
|
||||
, SDL2
|
||||
, bluez
|
||||
, dbus
|
||||
, eigen
|
||||
, ffmpeg
|
||||
|
@ -28,8 +29,10 @@
|
|||
, libuvc
|
||||
, libv4l
|
||||
, libxcb
|
||||
, onnxruntime
|
||||
, opencv4
|
||||
, openhmd
|
||||
, openvr
|
||||
, udev
|
||||
, vulkan-headers
|
||||
, vulkan-loader
|
||||
|
@ -47,14 +50,14 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "monado";
|
||||
version = "unstable-2023-01-14";
|
||||
version = "unstable-2023-08-22";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "monado";
|
||||
repo = "monado";
|
||||
rev = "1ef49b92f2d6cb519039edd7ba7f70e8073fbe88";
|
||||
sha256 = "sha256-zieJmI6BKHpYyCPOOUora9qoWn+NXehbHKvoi4h81UA=";
|
||||
rev = "4cc68f07c0f3c2fee57b01dde28a02e314d3bee6";
|
||||
sha256 = "sha256-VibdOSA/b4RmwwwXrwhivuiukNK10YazYF/p+YnqRZ8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -72,6 +75,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
bluez
|
||||
dbus
|
||||
eigen
|
||||
ffmpeg
|
||||
|
@ -92,8 +96,10 @@ stdenv.mkDerivation rec {
|
|||
libuvc
|
||||
libv4l
|
||||
libxcb
|
||||
onnxruntime
|
||||
opencv4
|
||||
openhmd
|
||||
openvr
|
||||
udev
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
|
@ -104,6 +110,13 @@ stdenv.mkDerivation rec {
|
|||
zlib
|
||||
];
|
||||
|
||||
# known disabled drivers:
|
||||
# - DRIVER_DEPTHAI - Needs depthai-core https://github.com/luxonis/depthai-core
|
||||
# - DRIVER_ILLIXR - needs ILLIXR headers https://github.com/ILLIXR/ILLIXR
|
||||
# - DRIVER_REALSENSE - see below
|
||||
# - DRIVER_SIMULAVR - needs realsense
|
||||
# - DRIVER_ULV2 - needs proprietary Leapmotion SDK https://api.leapmotion.com/documentation/v2/unity/devguide/Leap_SDK_Overview.html
|
||||
|
||||
# realsense is disabled, the build ends with the following error:
|
||||
#
|
||||
# CMake Error in src/xrt/drivers/CMakeLists.txt:
|
||||
|
@ -119,6 +132,14 @@ stdenv.mkDerivation rec {
|
|||
export XDG_CONFIG_DIRS=@out@/etc/xdg''${XDG_CONFIG_DIRS:+:''${XDG_CONFIG_DIRS}}
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# We don't have $HOME/.steam when building
|
||||
./force-enable-steamvr_lh.patch
|
||||
|
||||
# A recent (as of August 2023) SteamVR Beta has upgraded a driver interface which is incompatible with Monado
|
||||
./steamvr_lh-use-old-interface.patch
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source XR runtime";
|
||||
homepage = "https://monado.freedesktop.org/";
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4308d73d..0081d536 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -219,6 +219,7 @@ option(BUILD_TESTING "Enable building of the test suite?" ON)
|
||||
if(EXISTS "$ENV{HOME}/.steam/root")
|
||||
set(XRT_HAVE_STEAM YES)
|
||||
endif()
|
||||
+set(XRT_HAVE_STEAM YES)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(XRT_HAVE_INTERNAL_HID ON)
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
||||
index 24b69fd..5b3a5ca 100644
|
||||
--- a/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
||||
+++ b/src/xrt/drivers/steamvr_lh/steamvr_lh.cpp
|
||||
@@ -138,7 +138,7 @@ Context::setup_hmd(const char *serial, vr::ITrackedDeviceServerDriver *driver)
|
||||
vr::EVRInitError err = driver->Activate(0);
|
||||
VERIFY(err == vr::VRInitError_None, std::to_string(err).c_str());
|
||||
|
||||
- auto *display = static_cast<vr::IVRDisplayComponent *>(driver->GetComponent(vr::IVRDisplayComponent_Version));
|
||||
+ auto *display = static_cast<vr::IVRDisplayComponent *>(driver->GetComponent("IVRDisplayComponent_003"));
|
||||
VERIFY(display, "IVRDisplayComponent is null");
|
||||
#undef VERIFY
|
||||
|
|
@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
|
|||
version = "1.8.9-2";
|
||||
|
||||
src = requireFile rec {
|
||||
name = "PI-linux-x64-${version}-20230814-c.tar.xz";
|
||||
name = "PI-linux-x64-${version}-20230828-c.tar.xz";
|
||||
url = "https://pixinsight.com/";
|
||||
sha256 = "sha256-4Jspkl5riMlbeJX/h1zhVfVymORPK1X4l0LyOgXm05Y=";
|
||||
sha256 = "sha256-f4E6F3LeEolDGcN9Uo/n8GlIuwMIVI26fW9NYtEesd4=";
|
||||
message = ''
|
||||
PixInsight is available from ${url} and requires a commercial (or trial) license.
|
||||
After a license has been obtained, PixInsight can be downloaded from the software distribution
|
||||
|
|
|
@ -27,6 +27,6 @@ buildPythonApplication rec {
|
|||
description = "Dmenu/Rofi frontend for managing Bitwarden vaults. Uses the Bitwarden CLI tool to interact with the Bitwarden database.";
|
||||
homepage = "https://github.com/firecat53/bitwarden-menu";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.rodrgz ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cartridges";
|
||||
version = "2.2.1";
|
||||
version = "2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kra-mo";
|
||||
repo = "cartridges";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-LCO3GSRNi1alP9rRwBAfVAF49i4FmhsMOG9LW4PGB3s=";
|
||||
hash = "sha256-d0c0043kssPvGxs6FygDkTKZoYtFge2cH4MIhz2vVYk=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dmenu-wayland-unstable";
|
||||
version = "2022-11-04";
|
||||
pname = "dmenu-wayland";
|
||||
version = "unstable-2023-05-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nyyManni";
|
||||
repo = "dmenu-wayland";
|
||||
rev = "b60047236ef7a4e5dcde6c4ac0dcfaa070d90041";
|
||||
sha256 = "sha256-CeJWLBPAzE3JITVuS6f4CQxLz9v09WvfG3O0wErJJS4=";
|
||||
rev = "a380201dff5bfac2dace553d7eaedb6cea6855f9";
|
||||
hash = "sha256-dqFvU2mRYEw7n8Fmbudwi5XMLQ7mQXFkug9D9j4FIrU=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
@ -20,10 +20,10 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ meson ninja pkg-config makeWrapper wayland-scanner ];
|
||||
buildInputs = [ cairo pango wayland-protocols glib wayland libxkbcommon ];
|
||||
|
||||
# Patch to support cross-compilation, see https://github.com/nyyManni/dmenu-wayland/pull/23/
|
||||
patches = [
|
||||
# can be removed when https://github.com/nyyManni/dmenu-wayland/pull/23 is included
|
||||
(fetchpatch {
|
||||
name = "support-cross-compilation.patch";
|
||||
url = "https://github.com/nyyManni/dmenu-wayland/commit/3434410de5dcb007539495395f7dc5421923dd3a.patch";
|
||||
sha256 = "sha256-im16kU8RWrCY0btYOYjDp8XtfGEivemIPlhwPX0C77o=";
|
||||
})
|
||||
|
@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
description = "dmenu for wayland-compositors";
|
||||
description = "An efficient dynamic menu for wayland (wlroots)";
|
||||
homepage = "https://github.com/nyyManni/dmenu-wayland";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ rewine ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, intltool, glib, itstool, gtk3
|
||||
, wrapGAppsHook, gobject-introspection, pango, gdk-pixbuf, atk, wafHook }:
|
||||
, wrapGAppsHook, gobject-introspection, pango, gdk-pixbuf, atk, waf }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "hamster";
|
||||
|
@ -19,7 +19,7 @@ python3Packages.buildPythonApplication rec {
|
|||
wrapGAppsHook
|
||||
intltool
|
||||
itstool
|
||||
wafHook
|
||||
waf.hook
|
||||
glib
|
||||
gobject-introspection
|
||||
];
|
||||
|
|
|
@ -8,15 +8,18 @@
|
|||
, webkitgtk
|
||||
, libappindicator
|
||||
, wrapGAppsHook
|
||||
, shared-mime-info
|
||||
, glib-networking
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "holochain-launcher";
|
||||
version = "0.9.4";
|
||||
version = "0.11.0";
|
||||
prerelease = "beta-2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/holochain/launcher/releases/download/v${version}/holochain-launcher_${version}_amd64.deb";
|
||||
sha256 = "sha256-qTzm4pwhYbEN96a/Dz/JcJcZ2OobyQJRNC2yH4CbhzQ=";
|
||||
url = "https://github.com/holochain/launcher/releases/download/v${version}/holochain-launcher-${prerelease}_${version}_amd64.deb";
|
||||
sha256 = "sha256-yxovSsPyIzFONa1ACeLkZqDCElDI3uTm81YOYW0/FXE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -29,16 +32,25 @@ stdenv.mkDerivation rec {
|
|||
openssl
|
||||
webkitgtk
|
||||
libappindicator
|
||||
|
||||
glib-networking
|
||||
];
|
||||
|
||||
unpackCmd = "dpkg-deb -x $curSrc source";
|
||||
|
||||
installPhase = ''
|
||||
mv usr $out
|
||||
mv $out/bin/holochain-launcher-${prerelease} $out/bin/holochain-launcher
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
patchelf --add-needed "libappindicator3.so" "$out/bin/holochain-launcher"
|
||||
|
||||
# without this the DevTools will just display an unparsed HTML file (see https://github.com/tauri-apps/tauri/issues/5711#issuecomment-1336409601)
|
||||
gappsWrapperArgs+=(
|
||||
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
||||
--set WEBKIT_DISABLE_COMPOSITING_MODE 1
|
||||
)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "jrnl";
|
||||
version = "3.3";
|
||||
version = "4.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrnl-org";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-e2w0E8t6s0OWx2ROme2GdyzWhmCc6hnMfSdLTZqt3bg=";
|
||||
hash = "sha256-NpI19NQxfDiqcfFI9kMqfMboI4fQTqCG7AoG9o8YoEI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
|
@ -42,17 +42,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
toml
|
||||
];
|
||||
|
||||
# Upstream expects a old pytest-bdd version
|
||||
# Once it changes we should update here too
|
||||
# https://github.com/jrnl-org/jrnl/blob/develop/poetry.lock#L732
|
||||
disabledTests = [
|
||||
"bdd"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'rich = "^12.2.0"' 'rich = ">=12.2.0, <14.0.0"'
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d);
|
||||
|
@ -63,9 +52,11 @@ python3.pkgs.buildPythonApplication rec {
|
|||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
|
||||
description = "Simple command line journal application that stores your journal in a plain text file";
|
||||
homepage = "https://jrnl.sh/";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ bryanasdev000 zalakain ];
|
||||
mainProgram = "jrnl";
|
||||
};
|
||||
}
|
||||
|
|
295
pkgs/applications/misc/kile-wl/Cargo.lock
generated
Normal file
295
pkgs/applications/misc/kile-wl/Cargo.lock
generated
Normal file
|
@ -0,0 +1,295 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.0.79"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "dlib"
|
||||
version = "0.5.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"
|
||||
dependencies = [
|
||||
"libloading",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "downcast-rs"
|
||||
version = "1.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
|
||||
|
||||
[[package]]
|
||||
name = "hermit-abi"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
|
||||
|
||||
[[package]]
|
||||
name = "io-lifetimes"
|
||||
version = "1.0.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
|
||||
dependencies = [
|
||||
"hermit-abi",
|
||||
"libc",
|
||||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kile"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"kilexpr",
|
||||
"wayland-client",
|
||||
"wayland-scanner",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "kilexpr"
|
||||
version = "0.1.0"
|
||||
source = "git+https://gitlab.com/snakedye/kilexpr#d7b58f2c9fd771b175d410c0b7f870f647a4fbbb"
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.147"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
||||
|
||||
[[package]]
|
||||
name = "libloading"
|
||||
version = "0.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.4.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
||||
|
||||
[[package]]
|
||||
name = "memoffset"
|
||||
version = "0.7.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nix"
|
||||
version = "0.26.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cfg-if",
|
||||
"libc",
|
||||
"memoffset",
|
||||
"static_assertions",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pkg-config"
|
||||
version = "0.3.27"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.66"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quick-xml"
|
||||
version = "0.28.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5fe8a65d69dd0808184ebb5f836ab526bb259db23c657efa38711b1072ee47f0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "scoped-tls"
|
||||
version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
|
||||
|
||||
[[package]]
|
||||
name = "smallvec"
|
||||
version = "1.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
|
||||
|
||||
[[package]]
|
||||
name = "static_assertions"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
|
||||
|
||||
[[package]]
|
||||
name = "wayland-backend"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "41b48e27457e8da3b2260ac60d0a94512f5cba36448679f3747c0865b7893ed8"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"downcast-rs",
|
||||
"io-lifetimes",
|
||||
"nix",
|
||||
"scoped-tls",
|
||||
"smallvec",
|
||||
"wayland-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wayland-client"
|
||||
version = "0.30.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "489c9654770f674fc7e266b3c579f4053d7551df0ceb392f153adb1f9ed06ac8"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"nix",
|
||||
"wayland-backend",
|
||||
"wayland-scanner",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wayland-scanner"
|
||||
version = "0.30.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b9b873b257fbc32ec909c0eb80dea312076a67014e65e245f5eb69a6b8ab330e"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quick-xml",
|
||||
"quote",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wayland-sys"
|
||||
version = "0.30.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "96b2a02ac608e07132978689a6f9bf4214949c85998c247abadd4f4129b1aa06"
|
||||
dependencies = [
|
||||
"dlib",
|
||||
"log",
|
||||
"pkg-config",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
||||
dependencies = [
|
||||
"windows-targets",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-targets"
|
||||
version = "0.48.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f"
|
||||
dependencies = [
|
||||
"windows_aarch64_gnullvm",
|
||||
"windows_aarch64_msvc",
|
||||
"windows_i686_gnu",
|
||||
"windows_i686_msvc",
|
||||
"windows_x86_64_gnu",
|
||||
"windows_x86_64_gnullvm",
|
||||
"windows_x86_64_msvc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_gnullvm"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_msvc"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_gnu"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_msvc"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnu"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnullvm"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_msvc"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
|
|
@ -1,28 +1,26 @@
|
|||
{ lib, fetchFromGitLab, unstableGitUpdater, rustPlatform, scdoc }:
|
||||
{ lib, fetchFromGitLab, unstableGitUpdater, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "kile-wl";
|
||||
version = "2.0";
|
||||
version = "unstable-2023-07-23";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "snakedye";
|
||||
repo = "kile";
|
||||
rev = "b543d435b92498b72609a05048bc368837a7b455";
|
||||
sha256 = "sha256-+SjdhSRT6TGbwvgZti8t9wYJx8LEtY3pleDZx/AEkio=";
|
||||
rev = "c24208761d04e0a74d203fc1dcd2f7fed68da388";
|
||||
sha256 = "sha256-4iclNVd7nm6LkgvsHwWaWyi1bZL/A+bbT5OSXn70bLs=";
|
||||
};
|
||||
|
||||
passthru.updateScript = unstableGitUpdater {
|
||||
url = "https://gitlab.com/snakedye/kile.git";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-xXliFNm9YDGsAATpMATui7f2IcfKCrB0B7O5dSYuBVQ=";
|
||||
|
||||
nativeBuildInputs = [ scdoc ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/man
|
||||
scdoc < doc/kile.1.scd > $out/share/man/kile.1
|
||||
'';
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"kilexpr-0.1.0" = "sha256-Bw6vYtzhheAJ8NLQtr3gLjZ9/5ajuABURRYDnVF9W1Y=";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tiling layout generator for river";
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
, desktop-file-utils
|
||||
, shared-mime-info
|
||||
, wrapGAppsHook
|
||||
, wafHook
|
||||
, waf
|
||||
, bash
|
||||
, dbus
|
||||
}:
|
||||
|
@ -31,7 +31,7 @@ buildPythonApplication rec {
|
|||
nativeBuildInputs = [
|
||||
wrapGAppsHook intltool
|
||||
# For setup hook
|
||||
gobject-introspection wafHook
|
||||
gobject-introspection waf.hook
|
||||
itstool # for help pages
|
||||
desktop-file-utils # for update-desktop-database
|
||||
shared-mime-info # for update-mime-info
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchYarnDeps
|
||||
, makeWrapper
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
|
@ -19,8 +20,11 @@ mkYarnPackage rec {
|
|||
};
|
||||
|
||||
packageJSON = ./package.json;
|
||||
yarnLock = ./yarn.lock;
|
||||
yarnNix = ./yarn.nix;
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${src}/yarn.lock";
|
||||
hash = "sha256-GTiNv7u1QK/wjQgpka7REuoLn2wjZG59kYJQaZZPycI=";
|
||||
};
|
||||
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,11 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, pkg-config, gtk3, gtk-layer-shell }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, librsvg
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, gtk-layer-shell
|
||||
, wrapGAppsHook }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nwg-bar";
|
||||
|
@ -19,9 +26,9 @@ buildGoModule rec {
|
|||
|
||||
vendorHash = "sha256-mqcXhnja8ed7vXIqOKBsNrcbrcaycTQXG1jqdc6zcyI=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ gtk3 gtk-layer-shell ];
|
||||
buildInputs = [ gtk3 gtk-layer-shell librsvg ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/nwg-bar
|
||||
|
|
|
@ -1,19 +1,52 @@
|
|||
{ lib, fetchurl, appimageTools }:
|
||||
{ lib, stdenv, fetchurl, appimageTools, makeDesktopItem }:
|
||||
|
||||
appimageTools.wrapType2 rec {
|
||||
stdenv.mkDerivation (finalAttrs: let
|
||||
inherit (finalAttrs) pname version src appexec icon desktopItem;
|
||||
|
||||
in
|
||||
{
|
||||
pname = "remnote";
|
||||
version = "1.12.9";
|
||||
version = "1.12.22";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.remnote.io/remnote-desktop/RemNote-${version}.AppImage";
|
||||
sha256 = "sha256-ZBo7yxbTS+2pWecbPGxp0UMy16HRMwuuUUejb6DUHic=";
|
||||
hash = "sha256-lsTs9Xf0gDRvHQkteNu2JK2eZvF7XK0ryZZgMwTRWvk=";
|
||||
};
|
||||
appexec = appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
};
|
||||
icon = fetchurl {
|
||||
url = "https://www.remnote.io/icon.png";
|
||||
hash = "sha256-r5D7fNefKPdjtmV7f/88Gn3tqeEG8LGuD4nHI/sCk94=";
|
||||
};
|
||||
desktopItem = makeDesktopItem {
|
||||
type = "Application";
|
||||
name = "remnote";
|
||||
desktopName = "RemNote";
|
||||
comment = "Spaced Repetition";
|
||||
icon = "remnote";
|
||||
exec = "remnote %u";
|
||||
categories = [ "Office" ];
|
||||
mimeTypes = [ "x-scheme-handler/remnote" "x-scheme-handler/rn" ];
|
||||
};
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ${appexec}/bin/remnote-${version} $out/bin/remnote
|
||||
install -D "${desktopItem}/share/applications/"* -t $out/share/applications/
|
||||
install -D ${icon} $out/share/pixmaps/remnote.png
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "A note-taking application focused on learning and productivity";
|
||||
homepage = "https://remnote.com/";
|
||||
maintainers = with maintainers; [ max-niederman jgarcia ];
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "remnote";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "safecloset";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Canop";
|
||||
repo = "safecloset";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HY8HaWGsqKUsqNLFpxrGJvAcVD68fqKX2v7xCiEKuDM=";
|
||||
hash = "sha256-ZvJbPbKS7HZ9R4Z9bMrXVjKtIdKE5dkp115dmHv7uJY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-geZoqfPgYUd4X903EM7+gq/VPvIClAmlC0nkqWriB0M=";
|
||||
cargoHash = "sha256-vyn/rcptkJLjXg8qjAnzc2bDjz2r0LsGa8toyybgdbM=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
|
|
|
@ -91,11 +91,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "brave";
|
||||
version = "1.57.57";
|
||||
version = "1.57.62";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
|
||||
sha256 = "sha256-B1V4BsGWBOhWgW4loY12OLLiwlqkIO3y2P6/h0WF71Y=";
|
||||
sha256 = "sha256-98zhLxlV/pe5fownqQ3k165YfcoLLxz2vBM/4FEq8ug=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
|
|
@ -469,7 +469,7 @@ buildStdenv.mkDerivation {
|
|||
# icu73 changed how it follows symlinks which breaks in the firefox sandbox
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1839287
|
||||
++ [ (if (lib.versionAtLeast version "115") then icu else icu72) ]
|
||||
++ [ (if (lib.versionAtLeast version "103") then nss_latest else nss_esr) ]
|
||||
++ [ (if (lib.versionAtLeast version "116") then nss_latest else nss_esr/*3.90*/) ]
|
||||
++ lib.optional alsaSupport alsa-lib
|
||||
++ lib.optional jackSupport libjack2
|
||||
++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "cilium-cli";
|
||||
version = "0.15.6";
|
||||
version = "0.15.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cilium";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-0y07EPF/1oq4FqiJFNZgnUeesJzU0+jxlQ4zg1M5Xzk=";
|
||||
hash = "sha256-kQpQszKyesM9qFlpgwYElrC9B4YBig62Pf9FoZJ2epM=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
|
|
@ -8,10 +8,10 @@ buildGoModule rec {
|
|||
owner = "hypnoglow";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-81Rzqu2fj6xSZbKvAhHzaGnr/3ACZvqJhYe+6Vyc0qk=";
|
||||
hash = "sha256-81Rzqu2fj6xSZbKvAhHzaGnr/3ACZvqJhYe+6Vyc0qk=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-Jvfl0sdZXV497RIgoZUJD0zK/pXK6yeAnuSdq42nky8=";
|
||||
vendorHash = "sha256-Jvfl0sdZXV497RIgoZUJD0zK/pXK6yeAnuSdq42nky8=";
|
||||
|
||||
# NOTE: Remove the install and upgrade hooks.
|
||||
postPatch = ''
|
||||
|
@ -34,7 +34,7 @@ buildGoModule rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Helm plugin that shows a diff";
|
||||
description = "A Helm plugin that allows to set up a chart repository using AWS S3";
|
||||
homepage = "https://github.com/hypnoglow/helm-s3";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yurrriq ];
|
||||
|
|
|
@ -15,13 +15,13 @@ let
|
|||
in
|
||||
buildGoModule rec {
|
||||
pname = "k3d";
|
||||
version = "5.5.2";
|
||||
version = "5.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "k3d-io";
|
||||
repo = "k3d";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Pa2kqeVl+TEsHOpnE7+iG3feYVAuYrDYnWyDpWJay7M=";
|
||||
hash = "sha256-KIYwuDPkxhtQy989XW+DcI5NJPhfLP07mYUFc180Sdw=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "kubedb-cli";
|
||||
version = "0.34.0";
|
||||
version = "0.35.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubedb";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-mrWE1MwcS0KYEQmJ8DSP5Sp5w6jpsDxvU03+KqfPDx4=";
|
||||
sha256 = "sha256-keYCF/Jte3sgJi4fnVO1ZDAsYyqXlHzX91tyS5oVCW4=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "nomad-driver-podman";
|
||||
version = "0.4.2";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hashicorp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qHhdjWc9bxUpHYUFUrupjtxxIVQDP43OeKKsCDa+4/M=";
|
||||
sha256 = "sha256-MYqsTuMLxbVNWLAWjQ8xQts5qJvhTylle7YLtGyswjY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-UIUavFdBuSiaUsNaibPjRMURMLLK5UjNHVoyNSIRNQ4=";
|
||||
vendorHash = "sha256-wjJ+mq/m7IjbwypoBvBhjOyAT4v4HDSChHY5OE0xA2U=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
|
|
@ -53,25 +53,11 @@ rec {
|
|||
|
||||
nomad = nomad_1_5;
|
||||
|
||||
nomad_1_2 = generic {
|
||||
buildGoModule = buildGo120Module;
|
||||
version = "1.2.16";
|
||||
sha256 = "sha256-fhfUpcG91EgIzJ4mCS7geyIJyTSHS2e8t4yYiI3PqpQ=";
|
||||
vendorSha256 = "sha256-kwCDsGFw+25Mimgt/cTK/Z2H7Qh5n4rjr3kIBvjcPL8=";
|
||||
};
|
||||
|
||||
nomad_1_3 = generic {
|
||||
buildGoModule = buildGo120Module;
|
||||
version = "1.3.9";
|
||||
sha256 = "sha256-xfoIzLDG/OfqAPQqeLvQZ11uESWFNyOyLP6Imi+S96w=";
|
||||
vendorSha256 = "sha256-kW0goicoM1lM1NEHPTfozg2EKR1daf33UxT/mVabyfY=";
|
||||
};
|
||||
|
||||
nomad_1_4 = generic {
|
||||
buildGoModule = buildGo120Module;
|
||||
version = "1.4.6";
|
||||
sha256 = "sha256-l4GvQIS5JSSgjBjPivAKAb7gKlVLw4WoZpPR8LxnLNc=";
|
||||
vendorSha256 = "sha256-05BhKF6kx0wbu74cidpTFhUN668R/AxV6qWmchCm/WE=";
|
||||
version = "1.4.12";
|
||||
sha256 = "sha256-dO98FOaO5MB5pWzeF705s/aBDTaF0OyWnVxWGB91suI=";
|
||||
vendorSha256 = "sha256-D5TcTZa64Jr47u4mrTXK4lUIC5gfBQNVgL6QKh1CaQM=";
|
||||
passthru.tests.nomad = nixosTests.nomad;
|
||||
};
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "terragrunt";
|
||||
version = "0.50.12";
|
||||
version = "0.50.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gruntwork-io";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-NAilGvA0S4GEQgqKKQMddemZmyFBnKE4+R689kAyoMg=";
|
||||
hash = "sha256-d3fWHkuJdijN5/EsG6nhdf6G8AG2nZVFN8MUN8X+qf0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-wQ5jxOTuYkiW5zHcduByKZ+vHPKn/1ELL3DskKze+UI=";
|
||||
|
@ -38,6 +38,6 @@ buildGoModule rec {
|
|||
changelog = "https://github.com/gruntwork-io/terragrunt/releases/tag/v${version}";
|
||||
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jk qjoly ];
|
||||
maintainers = with maintainers; [ jk qjoly kashw2 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "vcluster";
|
||||
version = "0.15.2";
|
||||
version = "0.15.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "loft-sh";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-xXeNWLhaCjOqKYJWshosStuAGy43Ur2Kp7xSY6KKcqw=";
|
||||
hash = "sha256-frYE/0PcVNlk+hwSCoPwSbL2se4dEP9g6aLDMGdn6x8=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
(if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec {
|
||||
pname = "signalbackup-tools";
|
||||
version = "20230905-3";
|
||||
version = "20230906";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bepaald";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-xbQcrDtTZh0UeNIRODeA1OBgMdqEso2gAFuSpTSvrXo=";
|
||||
hash = "sha256-e2k5L2UaujXHkQQPMZXxft/UREDPykbW70janduBa2M=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
let
|
||||
thunderbird-unwrapped = thunderbirdPackages.thunderbird-102;
|
||||
|
||||
version = "102.14.0";
|
||||
version = "102.15.0";
|
||||
majVer = lib.versions.major version;
|
||||
|
||||
betterbird-patches = fetchFromGitHub {
|
||||
owner = "Betterbird";
|
||||
repo = "thunderbird-patches";
|
||||
rev = "${version}-bb39";
|
||||
rev = "${version}-bb40";
|
||||
postFetch = ''
|
||||
echo "Retrieving external patches"
|
||||
|
||||
|
@ -36,7 +36,7 @@ let
|
|||
. ./external.sh
|
||||
rm external.sh
|
||||
'';
|
||||
hash = "sha256-O9nGlJs3OziQLbdbdt3eFRHvk1A9cdEsbKDtsZrnY5Q=";
|
||||
hash = "sha256-7/JEcP76rp0hSSxzlIlHqkcxTSEJQswFhCoOLYntQ5I=";
|
||||
};
|
||||
in ((buildMozillaMach {
|
||||
pname = "betterbird";
|
||||
|
@ -49,7 +49,7 @@ in ((buildMozillaMach {
|
|||
src = fetchurl {
|
||||
# https://download.cdn.mozilla.net/pub/thunderbird/releases/
|
||||
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
|
||||
sha512 = "4ae3f216833aec55421f827d55bc1b5fc2f0ad4fefecb27724a5be3318c351df24d30a4897b924e733ed2e3995be284b6d135049d46001143fb1c961fefc1830";
|
||||
sha512 = "11d4c77049c532753c9b693d69ab9a0bcd0eb13d49f87a511ad8ba680b70041ac6f64c5f9cd5dd44246d46e7695d9bd51146b1fe62b0b7c9fbc862eb53d5cfda";
|
||||
};
|
||||
|
||||
extraPostPatch = thunderbird-unwrapped.extraPostPatch or "" + /* bash */ ''
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, lib
|
||||
, nixosTests
|
||||
, fetchFromGitHub
|
||||
, fetchYarnDeps
|
||||
, applyPatches
|
||||
, bundlerEnv
|
||||
, defaultGemConfig
|
||||
|
@ -95,10 +96,13 @@ let
|
|||
yarnEnv = yarn2nix-moretea.mkYarnPackage {
|
||||
pname = "${pname}-node-modules";
|
||||
inherit version src;
|
||||
yarnLock = ./yarn.lock;
|
||||
yarnNix = ./yarn.nix;
|
||||
packageJSON = ./package.json;
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${src}/yarn.lock";
|
||||
hash = "sha256-HI4RR4/ll/zNBNtDCb8OvEsG/BMVYacM0CcYqbkNHEY=";
|
||||
};
|
||||
|
||||
yarnPreBuild = ''
|
||||
mkdir -p deps/Zammad
|
||||
cp -r ${src}/.eslint-plugin-zammad deps/Zammad/.eslint-plugin-zammad
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -28,24 +28,20 @@ mkDerivation rec {
|
|||
buildInputs = [ qtmultimedia stdenv.cc.cc ];
|
||||
|
||||
installPhase = ''
|
||||
# directory in /nix/store so readonly
|
||||
cd $appextracted
|
||||
|
||||
binary="$(readlink AppRun)"
|
||||
binary="$(realpath ${appextracted}/AppRun)"
|
||||
install -Dm755 $binary -t $out/bin
|
||||
|
||||
# fixup and install desktop file
|
||||
desktop-file-install --dir $out/share/applications \
|
||||
--set-key Exec --set-value $binary \
|
||||
--set-key Comment --set-value "${meta.description}" \
|
||||
--set-key Categories --set-value Network default.desktop
|
||||
--set-key Categories --set-value Network ${appextracted}/default.desktop
|
||||
mv $out/share/applications/default.desktop $out/share/applications/SoulseekQt.desktop
|
||||
|
||||
#TODO: write generic code to read icon path from $binary.desktop
|
||||
icon="$(readlink .DirIcon)"
|
||||
icon="$(realpath ${appextracted}/.DirIcon)"
|
||||
for size in 16 32 48 64 72 96 128 192 256 512 1024; do
|
||||
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
|
||||
convert -resize "$size"x"$size" $icon $out/share/icons/hicolor/"$size"x"$size"/apps/$icon
|
||||
convert -resize "$size"x"$size" $icon $out/share/icons/hicolor/"$size"x"$size"/apps/$(basename $icon)
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
|
@ -93,6 +93,11 @@ stdenv.mkDerivation rec {
|
|||
'org.jabref:afterburner.fx:${versionReplace.afterburner.pin}' \
|
||||
--replace 'com.tobiasdiez:easybind:${versionReplace.easybind.snapshot}' \
|
||||
'com.tobiasdiez:easybind:${versionReplace.easybind.pin}'
|
||||
|
||||
# Disable update check
|
||||
substituteInPlace src/main/java/org/jabref/preferences/JabRefPreferences.java \
|
||||
--replace 'VERSION_CHECK_ENABLED, Boolean.TRUE' \
|
||||
'VERSION_CHECK_ENABLED, Boolean.FALSE'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, mkDerivation
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, wafHook
|
||||
, waf
|
||||
, pkg-config
|
||||
, cmake
|
||||
, qtbase
|
||||
|
@ -65,7 +65,7 @@ mkDerivation rec {
|
|||
--replace /usr/include/KF5/KDELibs4Support "${lib.getDev kdelibs4support}/include/KF5/KDELibs4Support"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ (lib.getDev qtsvg) (lib.getLib qtsvg) python3 pkg-config wafHook cmake ];
|
||||
nativeBuildInputs = [ (lib.getDev qtsvg) (lib.getLib qtsvg) python3 pkg-config waf.hook cmake ];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
|
|
|
@ -1,11 +1,49 @@
|
|||
{ lib, bundlerApp, bundlerUpdateScript }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, pkgs
|
||||
, bundlerEnv
|
||||
, bundlerApp
|
||||
, bundlerUpdateScript
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
bundlerApp {
|
||||
pname = "timetrap";
|
||||
gemdir = ./.;
|
||||
exes = [ "t" "timetrap" ];
|
||||
let
|
||||
ttBundlerApp = bundlerApp {
|
||||
pname = "timetrap";
|
||||
gemdir = ./.;
|
||||
exes = [ "t" "timetrap" ];
|
||||
|
||||
passthru.updateScript = bundlerUpdateScript "timetrap";
|
||||
passthru.updateScript = bundlerUpdateScript "timetrap";
|
||||
};
|
||||
|
||||
ttGem = bundlerEnv {
|
||||
pname = "timetrap";
|
||||
gemdir = ./.;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "timetrap";
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out;
|
||||
cd $out;
|
||||
|
||||
mkdir bin; pushd bin;
|
||||
ln -vs ${ttBundlerApp}/bin/t;
|
||||
ln -vs ${ttBundlerApp}/bin/timetrap;
|
||||
popd;
|
||||
|
||||
for c in t timetrap; do
|
||||
installShellCompletion --cmd $c --bash ${ttGem}/lib/ruby/gems/*/gems/timetrap*/completions/bash/*;
|
||||
installShellCompletion --cmd $c --zsh ${ttGem}/lib/ruby/gems/*/gems/timetrap*/completions/zsh/*;
|
||||
done;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple command line time tracker written in ruby";
|
||||
|
|
|
@ -1,17 +1,33 @@
|
|||
{ stdenv, lib, fetchFromGitHub, python, makeWrapper
|
||||
, eigen, fftw, libtiff, libpng, zlib, ants, bc
|
||||
, qt5, libGL, libGLU, libX11, libXext
|
||||
, withGui ? true, less }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, makeWrapper
|
||||
, eigen
|
||||
, fftw
|
||||
, libtiff
|
||||
, libpng
|
||||
, zlib
|
||||
, ants
|
||||
, bc
|
||||
, qt5
|
||||
, libGL
|
||||
, libGLU
|
||||
, libX11
|
||||
, libXext
|
||||
, less
|
||||
, withGui ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mrtrix";
|
||||
version = "unstable-2021-11-25";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MRtrix3";
|
||||
repo = "mrtrix3";
|
||||
rev = "994498557037c9e4f7ba67f255820ef84ea899d9";
|
||||
sha256 = "sha256-8eFDS5z4ZxMzi9Khk90KAS4ndma/Syd6JDXM2Fpr0M8=";
|
||||
owner = "MRtrix3";
|
||||
repo = "mrtrix3";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-87zBAoBLWQPccGS37XyQ8H0GhL01k8GQFgcLL6IwbcM=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "workcraft";
|
||||
version = "3.4.0";
|
||||
version = "3.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/workcraft/workcraft/releases/download/v${version}/workcraft-v${version}-linux.tar.gz";
|
||||
sha256 = "sha256-iqHdyyZX3AcBAjPTpZAiJi0IHhEDWBtKp0e2LAdWGsQ=";
|
||||
sha256 = "sha256-/mh8IN3rGUZIYvyrqnhl0mgnizPZzDduXjQHIDouI38=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "gh";
|
||||
version = "2.33.0";
|
||||
version = "2.34.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cli";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BvGZS0n9S3a/QCbzpP2539wj7hN54G5VlJnQVtqdSTk=";
|
||||
hash = "sha256-Bb0vEaMOjgQ5p9r/tfciKo4/MXjUCUIdoDSB/Bido/8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-7Izhqma/zukH9M7EvV9I4axefVaTDoNVXQmLx+GjAt0=";
|
||||
vendorHash = "sha256-iql/CEWwg6t5k8qOFEQotMUUJd4VQ/H4JcuL2Eunqg0=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "gitmux";
|
||||
version = "0.10.2";
|
||||
version = "0.10.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0WfxtOidHiRxSXGzG8So965f/sBS0DY7fEDsocvfPiY=";
|
||||
sha256 = "sha256-BvjBEhu6696DkT4GEg2gYTovZEnRosnBD3kzym536e0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-talZSkf8lQXwXKdkQliHFv2K+42BFtcg13oB5Szkff0=";
|
||||
vendorHash = "sha256-PHY020MIuLlC1LqNGyBJRNd7J+SzoHbNMPAil7CKP/M=";
|
||||
|
||||
# GitHub source does contain a regression test for the module
|
||||
# but it requires networking as it git clones a repo from github
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "gql";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AmrDeveloper";
|
||||
repo = "GQL";
|
||||
rev = version;
|
||||
hash = "sha256-UTyP9ugUXiPMzkeIvPJUtORvcJ93YOBltglmlcym3sI=";
|
||||
hash = "sha256-eWupAfe2lOcOp8hC4sx8Wl1jaVZT4E99I5V9YsMcDZA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-AIt7Ns3vNrHQxJU7cSNr+h3tFGZ9hL1OMBqPHS61YUQ=";
|
||||
cargoHash = "sha256-O6Y+JOMpucrjvYAJZe2D97vODFXVysuiitXzMkfcSpI=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
31
pkgs/applications/virtualization/conmon-rs/Cargo.lock.patch
Normal file
31
pkgs/applications/virtualization/conmon-rs/Cargo.lock.patch
Normal file
|
@ -0,0 +1,31 @@
|
|||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index 4cd154b..fee3267 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -323,7 +323,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "conmon-common"
|
||||
-version = "0.5.1"
|
||||
+version = "0.6.0"
|
||||
dependencies = [
|
||||
"capnp",
|
||||
"capnpc",
|
||||
@@ -331,7 +331,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "conmonrs"
|
||||
-version = "0.5.1"
|
||||
+version = "0.6.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"capnp",
|
||||
@@ -376,7 +376,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "conmonrs-cli"
|
||||
-version = "0.5.1"
|
||||
+version = "0.6.0"
|
||||
dependencies = [
|
||||
"capnp",
|
||||
"capnp-rpc",
|
|
@ -7,19 +7,22 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "conmon-rs";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-mngs5ivRyMJ927VV00mFNIG+nD9EuE3qLyN+OHMMkHQ=";
|
||||
sha256 = "sha256-RQ3cVM7aEuCCmOCr4UWkxBMr66tdYFl0nNO7tXY05vE=";
|
||||
};
|
||||
|
||||
# Cargo.lock is out of date for this release.
|
||||
cargoPatches = [ ./Cargo.lock.patch ];
|
||||
|
||||
nativeBuildInputs = [ capnproto protobuf ];
|
||||
doCheck = false;
|
||||
|
||||
cargoSha256 = "sha256-ruChRz2rnPalBiXcpco/WS/eDgg52ckPBLBuoQa9us4=";
|
||||
cargoHash = "sha256-BNowZkD+y1jh25EvfhQzvT5BZzrq46KBd69AJ//9enE=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An OCI container runtime monitor written in Rust";
|
||||
|
|
|
@ -62,13 +62,13 @@ let
|
|||
in
|
||||
buildGoModule rec {
|
||||
pname = "podman";
|
||||
version = "4.6.1";
|
||||
version = "4.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "podman";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bGhLjf4GZpuWX1xOC4Hm9SkYvUJ45ZipcKAIEJF0tDQ=";
|
||||
hash = "sha256-Zxzb7ORyugvN9mhxa0s8r0ch16Ndbm3Z1JCsQcwbF6g=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -32,14 +32,14 @@
|
|||
|
||||
let
|
||||
# macOS - versions
|
||||
fusionVersion = "13.0.0";
|
||||
fusionBuild = "20802013";
|
||||
fusionVersion = "13.0.2";
|
||||
fusionBuild = "21581413";
|
||||
unlockerVersion = "3.0.4";
|
||||
|
||||
# macOS - ISOs
|
||||
darwinIsoSrc = fetchurl {
|
||||
url = "https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${fusionVersion}/${fusionBuild}/x86/core/com.vmware.fusion.zip.tar";
|
||||
sha256 = "sha256-cSboek+nhkVj8rjdic6yzWQfjXiiLlch6gBWn73BzRU=";
|
||||
url = "https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${fusionVersion}/${fusionBuild}/universal/core/com.vmware.fusion.zip.tar";
|
||||
sha256 = "sha256-8IaEQn1+e+WtjRX9Aopbi6tVTNt9RVyGrpaARtVH6j0=";
|
||||
};
|
||||
|
||||
# macOS - Unlocker
|
||||
|
@ -71,8 +71,8 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vmware-workstation";
|
||||
version = "17.0.0";
|
||||
build = "20800274";
|
||||
version = "17.0.2";
|
||||
build = "21581411";
|
||||
|
||||
buildInputs = [
|
||||
libxslt
|
||||
|
@ -100,8 +100,8 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optionals enableMacOSGuests [ gnutar unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download3.vmware.com/software/WKST-1700-LX/VMware-Workstation-Full-${version}-${build}.x86_64.bundle";
|
||||
sha256 = "sha256-kBTocGb1tg5i+dvWmOaPfPUHxrWcX8/obeKqRGR+mRA=";
|
||||
url = "https://download3.vmware.com/software/WKST-${builtins.replaceStrings ["."] [""] version}-LX/VMware-Workstation-Full-${version}-${build}.x86_64.bundle";
|
||||
sha256 = "sha256-9ONh+uvL4YGNGxbpPX1mWO8P4oKPUpwzTsKKBJNxHMc=";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
|
|
@ -12,16 +12,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "eww";
|
||||
version = "unstable-2023-06-10";
|
||||
version = "unstable-2023-08-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elkowar";
|
||||
repo = "eww";
|
||||
rev = "25e50eda46379bccd8a7887c18ee35833e0460e8";
|
||||
hash = "sha256-8e6gHSg6FDp6nU5v89D44Tqb1lR5aQpS0lXOVqzoUS4=";
|
||||
rev = "a9a35c1804d72ef92e04ee71555bd9e5a08fa17e";
|
||||
hash = "sha256-GEysmNDm+olt1WXHzRwb4ZLifkXmeP5+APAN3b81/Og=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-dC7yVJdR7mO0n+sxWwigM1Q4tbDv5ZuOINHHlUIPdA0=";
|
||||
cargoHash = "sha256-4yeu5AgleZMOLKNynGMd0XuyZxyyZ+RmzNtuJiNPN8g=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
, hyprland-protocols
|
||||
, jq
|
||||
, libdrm
|
||||
, libexecinfo
|
||||
, libinput
|
||||
, libxcb
|
||||
, libxkbcommon
|
||||
|
@ -96,6 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
pciutils
|
||||
(wlroots.override { inherit enableNvidiaPatches; })
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isMusl [ libexecinfo ]
|
||||
++ lib.optionals enableXWayland [ libxcb xcbutilwm xwayland ]
|
||||
++ lib.optionals withSystemd [ systemd ];
|
||||
|
||||
|
|
|
@ -332,7 +332,16 @@ stdenv.mkDerivation {
|
|||
setupHooks = [
|
||||
../setup-hooks/role.bash
|
||||
] ++ lib.optional (cc.langC or true) ./setup-hook.sh
|
||||
++ lib.optional (cc.langFortran or false) ./fortran-hook.sh;
|
||||
++ lib.optional (cc.langFortran or false) ./fortran-hook.sh
|
||||
++ lib.optional (targetPlatform.isWindows) (stdenv.mkDerivation {
|
||||
name = "win-dll-hook.sh";
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
echo addToSearchPath "LINK_DLL_FOLDERS" "${cc_solib}/lib" > $out
|
||||
echo addToSearchPath "LINK_DLL_FOLDERS" "${cc_solib}/lib64" >> $out
|
||||
echo addToSearchPath "LINK_DLL_FOLDERS" "${cc_solib}/lib32" >> $out
|
||||
'';
|
||||
});
|
||||
|
||||
postFixup =
|
||||
# Ensure flags files exists, as some other programs cat them. (That these
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{ lib, stdenv, emacs, texinfo, writeText, gcc, ... }:
|
||||
|
||||
{ pname
|
||||
, version ? null
|
||||
, version
|
||||
, buildInputs ? []
|
||||
, packageRequires ? []
|
||||
, meta ? {}
|
||||
|
@ -19,8 +19,8 @@ let
|
|||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
name = "emacs-${pname}${lib.optionalString (version != null) "-${version}"}";
|
||||
stdenv.mkDerivation (finalAttrs: ({
|
||||
name = "emacs-${pname}-${finalAttrs.version}";
|
||||
|
||||
unpackCmd = ''
|
||||
case "$curSrc" in
|
||||
|
@ -83,4 +83,4 @@ stdenv.mkDerivation ({
|
|||
'';
|
||||
}
|
||||
|
||||
// removeAttrs args [ "buildInputs" "packageRequires" "meta" ])
|
||||
// removeAttrs args [ "buildInputs" "packageRequires" "meta" ]))
|
||||
|
|
|
@ -161,6 +161,7 @@ checkout_hash(){
|
|||
hash=$(hash_from_ref "$ref")
|
||||
fi
|
||||
|
||||
[[ -z "$deepClone" ]] && \
|
||||
clean_git fetch ${builder:+--progress} --depth=1 origin "$hash" || \
|
||||
clean_git fetch -t ${builder:+--progress} origin || return 1
|
||||
|
||||
|
|
|
@ -1,45 +1,89 @@
|
|||
|
||||
fixupOutputHooks+=(_linkDLLs)
|
||||
|
||||
# For every *.{exe,dll} in $output/bin/ we try to find all (potential)
|
||||
# transitive dependencies and symlink those DLLs into $output/bin
|
||||
# so they are found on invocation.
|
||||
# (DLLs are first searched in the directory of the running exe file.)
|
||||
# The links are relative, so relocating whole /nix/store won't break them.
|
||||
_linkDLLs() {
|
||||
(
|
||||
if [ ! -d "$prefix/bin" ]; then exit; fi
|
||||
cd "$prefix/bin"
|
||||
addEnvHooks "$targetOffset" linkDLLGetFolders
|
||||
|
||||
# Compose path list where DLLs should be located:
|
||||
# prefix $PATH by currently-built outputs
|
||||
local DLLPATH=""
|
||||
local outName
|
||||
for outName in $(getAllOutputNames); do
|
||||
addToSearchPath DLLPATH "${!outName}/bin"
|
||||
done
|
||||
DLLPATH="$DLLPATH:$PATH"
|
||||
|
||||
echo DLLPATH="'$DLLPATH'"
|
||||
|
||||
linkCount=0
|
||||
# Iterate over any DLL that we depend on.
|
||||
local dll
|
||||
for dll in $($OBJDUMP -p *.{exe,dll} | sed -n 's/.*DLL Name: \(.*\)/\1/p' | sort -u); do
|
||||
if [ -e "./$dll" ]; then continue; fi
|
||||
# Locate the DLL - it should be an *executable* file on $DLLPATH.
|
||||
local dllPath="$(PATH="$DLLPATH" type -P "$dll")"
|
||||
if [ -z "$dllPath" ]; then continue; fi
|
||||
# That DLL might have its own (transitive) dependencies,
|
||||
# so add also all DLLs from its directory to be sure.
|
||||
local dllPath2
|
||||
for dllPath2 in "$dllPath" "$(dirname $(readlink "$dllPath" || echo "$dllPath"))"/*.dll; do
|
||||
if [ -e ./"$(basename "$dllPath2")" ]; then continue; fi
|
||||
CYGWIN+=\ winsymlinks:nativestrict ln -sr "$dllPath2" .
|
||||
linkCount=$(($linkCount+1))
|
||||
done
|
||||
done
|
||||
echo "Created $linkCount DLL link(s) in $prefix/bin"
|
||||
)
|
||||
linkDLLGetFolders() {
|
||||
addToSearchPath "LINK_DLL_FOLDERS" "$1/lib"
|
||||
addToSearchPath "LINK_DLL_FOLDERS" "$1/bin"
|
||||
}
|
||||
|
||||
_linkDLLs() {
|
||||
linkDLLsInfolder "$prefix/bin"
|
||||
}
|
||||
|
||||
# Try to links every known dependency of exe/dll in the folder of the 1str input
|
||||
# into said folder, so they are found on invocation.
|
||||
# (DLLs are first searched in the directory of the running exe file.)
|
||||
# The links are relative, so relocating whole /nix/store won't break them.
|
||||
linkDLLsInfolder() {
|
||||
(
|
||||
local folder
|
||||
folder="$1"
|
||||
if [ ! -d "$folder" ]; then
|
||||
echo "Not linking DLLs in the non-existent folder $folder"
|
||||
return
|
||||
fi
|
||||
cd "$folder" || exit
|
||||
|
||||
# Use associative arrays as set
|
||||
local filesToChecks
|
||||
local filesDone
|
||||
declare -A filesToChecks # files that still needs to have their dependancies checked
|
||||
declare -A filesDone # files that had their dependancies checked and who is copied to the bin folder if found
|
||||
|
||||
markFileAsDone() {
|
||||
if [ ! "${filesDone[$1]+a}" ]; then filesDone[$1]=a; fi
|
||||
if [ "${filesToChecks[$1]+a}" ]; then unset 'filesToChecks[$1]'; fi
|
||||
}
|
||||
|
||||
addFileToLink() {
|
||||
if [ "${filesDone[$1]+a}" ]; then return; fi
|
||||
if [ ! "${filesToChecks[$1]+a}" ]; then filesToChecks[$1]=a; fi
|
||||
}
|
||||
|
||||
# Compose path list where DLLs should be located:
|
||||
# prefix $PATH by currently-built outputs
|
||||
local DLLPATH=""
|
||||
local outName
|
||||
for outName in $(getAllOutputNames); do
|
||||
addToSearchPath DLLPATH "${!outName}/bin"
|
||||
done
|
||||
DLLPATH="$DLLPATH:$LINK_DLL_FOLDERS"
|
||||
|
||||
echo DLLPATH="'$DLLPATH'"
|
||||
|
||||
for peFile in *.{exe,dll}; do
|
||||
if [ -e "./$peFile" ]; then
|
||||
addFileToLink "$peFile"
|
||||
fi
|
||||
done
|
||||
|
||||
local searchPaths
|
||||
readarray -td: searchPaths < <(printf -- "%s" "$DLLPATH")
|
||||
|
||||
local linkCount=0
|
||||
while [ ${#filesToChecks[*]} -gt 0 ]; do
|
||||
local listOfDlls=("${!filesToChecks[@]}")
|
||||
local file=${listOfDlls[0]}
|
||||
markFileAsDone "$file"
|
||||
if [ ! -e "./$file" ]; then
|
||||
local pathsFound
|
||||
readarray -d '' pathsFound < <(find "${searchPaths[@]}" -name "$file" -type f -print0)
|
||||
if [ ${#pathsFound[@]} -eq 0 ]; then continue; fi
|
||||
local dllPath
|
||||
dllPath="${pathsFound[0]}"
|
||||
CYGWIN+=" winsymlinks:nativestrict" ln -sr "$dllPath" .
|
||||
echo "linking $dllPath"
|
||||
file="$dllPath"
|
||||
linkCount=$((linkCount + 1))
|
||||
fi
|
||||
# local dep_file
|
||||
# Look at the file’s dependancies
|
||||
for dep_file in $($OBJDUMP -p "$file" | sed -n 's/.*DLL Name: \(.*\)/\1/p' | sort -u); do
|
||||
addFileToLink "$dep_file"
|
||||
done
|
||||
done
|
||||
|
||||
echo "Created $linkCount DLL link(s) in $folder"
|
||||
)
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ So instead it is preferable to use the same generic parameter name `libbar`
|
|||
and override its value in [`pkgs/top-level/all-packages.nix`](../top-level/all-packages.nix):
|
||||
|
||||
```nix
|
||||
libfoo = callPackage ../by-name/so/somePackage/package.nix {
|
||||
libfoo = callPackage ../by-name/so/some-package/package.nix {
|
||||
libbar = libbar_2;
|
||||
};
|
||||
```
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "commit-mono";
|
||||
version = "1.134";
|
||||
version = "1.135";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/${version}/CommitMono-${version}.zip";
|
||||
sha256 = "sha256-r2+ehmJPwiodVZGnha8uMHaWcbbONiorrOvv6WW/kio=";
|
||||
sha256 = "sha256-YrPmTJTX8T7X6VM5qYJWG4dccojfjJpPRwMP+vk97es=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
(builtins.attrNames (builtins.removeAttrs variantHashes [ "iosevka" ]));
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "${name}-bin";
|
||||
version = "26.2.2";
|
||||
version = "26.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-${name}-${version}.zip";
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue