Merge staging-next into staging
This commit is contained in:
@@ -13246,6 +13246,13 @@
|
||||
githubId = 6391776;
|
||||
name = "Nikita Voloboev";
|
||||
};
|
||||
niklaskorz = {
|
||||
name = "Niklas Korz";
|
||||
email = "niklas@niklaskorz.de";
|
||||
matrix = "@niklaskorz:korz.dev";
|
||||
github = "niklaskorz";
|
||||
githubId = 590517;
|
||||
};
|
||||
NikolaMandic = {
|
||||
email = "nikola@mandic.email";
|
||||
github = "NikolaMandic";
|
||||
@@ -17291,6 +17298,13 @@
|
||||
githubId = 151924;
|
||||
name = "John Anderson";
|
||||
};
|
||||
soopyc = {
|
||||
name = "Cassie Cheung";
|
||||
email = "me@soopy.moe";
|
||||
github = "soopyc";
|
||||
githubId = 13762043;
|
||||
matrix = "@sophie:nue.soopy.moe";
|
||||
};
|
||||
sophrosyne = {
|
||||
email = "joshuaortiz@tutanota.com";
|
||||
github = "sophrosyne97";
|
||||
|
||||
@@ -130,6 +130,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
|
||||
`globalRedirect` can now have redirect codes other than 301 through
|
||||
`redirectCode`.
|
||||
|
||||
- The source of the `mockgen` package has changed to the [go.uber.org/mock](https://github.com/uber-go/mock) fork because [the original repository is no longer maintained](https://github.com/golang/mock#gomock).
|
||||
|
||||
- [](#opt-boot.kernel.sysctl._net.core.wmem_max_) changed from a string to an integer because of the addition of a custom merge option (taking the highest value defined to avoid conflicts between 2 services trying to set that value), just as [](#opt-boot.kernel.sysctl._net.core.rmem_max_) since 22.11.
|
||||
|
||||
- `services.zfs.zed.enableMail` now uses the global `sendmail` wrapper defined by an email module
|
||||
|
||||
@@ -747,7 +747,7 @@ in
|
||||
|
||||
${concatStringsSep "\n" (mapAttrsToList (to: from: ''
|
||||
ln -sf ${from} /var/lib/postfix/conf/${to}
|
||||
${pkgs.postfix}/bin/postalias /var/lib/postfix/conf/${to}
|
||||
${pkgs.postfix}/bin/postalias -o -p /var/lib/postfix/conf/${to}
|
||||
'') cfg.aliasFiles)}
|
||||
${concatStringsSep "\n" (mapAttrsToList (to: from: ''
|
||||
ln -sf ${from} /var/lib/postfix/conf/${to}
|
||||
|
||||
@@ -257,6 +257,7 @@ in {
|
||||
dolibarr = handleTest ./dolibarr.nix {};
|
||||
domination = handleTest ./domination.nix {};
|
||||
dovecot = handleTest ./dovecot.nix {};
|
||||
drawterm = discoverTests (import ./drawterm.nix);
|
||||
drbd = handleTest ./drbd.nix {};
|
||||
dublin-traceroute = handleTest ./dublin-traceroute.nix {};
|
||||
earlyoom = handleTestOn ["x86_64-linux"] ./earlyoom.nix {};
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
{ system, pkgs }:
|
||||
let
|
||||
tests = {
|
||||
xorg = {
|
||||
node = { pkgs, ... }: {
|
||||
imports = [ ./common/user-account.nix ./common/x11.nix ];
|
||||
services.xserver.enable = true;
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
${pkgs.drawterm}/bin/drawterm -g 1024x768 &
|
||||
'';
|
||||
test-support.displayManager.auto.user = "alice";
|
||||
};
|
||||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
};
|
||||
wayland = {
|
||||
node = { pkgs, ... }: {
|
||||
imports = [ ./common/wayland-cage.nix ];
|
||||
services.cage.program = "${pkgs.drawterm-wayland}/bin/drawterm";
|
||||
};
|
||||
systems = [ "x86_64-linux" ];
|
||||
};
|
||||
};
|
||||
|
||||
mkTest = name: machine:
|
||||
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
inherit name;
|
||||
|
||||
nodes = { "${name}" = machine; };
|
||||
|
||||
meta = with pkgs.lib.maintainers; {
|
||||
maintainers = [ moody ];
|
||||
};
|
||||
|
||||
enableOCR = true;
|
||||
|
||||
testScript = ''
|
||||
@polling_condition
|
||||
def drawterm_running():
|
||||
machine.succeed("pgrep drawterm")
|
||||
|
||||
start_all()
|
||||
|
||||
machine.wait_for_unit("graphical.target")
|
||||
drawterm_running.wait() # type: ignore[union-attr]
|
||||
machine.wait_for_text("cpu")
|
||||
machine.send_chars("cpu\n")
|
||||
machine.wait_for_text("auth")
|
||||
machine.send_chars("cpu\n")
|
||||
machine.wait_for_text("ending")
|
||||
machine.screenshot("out.png")
|
||||
'';
|
||||
|
||||
});
|
||||
mkTestOn = systems: name: machine:
|
||||
if pkgs.lib.elem system systems then mkTest name machine
|
||||
else { ... }: { };
|
||||
in
|
||||
builtins.mapAttrs (k: v: mkTestOn v.systems k v.node { inherit system; }) tests
|
||||
@@ -16335,5 +16335,29 @@ final: prev:
|
||||
meta.homepage = "https://github.com/jhradilek/vim-snippets/";
|
||||
};
|
||||
|
||||
palette-nvim = buildVimPlugin {
|
||||
pname = "palette-nvim";
|
||||
version = "2023-10-02";
|
||||
src = fetchFromGitHub {
|
||||
owner = "roobert";
|
||||
repo = "palette.nvim";
|
||||
rev = "a808c190a4f74f73782302152ebf323660d8db5f";
|
||||
sha256 = "sha256-gCyDl+2fDa5CPpibxQnp+pJSkyRl0r03Sh3+IXIoQIQ=";
|
||||
};
|
||||
meta.homepage = "https://github.com/roobert/palette.nvim/";
|
||||
};
|
||||
|
||||
obsidian-nvim = buildVimPlugin {
|
||||
pname = "obsidian-nvim";
|
||||
version = "2023-12-30";
|
||||
src = fetchFromGitHub {
|
||||
owner = "epwalsh";
|
||||
repo = "obsidian.nvim";
|
||||
rev = "88bf9150d9639a2cae3319e76abd7ab6b30d27f0";
|
||||
sha256 = "sha256-irPk9iprbI4ijNUjMxXjw+DljudZ8aB3f/FJxXhFSoA=";
|
||||
};
|
||||
meta.homepage = "https://github.com/epwalsh/obsidian.nvim/";
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -929,6 +929,10 @@
|
||||
dependencies = with self; [ promise-async ];
|
||||
};
|
||||
|
||||
obsidian-nvim = super.obsidian-nvim.overrideAttrs {
|
||||
dependencies = with self; [ plenary-nvim ];
|
||||
};
|
||||
|
||||
octo-nvim = super.octo-nvim.overrideAttrs {
|
||||
dependencies = with self; [ telescope-nvim plenary-nvim ];
|
||||
};
|
||||
|
||||
@@ -661,6 +661,7 @@ https://github.com/roxma/nvim-yarp/,,
|
||||
https://github.com/haringsrob/nvim_context_vt/,,
|
||||
https://github.com/neovim/nvimdev.nvim/,,
|
||||
https://github.com/nvchad/nvterm/,HEAD,
|
||||
https://github.com/epwalsh/obsidian.nvim/,HEAD,
|
||||
https://github.com/glepnir/oceanic-material/,,
|
||||
https://github.com/mhartington/oceanic-next/,,
|
||||
https://github.com/pwntester/octo.nvim/,,
|
||||
@@ -685,6 +686,7 @@ https://github.com/nyoom-engineering/oxocarbon.nvim/,HEAD,
|
||||
https://github.com/vuki656/package-info.nvim/,,
|
||||
https://github.com/wbthomason/packer.nvim/,,
|
||||
https://github.com/drewtempelmeyer/palenight.vim/,,
|
||||
https://github.com/roobert/palette.nvim/,HEAD,
|
||||
https://github.com/NLKNguyen/papercolor-theme/,,
|
||||
https://github.com/tmsvg/pear-tree/,,
|
||||
https://github.com/steelsojka/pears.nvim/,,
|
||||
|
||||
@@ -33,13 +33,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cemu";
|
||||
version = "2.0-59";
|
||||
version = "2.0-61";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cemu-project";
|
||||
repo = "Cemu";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-dw77UkhyJ+XJLYWT6adUuTd+spqNr3/ZOMLaAVWgzmc=";
|
||||
hash = "sha256-oKVVBie3Q3VtsHbh0wJfdlx1YnF424hib8mFRYnbgXY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
mkdir -p $out/share/inkscape/extensions
|
||||
cp ${inkcut}/share/inkscape/extensions/* $out/share/inkscape/extensions
|
||||
'');
|
||||
silhouette = callPackage ./extensions/silhouette { };
|
||||
textext = callPackage ./extensions/textext {
|
||||
pdflatex = texlive.combined.scheme-basic;
|
||||
lualatex = texlive.combined.scheme-basic;
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
{ fetchFromGitHub
|
||||
, lib
|
||||
, gettext
|
||||
, pkgs
|
||||
, python3
|
||||
, umockdev
|
||||
, writeScript
|
||||
}:
|
||||
|
||||
let
|
||||
# We need these simple wrapper shell scripts because Inkscape extensions with
|
||||
# interpreter="shell" always get invoked with the `sh` command [0], regardless of
|
||||
# the shebang at the top of the script.
|
||||
# [0]: https://gitlab.com/inkscape/inkscape/-/blob/d61d917afb94721c92a650b2c4b116b0a4826f41/src/extension/implementation/script.cpp#L93
|
||||
launch-sendto_silhouette = writeScript "sendto_silhouette.sh" ''
|
||||
cd $(dirname $0)
|
||||
./sendto_silhouette.py "$@"
|
||||
'';
|
||||
launch-silhouette_multi = writeScript "silhouette_multi.sh" ''
|
||||
cd $(dirname $0)
|
||||
./silhouette_multi.py "$@"
|
||||
'';
|
||||
in
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "inkscape-silhouette";
|
||||
version = "1.28";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fablabnbg";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-uNVhdkZFadL7QNlCsXq51TbhzRKH9KYDPDNCFhw3cQs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./interpreter.patch
|
||||
./use-prefix-for-udev.patch
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3.pkgs.pyusb
|
||||
python3.pkgs.lxml
|
||||
python3.pkgs.inkex
|
||||
python3.pkgs.matplotlib
|
||||
python3.pkgs.wxPython_4_2
|
||||
python3.pkgs.xmltodict
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext # msgfmt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
python3.pkgs.pytestCheckHook
|
||||
umockdev
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"test"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make install PREFIX=$out
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# Unmark read_dump.py as executable so wrapPythonProgramsIn won't turn it
|
||||
# into a shell script (thereby making it impossible to import as a Python
|
||||
# module).
|
||||
chmod -x $out/share/inkscape/extensions/silhouette/read_dump.py
|
||||
cp ${launch-sendto_silhouette} $out/share/inkscape/extensions/sendto_silhouette.sh
|
||||
cp ${launch-silhouette_multi} $out/share/inkscape/extensions/silhouette_multi.sh
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn "$out/share/inkscape/extensions/" "$out $pythonPath"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extension to drive Silhouette vinyl cutters (e.g. Cameo, Portrait, Curio series) from within Inkscape.";
|
||||
homepage = "https://github.com/fablabnbg/inkscape-silhouette";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ jfly ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
diff --git a/sendto_silhouette.inx b/sendto_silhouette.inx
|
||||
index 55a3278..d780730 100644
|
||||
--- a/sendto_silhouette.inx
|
||||
+++ b/sendto_silhouette.inx
|
||||
@@ -188,6 +188,6 @@ Always use the least amount of blade possible.
|
||||
</effect>
|
||||
|
||||
<script>
|
||||
- <command location="inx" interpreter="python">sendto_silhouette.py</command>
|
||||
+ <command location="inx" interpreter="shell">sendto_silhouette.sh</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
||||
diff --git a/silhouette_multi.inx b/silhouette_multi.inx
|
||||
index f6fd2ed..2d9dba6 100644
|
||||
--- a/silhouette_multi.inx
|
||||
+++ b/silhouette_multi.inx
|
||||
@@ -31,6 +31,6 @@
|
||||
</effect>
|
||||
|
||||
<script>
|
||||
- <command location="inx" interpreter="python">silhouette_multi.py</command>
|
||||
+ <command location="inx" interpreter="shell">silhouette_multi.sh</command>
|
||||
</script>
|
||||
</inkscape-extension>
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 5aff25d..43c3fb0 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -22,7 +22,7 @@ VERS=$$(python3 ./sendto_silhouette.py --version)
|
||||
|
||||
DEST=$(DESTDIR)$(PREFIX)/share/inkscape/extensions
|
||||
LOCALE=$(DESTDIR)$(PREFIX)/share/locale
|
||||
-UDEV=$(DESTDIR)/lib/udev
|
||||
+UDEV=$(DESTDIR)$(PREFIX)/lib/udev
|
||||
INKSCAPE_TEMPLATES=$(DESTDIR)$(PREFIX)/share/inkscape/templates
|
||||
|
||||
# User-specifc inkscape extensions folder for local install
|
||||
@@ -20,13 +20,13 @@ let
|
||||
in
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "textext";
|
||||
version = "1.8.1";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textext";
|
||||
repo = "textext";
|
||||
rev = version;
|
||||
sha256 = "sha256-Qzd39X0X3DdwZ3pIIGvEbNjl6dxjDf3idzjwCkp3WRg=";
|
||||
sha256 = "sha256-FbUfZfVOYEyQVL1YMyNwb/sIUxJ+VhevatjuJI/ocIw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "clipqr";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "imatt-foss";
|
||||
repo = "clipqr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OQ45GV+bViIejGC03lAuvw/y8v1itA+6pFC4H/qL744=";
|
||||
hash = "sha256-gfKCuTZY9VsiXMlw6XX6YylMO4xGoLQU/5QvnDV7GbE=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -1,24 +1,26 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
, fetchFromGitLab
|
||||
, cmake
|
||||
, elfutils
|
||||
, extra-cmake-modules
|
||||
, wrapQtAppsHook
|
||||
, kitemmodels
|
||||
, libiberty
|
||||
, libelf
|
||||
, libdwarf
|
||||
, libopcodes
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
pname = "elf-dissector";
|
||||
version = "unstable-2023-06-06";
|
||||
version = "unstable-2023-12-24";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://invent.kde.org/sdk/elf-dissector.git";
|
||||
rev = "de2e80438176b4b513150805238f3333f660718c";
|
||||
hash = "sha256-2yHPVPu6cncXhFCJvrSodcRFVAxj4vn+e99WhtiZniM=";
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "sdk";
|
||||
repo = "elf-dissector";
|
||||
rev = "613538bd1d87ce72d5115646551a49cf7ff2ee34";
|
||||
hash = "sha256-fQFGFw8nZHMs8J1W2CcHAJCdcvaY2l2/CySyBSsKpyE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -27,12 +29,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
|
||||
|
||||
buildInputs = [ kitemmodels libiberty libelf libdwarf libopcodes ];
|
||||
buildInputs = [ kitemmodels libiberty elfutils libopcodes libdwarf ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://invent.kde.org/sdk/elf-dissector";
|
||||
description = "Tools for inspecting, analyzing and optimizing ELF files";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
maintainers = with maintainers; [ ehmry philiptaron ];
|
||||
};
|
||||
}
|
||||
|
||||
+6
-2
@@ -1,12 +1,16 @@
|
||||
diff --git a/src/lib/disassmbler/disassembler.cpp b/src/lib/disassmbler/disassembler.cpp
|
||||
index 3277544..e77ffc4 100644
|
||||
index 8ff058e..dbd4bbe 100644
|
||||
--- a/src/lib/disassmbler/disassembler.cpp
|
||||
+++ b/src/lib/disassmbler/disassembler.cpp
|
||||
@@ -127,7 +127,7 @@ QString Disassembler::disassembleBinutils(const unsigned char* data, uint64_t si
|
||||
@@ -144,11 +144,7 @@ QString Disassembler::disassembleBinutils(const unsigned char* data, uint64_t si
|
||||
QString result;
|
||||
disassembler_ftype disassemble_fn;
|
||||
disassemble_info info;
|
||||
-#if BINUTILS_VERSION >= BINUTILS_VERSION_CHECK(2, 39)
|
||||
- INIT_DISASSEMBLE_INFO(info, &result, qstring_printf, fprintf_styled);
|
||||
-#else
|
||||
- INIT_DISASSEMBLE_INFO(info, &result, qstring_printf);
|
||||
-#endif
|
||||
+ INIT_DISASSEMBLE_INFO(info, &result, qstring_printf, qstring_printf);
|
||||
|
||||
info.application_data = this;
|
||||
|
||||
@@ -1,25 +1,19 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, go-bindata }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "writefreely";
|
||||
version = "0.13.2";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "writeas";
|
||||
owner = "writefreely";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-GnuqYgiwXdKM+os5RzuUYe9ADOhZaxou5dD7GCEE1Ns=";
|
||||
sha256 = "sha256-vOoTAr33FMQaHIwpwIX0g/KJWQvDn3oVJg14kEY6FIQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-IBer+8FP+IWWJPnaugr8zzQA9mSVFzP0Nofgl/PhtzQ=";
|
||||
vendorHash = "sha256-xTo/zbz9pSjvNntr5dnytiJ7oRAdtEuyiu4mJZgwHTc=";
|
||||
|
||||
nativeBuildInputs = [ go-bindata ];
|
||||
|
||||
preBuild = ''
|
||||
make assets
|
||||
'';
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/writeas/writefreely.softwareVer=${version}" ];
|
||||
ldflags = [ "-s" "-w" "-X github.com/writefreely/writefreely.softwareVer=${version}" ];
|
||||
|
||||
tags = [ "sqlite" ];
|
||||
|
||||
@@ -27,8 +21,8 @@ buildGoModule rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Build a digital writing community";
|
||||
homepage = "https://github.com/writeas/writefreely";
|
||||
homepage = "https://github.com/writefreely/writefreely";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ soopyc ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
}:
|
||||
let
|
||||
pname = "beeper";
|
||||
version = "3.90.11";
|
||||
version = "3.90.22";
|
||||
name = "${pname}-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.90.11-build-2312112f0wxx20y.AppImage";
|
||||
hash = "sha256-ZYv0PUvZiw8pcszCVCd7mHE/+VHb+I25OPu5R7vI1j4=";
|
||||
url = "https://download.todesktop.com/2003241lzgn20jd/beeper-3.90.22-build-2312219r0azbdcp.AppImage";
|
||||
hash = "sha256-gLceLWdY/0yAveV3IdoLbqForFKqyU3a9QQOVEJ9TIg=";
|
||||
};
|
||||
appimage = appimageTools.wrapType2 {
|
||||
inherit version pname src;
|
||||
|
||||
@@ -120,7 +120,7 @@ stdenv.mkDerivation (finalAttrs: builtins.removeAttrs pinData [ "hashes" ] // {
|
||||
genericName = "Matrix Client";
|
||||
comment = finalAttrs.meta.description;
|
||||
categories = [ "Network" "InstantMessaging" "Chat" ];
|
||||
startupWMClass = "element";
|
||||
startupWMClass = "Element";
|
||||
mimeTypes = [ "x-scheme-handler/element" ];
|
||||
};
|
||||
|
||||
|
||||
@@ -22,15 +22,18 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "meli";
|
||||
version = "0.8.2";
|
||||
version = "0.8.4";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.meli.delivery/meli/meli.git";
|
||||
url = "https://git.meli-email.org/meli/meli.git";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iEHTFofga/HV/1jSAqTsqV55zC22tqI7UW7m4PZgz0M=";
|
||||
hash = "sha256-wmIlYgXB17/i9Q+6C7pbcEjVlEuvhmqrSH+cDmaBKLs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ijlivyBezLECBSaWBYVy9tVcSO8U+yGDQyU4dIATR6k=";
|
||||
cargoHash = "sha256-gYS/dxNMz/HkCmRXH5AdHPXJ2giqpAHc4eVXJGOpMDM=";
|
||||
|
||||
# Needed to get openssl-sys to use pkg-config
|
||||
OPENSSL_NO_VENDOR=1;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "fava";
|
||||
version = "1.26.3";
|
||||
version = "1.26.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HjMcNZ+VV5PdTIW3q6Ja/gFIZl6xXDxk0pUCyIX4dPM=";
|
||||
hash = "sha256-kQXojI57NYZgu3qXjtOL/a48YnXhuA6FEazhJ7jntqk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [ setuptools-scm ];
|
||||
|
||||
@@ -27,11 +27,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "PortfolioPerformance";
|
||||
version = "0.66.2";
|
||||
version = "0.67.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz";
|
||||
hash = "sha256-jUakjgprf561OVwBW25+/+q+r2CZ6H1iDM3n6w54IfI=";
|
||||
hash = "sha256-bm38t8wgLEYZVDsMnOv3Wj6TgKu2s36wo8q0Sj7pPNI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -89,8 +89,8 @@ let common = { version, sha256, patches ? [ ], tag ? "z3" }:
|
||||
in
|
||||
{
|
||||
z3_4_12 = common {
|
||||
version = "4.12.2";
|
||||
sha256 = "sha256-DTgpKEG/LtCGZDnicYvbxG//JMLv25VHn/NaF307JYA=";
|
||||
version = "4.12.4";
|
||||
sha256 = "sha256-cxl7D47dRn+uMVOHbF0avj5+ZFWjaJ7lXj/8l6r9q2I=";
|
||||
};
|
||||
z3_4_11 = common {
|
||||
version = "4.11.2";
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
{ at-spi2-core, cmake, dbus, dbus-glib, docbook_xsl, libepoxy, fetchFromGitHub
|
||||
, glib, gtk3, harfbuzz, libXdmcp, libXtst, libpthreadstubs
|
||||
, libselinux, libsepol, libtasn1, libxkbcommon, libxslt, p11-kit, pcre2
|
||||
, pkg-config, lib, stdenv, util-linuxMinimal, vte, wrapGAppsHook, xmlto, nixosTests
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "roxterm";
|
||||
version = "3.14.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "realh";
|
||||
repo = "roxterm";
|
||||
rev = version;
|
||||
sha256 = "sha256-LBxVZ5Az0vGalbQd437of5a3aoZH51v6OKTfndHkkiM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook libxslt ];
|
||||
|
||||
buildInputs =
|
||||
[ gtk3 dbus dbus-glib vte pcre2 harfbuzz libpthreadstubs libXdmcp
|
||||
util-linuxMinimal glib docbook_xsl xmlto libselinux
|
||||
libsepol libxkbcommon libepoxy at-spi2-core libXtst libtasn1 p11-kit
|
||||
];
|
||||
|
||||
passthru.tests.test = nixosTests.terminal-emulators.roxterm;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/realh/roxterm";
|
||||
license = licenses.gpl3;
|
||||
description = "Tabbed, VTE-based terminal emulator";
|
||||
longDescription = ''
|
||||
Tabbed, VTE-based terminal emulator. Similar to gnome-terminal without
|
||||
the dependencies on Gnome.
|
||||
'';
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -36,6 +36,9 @@ lib.makeOverridable (args: stdenvNoCC.mkDerivation (extendedBy
|
||||
dontBuild = true;
|
||||
preferLocalBuild = true;
|
||||
|
||||
# Prevent `patch` from emitting `.orig` files (that end up in the output)
|
||||
patchFlags = [ "--no-backup-if-mismatch" "-p1" ];
|
||||
|
||||
outputHashMode = "recursive";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, stdenvNoCC, fetchFromGitHub, fetchpatch, python3, nix-update-script }:
|
||||
{ lib, buildLua, fetchFromGitHub, fetchpatch, python3, nix-update-script }:
|
||||
|
||||
# Usage: `pkgs.mpv.override { scripts = [ pkgs.mpvScripts.sponsorblock ]; }`
|
||||
stdenvNoCC.mkDerivation {
|
||||
buildLua {
|
||||
pname = "mpv_sponsorblock";
|
||||
version = "unstable-2023-01-30";
|
||||
|
||||
@@ -12,8 +12,6 @@ stdenvNoCC.mkDerivation {
|
||||
sha256 = "sha256-iUXaTWWFEdxhxClu2NYbQcThlvYty3A2dEYGooeAVAQ=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
patches = [
|
||||
# Use XDG_DATA_HOME and XDG_CACHE_HOME if defined for UID and DB
|
||||
# Necessary to avoid sponsorblock to write in the nix store at runtime.
|
||||
@@ -34,23 +32,16 @@ stdenvNoCC.mkDerivation {
|
||||
--replace 'mp.find_config_file("scripts")' "\"$out/share/mpv/scripts\""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/mpv/scripts
|
||||
cp -r sponsorblock.lua sponsorblock_shared $out/share/mpv/scripts/
|
||||
'';
|
||||
postInstall = "cp -a sponsorblock_shared $out/share/mpv/scripts/";
|
||||
|
||||
passthru = {
|
||||
scriptName = "sponsorblock.lua";
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Script for mpv to skip sponsored segments of YouTube videos";
|
||||
homepage = "https://github.com/po5/mpv_sponsorblock";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ pacien ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,145 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, jdk11
|
||||
, gradle_6
|
||||
, perl
|
||||
, metasploit
|
||||
, makeWrapper
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
, writeDarwinBundle
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "armitage";
|
||||
version = "unstable-2022-12-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r00t0v3rr1d3";
|
||||
repo = "armitage";
|
||||
rev = "991244e9a0c0fc9302e48c4e708347c315f78b13";
|
||||
hash = "sha256-0ik20wzE0cf6cC/HY6RwMHqkvqPFpZmOUyZyb5H3SHg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
name = "Remove-mentions-of-old-metasploit-versions.patch";
|
||||
url = "https://gitlab.com/kalilinux/packages/armitage/-/raw/042beb7494a10227761ecb3ddabf4019bbb78681/debian/patches/Remove-mentions-of-old-metasploit-versions.patch";
|
||||
hash = "sha256-VUey/e8kcBWqAxYTfIXoyTAoDR/UKZKqBJAKmdabArY=";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "Update-postgresql-version-to-support-scram-sha-256.patch";
|
||||
url = "https://gitlab.com/kalilinux/packages/armitage/-/raw/042beb7494a10227761ecb3ddabf4019bbb78681/debian/patches/Update-postgresql-version-to-support-scram-sha-256.patch";
|
||||
hash = "sha256-ZPvcRoUCrq32g0Mw8+EhNl8DlI+jMYUlFyPW1VScgzc=";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "fix-launch-script.patch";
|
||||
url = "https://gitlab.com/kalilinux/packages/armitage/-/raw/042beb7494a10227761ecb3ddabf4019bbb78681/debian/patches/fix-launch-script.patch";
|
||||
hash = "sha256-I6T7iwShQLn+ZHuKa117VOlItXjY4/51RDbjvNJEW/4=";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "fix-meterpreter.patch";
|
||||
url = "https://gitlab.com/kalilinux/packages/armitage/-/raw/042beb7494a10227761ecb3ddabf4019bbb78681/debian/patches/fix-meterpreter.patch";
|
||||
hash = "sha256-p4fs5xFdC2apW0U8x8u9S4p5gq3Eiv+0E4CGccQZYKY=";
|
||||
})
|
||||
];
|
||||
|
||||
deps = stdenv.mkDerivation {
|
||||
pname = "${pname}-deps";
|
||||
inherit version src patches;
|
||||
nativeBuildInputs = [ gradle_6 perl ];
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
gradle --no-daemon assemble
|
||||
'';
|
||||
# perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
|
||||
installPhase = ''
|
||||
find $GRADLE_USER_HOME -type f -regex '.*\.\(jar\|pom\)' \
|
||||
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
|
||||
| sh
|
||||
rm -rf $out/tmp
|
||||
'';
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "sha256-6o3HlBfmpjpmMeiRydOme6fJc8caq8EBRVf3nJq9vqo=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname version src patches;
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "armitage";
|
||||
desktopName = "Armitage";
|
||||
exec = "armitage";
|
||||
icon = "armitage";
|
||||
comment = finalAttrs.meta.description;
|
||||
categories = [ "Network" "Security" ];
|
||||
startupNotify = false;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
jdk11
|
||||
gradle_6
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
writeDarwinBundle
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
substituteInPlace armitage/build.gradle \
|
||||
--replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }'
|
||||
substituteInPlace cortana/build.gradle \
|
||||
--replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }'
|
||||
gradle --offline --no-daemon assemble
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
JAR="$out/share/armitage/armitage.jar"
|
||||
install -Dm444 build/armitage.jar $JAR
|
||||
|
||||
install -Dm755 dist/unix/armitage $out/bin/armitage
|
||||
substituteInPlace $out/bin/armitage \
|
||||
--replace "armitage.jar" "$JAR"
|
||||
wrapProgram $out/bin/armitage \
|
||||
--prefix PATH : "${lib.makeBinPath [ jdk11 metasploit ]}"
|
||||
|
||||
install -Dm755 dist/unix/teamserver $out/bin/teamserver
|
||||
substituteInPlace $out/bin/teamserver \
|
||||
--replace "armitage.jar" "$JAR"
|
||||
wrapProgram $out/bin/teamserver \
|
||||
--prefix PATH : "${lib.makeBinPath [ jdk11 metasploit ]}"
|
||||
|
||||
install -Dm444 dist/unix/armitage-logo.png $out/share/pixmaps/armitage.png
|
||||
${lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p "$out/Applications/Armitage.app/Contents/MacOS"
|
||||
mkdir -p "$out/Applications/Armitage.app/Contents/Resources"
|
||||
cp dist/mac/Armitage.app/Contents/Resources/macIcon.icns $out/Applications/Armitage.app/Contents/Resources
|
||||
write-darwin-bundle $out Armitage armitage macIcon
|
||||
''}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Graphical cyber attack management tool for Metasploit";
|
||||
homepage = "https://github.com/r00t0v3rr1d3/armitage";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ emilytrau ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "armitage";
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,50 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitea
|
||||
, blueprint-compiler
|
||||
, desktop-file-utils
|
||||
, glib
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "door-knocker";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "tytan652";
|
||||
repo = "door-knocker";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-9kCEPo+rlR344uPGhuWxGq6dAPgyCFEQ1XPGkLfp/bA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
desktop-file-utils
|
||||
blueprint-compiler
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk4
|
||||
libadwaita
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to check the availability of portals";
|
||||
homepage = "https://codeberg.org/tytan652/door-knocker";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ symphorien ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "door-knocker";
|
||||
};
|
||||
})
|
||||
@@ -4,16 +4,16 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "drone-scp";
|
||||
version = "1.6.12";
|
||||
version = "1.6.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "appleboy";
|
||||
repo = "drone-scp";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pdVSb+hOW38LMP6fwAxVy/8SyfwKcMe4SgemPZ1PlSg=";
|
||||
hash = "sha256-xto5QPrrPzGFy9GYUfK8lFUcXxi9gGHHs/84FdSjbYc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-HQeWj5MmVfR6PkL2FEnaptMH+4nSh7T2wfOaZyUZvbM=";
|
||||
vendorHash = "sha256-rVS2ZKeJou/ZfLvNMd6jMRYMYuDXiqGyZSSDX9y3FQo=";
|
||||
|
||||
# Needs a specific user...
|
||||
doCheck = false;
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, testers
|
||||
, writeText
|
||||
, runCommand
|
||||
, jj
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "jj";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tidwall";
|
||||
repo = "jj";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Yijap5ZghTBe1ahkQgjjxuo++SriJWXgRqrNXIVQ0os=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-39rA3jMGYhsh1nrGzI1vfHZzZDy4O6ooYWB8af654mM=";
|
||||
|
||||
subPackages = [ "cmd/jj" ];
|
||||
|
||||
CGO_ENABLED = "0";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests = with testers; {
|
||||
version = testVersion { package = jj; };
|
||||
examples = testEqualContents {
|
||||
assertion = "examples from projects README.md work";
|
||||
actual = runCommand "actual" { nativeBuildInputs = [ jj ]; } ''
|
||||
{
|
||||
echo '{"name":{"first":"Tom","last":"Smith"}}' | jj name.last
|
||||
echo '{"name":{"first":"Tom","last":"Smith"}}' | jj name
|
||||
echo '{"name":{"first":"Tom","last":"Smith"}}' | jj -v Andy name.first
|
||||
echo '{"friends":["Tom","Jane","Carol"]}' | jj -v Andy friends.-1
|
||||
echo '{"age":46,"name":{"first":"Tom","last":"Smith"}}' | jj -D age
|
||||
} > $out
|
||||
'';
|
||||
expected = writeText "expected" ''
|
||||
Smith
|
||||
{"first":"Tom","last":"Smith"}
|
||||
{"name":{"first":"Andy","last":"Smith"}}
|
||||
{"friends":["Tom","Jane","Carol","Andy"]}
|
||||
{"name":{"first":"Tom","last":"Smith"}}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSON Stream Editor (command line utility)";
|
||||
longDescription = ''
|
||||
JJ is a command line utility that provides a fast and simple way to retrieve
|
||||
or update values from JSON documents. It's powered by GJSON and SJSON under the hood.
|
||||
It's fast because it avoids parsing irrelevant sections of json, skipping over values
|
||||
that do not apply, and aborts as soon as the target value has been found or updated.
|
||||
'';
|
||||
homepage = "https://github.com/tidwall/jj";
|
||||
changelog = "https://github.com/tidwall/jj/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
mainProgram = "jj";
|
||||
maintainers = with maintainers; [ katexochen ];
|
||||
};
|
||||
}
|
||||
Generated
+3829
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,46 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, runCommand, xcodebuild, protobuf, boringssl }:
|
||||
let
|
||||
# boring-sys expects the static libraries in build/ instead of lib/
|
||||
boringssl-wrapper = runCommand "boringssl-wrapper" { } ''
|
||||
mkdir $out
|
||||
cd $out
|
||||
ln -s ${boringssl.out}/lib build
|
||||
ln -s ${boringssl.dev}/include include
|
||||
'';
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "libsignal-ffi";
|
||||
# must match the version used in mautrix-signal
|
||||
# see https://github.com/mautrix/signal/issues/401
|
||||
version = "0.36.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "signalapp";
|
||||
repo = "libsignal";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UD4E2kI1ZNtFhwBGphTzF37NHqbSZjQGHbliOWAMYOE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ protobuf ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
|
||||
buildInputs = [ rustPlatform.bindgenHook ];
|
||||
|
||||
env.BORING_BSSL_PATH = "${boringssl-wrapper}";
|
||||
|
||||
# The Cargo.lock contains git dependencies
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"boring-3.1.0" = "sha256-R6hh4K57mgV10nuVcMZETvxlQsMsmGapgCQ7pjuognk=";
|
||||
"curve25519-dalek-4.1.1" = "sha256-p9Vx0lAaYILypsI4/RVsHZLOqZKaa4Wvf7DanLA38pc=";
|
||||
};
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "-p" "libsignal-ffi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A C ABI library which exposes Signal protocol logic";
|
||||
homepage = "https://github.com/signalapp/libsignal";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ niklaskorz ];
|
||||
};
|
||||
}
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "livekit";
|
||||
version = "1.5.1";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "livekit";
|
||||
repo = "livekit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3KRES/2mGO6b1ZZEGx29Yu5wgEG4NOJ7/J0xPvQiNWk=";
|
||||
hash = "sha256-Z1N6iYXd3HswRJql3YZMot5fdkdFFbJuxyGDgLsbtQI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-5wByIkMs3321u4/2vPpsZ/L5zlcgrZo0b+NjeMR1RWE=";
|
||||
vendorHash = "sha256-O0rlezMdhoRHdK37BGKW3CHLpYfkFC1d83o5u54LQ8k=";
|
||||
|
||||
subPackages = [ "cmd/server" ];
|
||||
|
||||
|
||||
+10
-7
@@ -7,25 +7,28 @@
|
||||
, libjack2
|
||||
, alsa-lib
|
||||
, bzip2
|
||||
, libpulseaudio }:
|
||||
, libpulseaudio
|
||||
, xz
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocenaudio";
|
||||
version = "3.13.2";
|
||||
version = "3.13.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
|
||||
sha256 = "sha256-ITlnOrreZHTH8NDjx/hQzEV3toAwaM2bWFLqMf3btNE=";
|
||||
hash = "sha256-B0+NyFZ9c0ljzYMJm3741TpoxFS0Zo6hxzhadYFofSA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
alsa-lib
|
||||
autoPatchelfHook
|
||||
qt5.qtbase
|
||||
qt5.wrapQtAppsHook
|
||||
bzip2
|
||||
libjack2
|
||||
libpulseaudio
|
||||
bzip2
|
||||
alsa-lib
|
||||
qt5.qtbase
|
||||
qt5.wrapQtAppsHook
|
||||
xz
|
||||
];
|
||||
|
||||
buildInputs = [ dpkg ];
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
at-spi2-core
|
||||
, cmake
|
||||
, dbus
|
||||
, dbus-glib
|
||||
, docbook_xsl
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
, gtk3
|
||||
, harfbuzz
|
||||
, lib
|
||||
, libXdmcp
|
||||
, libXtst
|
||||
, libepoxy
|
||||
, libpthreadstubs
|
||||
, libselinux
|
||||
, libsepol
|
||||
, libtasn1
|
||||
, libxkbcommon
|
||||
, libxslt
|
||||
, nixosTests
|
||||
, p11-kit
|
||||
, pcre2
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, util-linuxMinimal
|
||||
, vte
|
||||
, wrapGAppsHook
|
||||
, xmlto
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "roxterm";
|
||||
version = "3.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "realh";
|
||||
repo = "roxterm";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-NSOGq3rN+9X4WA8Q0gMbZ9spO/dbZkzeo4zEno/Kgcs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
libxslt
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
at-spi2-core
|
||||
dbus
|
||||
dbus-glib
|
||||
docbook_xsl
|
||||
glib
|
||||
gtk3
|
||||
harfbuzz
|
||||
libXdmcp
|
||||
libXtst
|
||||
libepoxy
|
||||
libpthreadstubs
|
||||
libselinux
|
||||
libsepol
|
||||
libtasn1
|
||||
libxkbcommon
|
||||
p11-kit
|
||||
pcre2
|
||||
util-linuxMinimal
|
||||
vte
|
||||
xmlto
|
||||
];
|
||||
|
||||
passthru.tests.test = nixosTests.terminal-emulators.roxterm;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/realh/roxterm";
|
||||
description = " A highly configurable terminal emulator";
|
||||
longDescription = ''
|
||||
ROXTerm is a terminal emulator intended to provide similar features to
|
||||
gnome-terminal, based on the same VTE library. It was originally designed
|
||||
to have a smaller footprint and quicker start-up time by not using the
|
||||
Gnome libraries and by using a separate applet to provide the
|
||||
configuration GUI, but thanks to all the features it's acquired over the
|
||||
years ROXTerm can probably now be accused of bloat. However, it is more
|
||||
configurable than gnome-terminal and aimed more at "power" users who make
|
||||
heavy use of terminals.
|
||||
|
||||
It still supports the ROX desktop application layout it was named after,
|
||||
but can also be installed in a more conventional manner for use in other
|
||||
desktop environments.
|
||||
'';
|
||||
changelog = "https://github.com/realh/roxterm/blob/${finalAttrs.src.rev}/debian/changelog";
|
||||
license = with lib.licenses; [ gpl2Plus gpl3Plus lgpl3Plus ];
|
||||
mainProgram = "roxterm";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -17,13 +17,13 @@
|
||||
assert lib.elem lineEditingLibrary [ "isocline" "readline" ];
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "trealla";
|
||||
version = "2.31.6";
|
||||
version = "2.32.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trealla-prolog";
|
||||
repo = "trealla";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-gptWmATDwcSOUE5YYLEi6r/gVIVk0+nCeynxhD1ra/c=";
|
||||
hash = "sha256-Meyy6muzJt/Lg76sa+nwZXCOhfeMTwO4VYTXO/o20XI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "uxn";
|
||||
version = "unstable-2023-12-05";
|
||||
version = "unstable-2023-12-25";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~rabbits";
|
||||
repo = "uxn";
|
||||
rev = "14bf95ba390f9cb84c23ed084b69787efe253e06";
|
||||
hash = "sha256-oQAt9jDO0FZm6+6bBt/nDimkbiKsvuhsxnFcsNWvop8=";
|
||||
rev = "3f252c0ee378933856b9b01be1b3c7da58cacad5";
|
||||
hash = "sha256-DcKZ0LMm9Q1rC+//9jEygitVG+UuXeDXcgSZDOueExc=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "projects" ];
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vcpkg-tool";
|
||||
version = "2023-10-18";
|
||||
version = "2023-12-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
repo = "vcpkg-tool";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-Hm+GSKov9A6tmN10BHOTVy8aWkLOJNBMOQJNm4HnWuI=";
|
||||
hash = "sha256-Ol31TDY3cLEzXQk8YpK2Lf3CEnM5RkJqdcm/OQGUetE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,19 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
makeBinaryWrapper,
|
||||
pkg-config,
|
||||
libGL,
|
||||
libxkbcommon,
|
||||
xorg,
|
||||
wineWowPackages,
|
||||
fetchpatch,
|
||||
}: let
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, makeBinaryWrapper
|
||||
, pkg-config
|
||||
, libGL
|
||||
, libxkbcommon
|
||||
, xorg
|
||||
, wayland
|
||||
, vulkan-headers
|
||||
, wineWowPackages
|
||||
, fetchpatch
|
||||
}:
|
||||
let
|
||||
# wine-staging doesn't support overrideAttrs for now
|
||||
wine = wineWowPackages.stagingFull.overrideDerivation (oldAttrs: {
|
||||
patches =
|
||||
(oldAttrs.patches or [])
|
||||
(oldAttrs.patches or [ ])
|
||||
++ [
|
||||
# upstream issue: https://bugs.winehq.org/show_bug.cgi?id=55604
|
||||
# Here are the currently applied patches for Roblox to run under WINE:
|
||||
@@ -25,46 +27,46 @@
|
||||
];
|
||||
});
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "vinegar";
|
||||
version = "1.5.9";
|
||||
buildGoModule rec {
|
||||
pname = "vinegar";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinegarhq";
|
||||
repo = "vinegar";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cLzQnNmQYyAIdTGygk/CNU/mxGgcgoFTg5G/0DNwpz4=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "vinegarhq";
|
||||
repo = "vinegar";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TebRAqMPrXSSKg05iX3Y/S0uACePOR/QNnNcOOMw+Xk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-DZI4APnrldnwOmLZ9ucFBGQDxzPXTIi44eLu74WrSBI=";
|
||||
vendorHash = "sha256-Ex6PRd3rD2jbLXlY36koNvZF3P+gAZTE9hExIfOw9CE=";
|
||||
|
||||
nativeBuildInputs = [pkg-config makeBinaryWrapper];
|
||||
buildInputs = [libGL libxkbcommon xorg.libX11 xorg.libXcursor xorg.libXfixes wine];
|
||||
nativeBuildInputs = [ pkg-config makeBinaryWrapper ];
|
||||
buildInputs = [ libGL libxkbcommon xorg.libX11 xorg.libXcursor xorg.libXfixes wayland vulkan-headers wine ];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
make PREFIX=$out
|
||||
runHook postBuild
|
||||
'';
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
make PREFIX=$out
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make PREFIX=$out install
|
||||
runHook postInstall
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make PREFIX=$out install
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/vinegar \
|
||||
--prefix PATH : ${lib.makeBinPath [wine]}
|
||||
'';
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/vinegar \
|
||||
--prefix PATH : ${lib.makeBinPath [wine]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open-source, minimal, configurable, fast bootstrapper for running Roblox on Linux";
|
||||
homepage = "https://github.com/vinegarhq/vinegar";
|
||||
changelog = "https://github.com/vinegarhq/vinegar/releases/tag/v${version}";
|
||||
mainProgram = "vinegar";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = ["x86_64-linux" "i686-linux"];
|
||||
maintainers = with maintainers; [nyanbinary];
|
||||
};
|
||||
}
|
||||
meta = with lib; {
|
||||
description = "An open-source, minimal, configurable, fast bootstrapper for running Roblox on Linux";
|
||||
homepage = "https://github.com/vinegarhq/vinegar";
|
||||
changelog = "https://github.com/vinegarhq/vinegar/releases/tag/v${version}";
|
||||
mainProgram = "vinegar";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ nyanbinary ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,13 +18,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
hash = "sha256-AYH9fW20/p+mq6lxR1lcCV1BQ/kgcsjHncpMvYWXnWA=";
|
||||
};
|
||||
|
||||
# Propagate sddm theme dependencies to user env otherwise sddm does
|
||||
# not find them. Putting them in buildInputs is not enough.
|
||||
propagatedUserEnvPkgs = [
|
||||
kdeclarative.bin
|
||||
plasma-framework
|
||||
plasma-workspace
|
||||
];
|
||||
outputs = [ "out" "sddm" ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs install.sh
|
||||
@@ -34,12 +28,12 @@ stdenvNoCC.mkDerivation rec {
|
||||
--replace '$HOME/.config' $out/share
|
||||
|
||||
substituteInPlace sddm/install.sh \
|
||||
--replace /usr $out \
|
||||
--replace /usr $sddm \
|
||||
--replace '$(cd $(dirname $0) && pwd)' . \
|
||||
--replace '"$UID" -eq "$ROOT_UID"' true
|
||||
|
||||
substituteInPlace sddm/Colloid/Main.qml \
|
||||
--replace /usr $out
|
||||
--replace /usr $sddm
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@@ -50,13 +44,23 @@ stdenvNoCC.mkDerivation rec {
|
||||
name= HOME="$TMPDIR" \
|
||||
./install.sh --dest $out/share/themes
|
||||
|
||||
mkdir -p $out/share/sddm/themes
|
||||
mkdir -p $sddm/share/sddm/themes
|
||||
cd sddm
|
||||
source install.sh
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# Propagate sddm theme dependencies to user env otherwise sddm
|
||||
# does not find them. Putting them in buildInputs is not enough.
|
||||
|
||||
mkdir -p $sddm/nix-support
|
||||
|
||||
printWords ${kdeclarative.bin} ${plasma-framework} ${plasma-workspace} \
|
||||
>> $sddm/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -58,11 +58,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "efl";
|
||||
version = "1.26.3";
|
||||
version = "1.27.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.enlightenment.org/rel/libs/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-2fg6oP2TNPRN7rTklS3A5RRGg6+seG/uvOYDCVFhfRU=";
|
||||
sha256 = "sha256-PfuZ+8wmjAvHl+L4PoxQPvneZihPQLOBu1l6CBhcAPQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "enlightenment";
|
||||
version = "0.25.4";
|
||||
version = "0.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-VttdIGuCG5qIMdJucT5BCscLIlWm9D/N98Ae794jt6I=";
|
||||
sha256 = "sha256-EbbvBnG+X+rWiL9VTDCiocaDSTrRDF/jEV/7RlVCToQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -31,10 +31,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# Queries pkg-config via pkg_get_variable, can't override prefix
|
||||
substituteInPlace init/CMakeLists.txt \
|
||||
--replace "\''${SYSTEMD_SYSTEM_DIR}" "$out/lib/systemd/system"
|
||||
--replace 'pkg_get_variable(SYSTEMD_SYSTEM_DIR systemd systemdsystemunitdir)' 'set(SYSTEMD_SYSTEM_DIR ''${CMAKE_INSTALL_PREFIX}/lib/systemd/system)'
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace 'pkg_get_variable(AS_INTERFACES_DIR accountsservice interfacesdir)' 'set(AS_INTERFACES_DIR "''${CMAKE_INSTALL_DATADIR}/accountsservice/interfaces")' \
|
||||
--replace 'DESTINATION ''${DBUS_INTERFACES_DIR}' 'DESTINATION ${placeholder "out"}/''${DBUS_INTERFACES_DIR}'
|
||||
--replace 'pkg_get_variable(AS_INTERFACES_DIR accountsservice interfacesdir)' 'set(AS_INTERFACES_DIR "''${CMAKE_INSTALL_FULL_DATADIR}/accountsservice/interfaces")' \
|
||||
--replace '../../dbus-1/interfaces' "\''${CMAKE_INSTALL_PREFIX}/\''${DBUS_INTERFACES_DIR}" \
|
||||
--replace 'DESTINATION ''${DBUS_INTERFACES_DIR}' 'DESTINATION ''${CMAKE_INSTALL_PREFIX}/''${DBUS_INTERFACES_DIR}'
|
||||
substituteInPlace src/CMakeLists.txt \
|
||||
--replace "\''${DBUS_INTERFACES_DIR}/org.freedesktop.Accounts.xml" '${accountsservice}/share/dbus-1/interfaces/org.freedesktop.Accounts.xml'
|
||||
'';
|
||||
|
||||
+3
-3
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "hare-ev";
|
||||
version = "unstable-2023-10-31";
|
||||
version = "unstable-2023-12-04";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "hare-ev";
|
||||
rev = "9bdbd02401334b7d762131a46e64ca2cd24846dc";
|
||||
hash = "sha256-VY8nsy5kLDMScA2ig3Rgbkf6VQlCTnGWjzGvsI9OcaQ=";
|
||||
rev = "e3c3f7613c602672ac41a3e47c106a5bd27a2378";
|
||||
hash = "sha256-TQsR2lXJfkPu53WpJy/K+Jruyfw8mCkEIE9DbFQoS+s=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
@@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-HUC+8Vd0koAmumRZ8gS5u6LVa7fUfkIYRaxVv6/7Hgg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace \
|
||||
configure \
|
||||
--replace \
|
||||
'COMPILER=`./.1 2> /dev/null`' \
|
||||
"COMPILER=gcc"
|
||||
'';
|
||||
|
||||
configureFlags = ["--platform=${stdenv.hostPlatform.parsed.cpu.name}}"];
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -7,17 +7,19 @@
|
||||
, libuuid
|
||||
, openssl
|
||||
, libossp_uuid
|
||||
, freeswitch
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libks";
|
||||
version = "1.8.2";
|
||||
version = "2.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "signalwire";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-TJ3q97K3m3zYGB1D5lLVyrh61L3vtnP5I64lP/DYzW4=";
|
||||
sha256 = "sha256-iAgiGo/PMG0L4S/ZqSPL7Hl8akCNyva4JhaOkcHit8w=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -38,7 +40,13 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optional stdenv.isLinux libuuid
|
||||
++ lib.optional stdenv.isDarwin libossp_uuid;
|
||||
|
||||
passthru = {
|
||||
tests.freeswitch = freeswitch;
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Foundational support for signalwire C products";
|
||||
homepage = "https://github.com/signalwire/libks";
|
||||
maintainers = with lib.maintainers; [ misuzu ];
|
||||
|
||||
@@ -1,42 +1,35 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, perl
|
||||
, which
|
||||
, boost
|
||||
, rdkafka
|
||||
, jansson
|
||||
, curl
|
||||
, avro-c
|
||||
, avro-cpp }:
|
||||
, avro-cpp
|
||||
, nix-update-script }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libserdes";
|
||||
version = "6.2.0";
|
||||
version = "7.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "confluentinc";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "194ras18xw5fcnjgg1isnb24ydx9040ndciniwcbdb7w7wd901gc";
|
||||
hash = "sha256-rg4SWa9nIDT6JrnnCDwdiFE1cvpUn0HWHn+bPkXMHQ4=";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
nativeBuildInputs = [ perl which ];
|
||||
|
||||
buildInputs = [ boost rdkafka jansson curl avro-c avro-cpp ];
|
||||
|
||||
makeFlags = [ "GEN_PKG_CONFIG=y" ];
|
||||
|
||||
patches = [
|
||||
# Fix compatibility with Avro master branch
|
||||
(fetchpatch {
|
||||
url = "https://github.com/confluentinc/libserdes/commit/d7a355e712ab63ec77f6722fb5a9e8056e7416a2.patch";
|
||||
sha256 = "14bdx075n4lxah63kp7phld9xqlz3pzs03yf3wbq4nmkgwac10dh";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs configure lds-gen.pl
|
||||
'' + lib.optionalString (stdenv.cc.libcxx != null) ''
|
||||
@@ -65,6 +58,8 @@ stdenv.mkDerivation rec {
|
||||
chmod -x ''${!outputInclude}/include/libserdes/*.h
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A schema-based serializer/deserializer C/C++ library with support for Avro and the Confluent Platform Schema Registry";
|
||||
homepage = "https://github.com/confluentinc/libserdes";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ boost, cmake, fetchFromGitHub, gtest, libpcap, openssl, lib, stdenv }:
|
||||
{ boost, cmake, fetchFromGitHub, fetchpatch, gtest, libpcap, openssl, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtins";
|
||||
@@ -11,6 +11,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-mXbinXh/CO0SZZ71+K+FozbHCCoi12+AIa2o+P0QmUw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull gcc-13 fixes:
|
||||
# https://github.com/mfontanini/libtins/pull/496
|
||||
# TODO: remove when upgrade to the next version.
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/mfontanini/libtins/commit/812be7966d445ec56e88eab512f8fd2d57152427.patch";
|
||||
hash = "sha256-5RCFPe95r1CBrAocjTPR2SvUlgaGa1aBc8RazyxUj3M=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
rm -rf googletest
|
||||
cp -r ${gtest.src} googletest
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tinyxml-2";
|
||||
version = "9.0.0";
|
||||
version = "10.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "tinyxml2";
|
||||
owner = "leethomason";
|
||||
rev = version;
|
||||
sha256 = "sha256-AQQOctXi7sWIH/VOeSUClX6hlm1raEQUOp+VoPjLM14=";
|
||||
sha256 = "sha256-9xrpPFMxkAecg3hMHzzThuy0iDt970Iqhxs57Od+g2g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "a2wsgi";
|
||||
version = "1.9.0";
|
||||
version = "1.10.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-cd/UGOUbnoI1nrRZx+2hTtg/j0ClD0dKbXNXpnHNPl4=";
|
||||
hash = "sha256-yA7qK3Uu2kEhbGRbgqQ6YvYAbGM27zGn2xQDOZ7ffBY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mandown";
|
||||
version = "1.6.0";
|
||||
version = "1.6.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "potatoeggy";
|
||||
repo = "mandown";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2kFzB1xLVEvO7Vo39lwQsVirRY6Z8GMczWK2b1oVYTg=";
|
||||
hash = "sha256-vf7BCreRb77QkurZJ5cKCVxZe+fErd7/6NQTupa4Xao=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "neo4j";
|
||||
version = "5.15.0";
|
||||
version = "5.16.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "neo4j";
|
||||
repo = "neo4j-python-driver";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vO/LzLQ7pA/4KcX48dIM9eH6z4XMbse0xGOJxZPcMfo=";
|
||||
hash = "sha256-ly/R2ufd5gEkUyfajpeMQblTiKipC9HFtxkWkh16zLo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyunifiprotect";
|
||||
version = "4.22.3";
|
||||
version = "4.22.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
owner = "briis";
|
||||
repo = "pyunifiprotect";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-KpijjKy5poiWghupXq8rNCtzuPXsPgu+ePAowhzOSYI=";
|
||||
hash = "sha256-xob7TmcI4hfxFmjspNfpdNEQBIJnyisykEcvr63s/d8=";
|
||||
};
|
||||
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
, pkg-config
|
||||
, libmysqlclient
|
||||
, libaio
|
||||
, libck
|
||||
, luajit
|
||||
# For testing:
|
||||
, testers
|
||||
@@ -16,7 +17,8 @@ stdenv.mkDerivation rec {
|
||||
version = "1.0.20";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libmysqlclient luajit ] ++ lib.optionals stdenv.isLinux [ libaio ];
|
||||
buildInputs = [ libmysqlclient luajit libck ] ++ lib.optionals stdenv.isLinux [ libaio ];
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "akopytov";
|
||||
@@ -31,6 +33,9 @@ stdenv.mkDerivation rec {
|
||||
# The bundled version does not build on aarch64-darwin:
|
||||
# https://github.com/akopytov/sysbench/issues/416
|
||||
"--with-system-luajit"
|
||||
"--with-system-ck"
|
||||
"--with-mysql-includes=${lib.getDev libmysqlclient}/include/mysql"
|
||||
"--with-mysql-libs=${libmysqlclient}/lib/mysql"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
|
||||
@@ -1,28 +1,49 @@
|
||||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, testers
|
||||
, mockgen
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mockgen";
|
||||
version = "1.6.0";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
owner = "uber-go";
|
||||
repo = "mock";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5Kp7oTmd8kqUN+rzm9cLqp9nb3jZdQyltGGQDiRSWcE=";
|
||||
sha256 = "sha256-3nt70xrZisK5vgQa+STZPiY4F9ITKw8PbBWcKoBn4Vc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-5gkrn+OxbNN8J1lbgbxM8jACtKA7t07sbfJ7gVJWpJM=";
|
||||
vendorHash = "sha256-mcNVud2jzvlPPQEaar/eYZkP71V2Civz+R5v10+tewA=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
subPackages = [ "mockgen" ];
|
||||
|
||||
preCheck = ''
|
||||
export GOROOT="$(go env GOROOT)"
|
||||
'';
|
||||
ldflags = [
|
||||
"-X=main.version=${version}"
|
||||
"-X=main.date=1970-01-01T00:00:00Z"
|
||||
"-X=main.commit=unknown"
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = mockgen;
|
||||
command = "mockgen -version";
|
||||
version = ''
|
||||
v${version}
|
||||
Commit: unknown
|
||||
Date: 1970-01-01T00:00:00Z
|
||||
'';
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "GoMock is a mocking framework for the Go programming language";
|
||||
homepage = "https://github.com/golang/mock";
|
||||
homepage = "https://github.com/uber-go/mock";
|
||||
changelog = "https://github.com/uber-go/mock/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bouk ];
|
||||
mainProgram = "mockgen";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
let
|
||||
pname = "cargo-llvm-cov";
|
||||
version = "0.5.39";
|
||||
version = "0.6.0";
|
||||
|
||||
owner = "taiki-e";
|
||||
homepage = "https://github.com/${owner}/${pname}";
|
||||
@@ -37,7 +37,7 @@ let
|
||||
cargoLock = fetchurl {
|
||||
name = "Cargo.lock";
|
||||
url = "https://crates.io/api/v1/crates/${pname}/${version}/download";
|
||||
sha256 = "sha256-iaY4whQ/w6jpQ3utebtV87mCJiawI0G8ud45SVTb39o=";
|
||||
sha256 = "sha256-n/LMICQ+38Y9PrzFh9uJ0ljmUrAxfue2l1HculuZ1x8=";
|
||||
downloadToTemp = true;
|
||||
postFetch = ''
|
||||
tar xzf $downloadedFile ${pname}-${version}/Cargo.lock
|
||||
@@ -55,7 +55,7 @@ rustPlatform.buildRustPackage {
|
||||
inherit owner;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aKUVOaVv3tlWKwPbmGmK0wEAudg6tSnXh4Tty9aGctk=";
|
||||
sha256 = "sha256-Q1Us7VhvWaCQP9Aik9Fd0rXLP/tuSHmc98+3HoY2YNY=";
|
||||
leaveDotGit = true;
|
||||
};
|
||||
|
||||
@@ -64,7 +64,7 @@ rustPlatform.buildRustPackage {
|
||||
cp ${cargoLock} source/Cargo.lock
|
||||
'';
|
||||
|
||||
cargoSha256 = "sha256-/x3ZjPJWCsuzyOPPeJ+ZulTTBrftoAkPRDrMqqUOq/8=";
|
||||
cargoSha256 = "sha256-42s/90clkRXkNIZZxZQRwhNxMdCvgiknkCs/hWsofw0=";
|
||||
|
||||
# `cargo-llvm-cov` reads these environment variables to find these binaries,
|
||||
# which are needed to run the tests
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-show-asm";
|
||||
version = "0.2.23";
|
||||
version = "0.2.24";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-/vtLRigu/DjvzB3k5UENrUm5JWMhFUV/kkE+2pzgTKo=";
|
||||
hash = "sha256-VRRuC/y1+oZoM0SKCaVTa1sK80dbrtyAxc2OFSxhI/Q=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-X9nFwsh6Q82EG/0iYlTUDkkm2okYfTLbOihslNREQTY=";
|
||||
cargoHash = "sha256-rytxXaJk7r+ktgxsUY+NxMOJdqnsvcyXRSswEriYH+c=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
||||
@@ -18,16 +18,16 @@ let
|
||||
}.${system} or throwSystem;
|
||||
|
||||
hash = {
|
||||
aarch64-darwin = "sha256-ROZVmhdy3vltNeSgV65aAwythgydusYYVB7XQOJ/spw=";
|
||||
aarch64-linux = "sha256-aX6CTnsWCwf0wDc7wl3skHwC5aJgoBz/2JtgS34eX4s=";
|
||||
armv7l-linux = "sha256-q1449OZ5wvgdJjxhg1+noQVFcFfHKokHtV6CbR8evgs=";
|
||||
x86_64-darwin = "sha256-2eVT5TbektDvXYQzaBc0A9bxv8bKY70cmdIA3WN0u68=";
|
||||
x86_64-linux = "sha256-i0fjaFQbzXL2DIN5Q/+1GRhWTRoaa4tGnDCv6Cl4BhI=";
|
||||
aarch64-darwin = "sha256-m35adxhRSEFV6BIpn89VKVQRklI+xWK4sNO4u2corCg=";
|
||||
aarch64-linux = "sha256-oKSrc579aO7DxOsP9UTE0LZsKfNoIdZ97Uy1nTMjGqk=";
|
||||
armv7l-linux = "sha256-YJ0UGQuBl0Etsw1cra2i741RQ7NOOyoYPmvNWCOeOIU=";
|
||||
x86_64-darwin = "sha256-5R5iGn2uJuTMQwnsXQmfDkyGAPLbP+j9OHzt5OMIW8E=";
|
||||
x86_64-linux = "sha256-S4/rjrBjK7sh5D+V6On/r5NXLII0fClnS+7lKmDEML4=";
|
||||
}.${system} or throwSystem;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tailwindcss";
|
||||
version = "3.3.6";
|
||||
version = "3.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/tailwindlabs/tailwindcss/releases/download/v${version}/tailwindcss-${plat}";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
version = "1.0.18";
|
||||
version = "1.0.20";
|
||||
pname = "bun";
|
||||
|
||||
src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
|
||||
@@ -51,19 +51,19 @@ stdenvNoCC.mkDerivation rec {
|
||||
sources = {
|
||||
"aarch64-darwin" = fetchurl {
|
||||
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip";
|
||||
hash = "sha256-z3C6V8jG/et+CizWHHx6zN56JBe4QBhEKbDQgx67dmc=";
|
||||
hash = "sha256-rwBU4jdD4sTB3wTS3uh1Fq88IW+LB/S/srMAMPJsQ1M=";
|
||||
};
|
||||
"aarch64-linux" = fetchurl {
|
||||
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip";
|
||||
hash = "sha256-xnFN1Kiaerot6ieMqf5fvyq826vE4KpM57r/7wz4C7o=";
|
||||
hash = "sha256-kzg4pT4e6evvyPhkC3wmwWsRvSpVCM45jgn+yvEvTaI=";
|
||||
};
|
||||
"x86_64-darwin" = fetchurl {
|
||||
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip";
|
||||
hash = "sha256-cNfTiMSdeCINchtRtAA1Lv4vVmrxwhLQNUe+96UFYp4=";
|
||||
hash = "sha256-nIE5/h+9ShoOywA7isHW+X+J6rQF2oBgnNI7rh0ZNu0=";
|
||||
};
|
||||
"x86_64-linux" = fetchurl {
|
||||
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip";
|
||||
hash = "sha256-qwqgaU3zYiuer4tI4JiSsZd94IO6xn+dSjJZkM70WP4=";
|
||||
hash = "sha256-NISClwFmDflxx09gWgo2Cpx/QXxoq4iDcYuXUT1FTn8=";
|
||||
};
|
||||
};
|
||||
updateScript = writeShellScript "update-bun" ''
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rocksndiamonds";
|
||||
version = "4.3.8.0";
|
||||
version = "4.3.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.artsoft.org/RELEASES/linux/${pname}/${pname}-${version}-linux.tar.gz";
|
||||
hash = "sha256-6RHQEcO9/tngZZqSTin74HkZflnRLh+dfvvxczpdcGU=";
|
||||
hash = "sha256-kc8E9hyXSr8UdwDA5I4/iP6NfpV/Lso5Q//E/cV02UA=";
|
||||
};
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config, zlib, serd }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libtool, pkg-config, zlib, serd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hdt";
|
||||
@@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1vsq80jnix6cy78ayag7v8ajyw7h8dqyad1q6xkf2hzz3skvr34z";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull fix for gcc-13 compatibility pending upstream inclusion:
|
||||
# https://github.com/rdfhdt/hdt-cpp/pull/276
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/rdfhdt/hdt-cpp/commit/1b775835c6661c67cb18f5d6f65638ba7d4ecf3c.patch";
|
||||
hash = "sha256-2ppcA+Ztw5G/buW2cwCNbuGeUuvgvSruW3OarWNCIHI=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ zlib serd ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook libtool pkg-config ];
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opensbi";
|
||||
version = "1.3.1";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "riscv-software-src";
|
||||
repo = "opensbi";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JNkPvmKYd5xbGB2lsZKWrpI6rBIckWbkLYu98bw7+QY=";
|
||||
hash = "sha256-T8ZeAzjM9aeTXitjE7s+m+jjGGtDo2jK1qO5EuKiVLU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
|
||||
"FW_FDT_PATH=${withFDT}"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
|
||||
@@ -15,6 +15,11 @@ stdenv.mkDerivation {
|
||||
sha256 = "0042nbgagl4gcxa5fj7bikjdi1gbk0jwyqnzc5lswpb0l5y0i1ql";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# New toolchainsd like gcc-13 trigger warnings and fail the build.
|
||||
substituteInPlace configure.ac --replace "-Werror" ""
|
||||
'';
|
||||
|
||||
preAutoreconf = ''
|
||||
mkdir m4
|
||||
'';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, installShellFiles
|
||||
, nixosTests
|
||||
@@ -32,6 +33,16 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for gcc-13:
|
||||
# https://github.com/USBGuard/usbguard/pull/586
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/USBGuard/usbguard/commit/22b1e0897af977cc96af926c730ff948bd120bb5.patch";
|
||||
hash = "sha256-yw0ZHcn6naHcsfsqdBB/aTgCwvEHecew/6HDmjyY2ZA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
installShellFiles
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
buildGoModule {
|
||||
pname = "bloat";
|
||||
version = "unstable-2023-10-25";
|
||||
version = "unstable-2023-12-28";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.freesoftwareextremist.com/bloat";
|
||||
rev = "f4881e72675e87a9eae716436c3ac18a788d596d";
|
||||
hash = "sha256-i6HjhGPPXKtQ7hVPECk9gZglFmjb/Fo9pFIq5ikw4Y8=";
|
||||
rev = "1d61f1aa27376e778b7a517fdd5739a8c1976d2e";
|
||||
hash = "sha256-u75COa68sKhWeR3asQGgu2thQmDDGpJPmXLgnesQfNc=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -1,72 +1,36 @@
|
||||
{ lib, python3, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, olm, libsignal-ffi }:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
buildGoModule {
|
||||
pname = "mautrix-signal";
|
||||
version = "0.4.3";
|
||||
# mautrix-signal's latest released version v0.4.3 still uses the Python codebase
|
||||
# which is broken for new devices, see https://github.com/mautrix/signal/issues/388.
|
||||
# The new Go version fixes this by using the official libsignal as a library and
|
||||
# can be upgraded to directly from the Python version.
|
||||
version = "unstable-2023-12-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mautrix";
|
||||
repo = "signal";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-QShyuwHiWRcP1hGkvCQfixvoUQ/FXr2DYC5VrcMKX48=";
|
||||
rev = "6abe80e6c79b31b5dc37a484b65d346a1ffd4f05";
|
||||
hash = "sha256-EDSP+kU0EmIaYbAB/hxAUTEay+H5aqn9ovBQFZg6wJk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# the version mangling in mautrix_signal/get_version.py interacts badly with pythonRelaxDepsHook
|
||||
substituteInPlace setup.py \
|
||||
--replace 'version=version' 'version="${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
pythonRelaxDepsHook
|
||||
buildInputs = [
|
||||
olm
|
||||
# must match the version used in https://github.com/mautrix/signal/tree/main/pkg/libsignalgo
|
||||
# see https://github.com/mautrix/signal/issues/401
|
||||
libsignal-ffi
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"mautrix"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
commonmark
|
||||
aiohttp
|
||||
aiosqlite
|
||||
asyncpg
|
||||
attrs
|
||||
commonmark
|
||||
mautrix
|
||||
phonenumbers
|
||||
pillow
|
||||
prometheus-client
|
||||
pycryptodome
|
||||
python-olm
|
||||
python-magic
|
||||
qrcode
|
||||
ruamel-yaml
|
||||
unpaddedbase64
|
||||
yarl
|
||||
];
|
||||
vendorHash = "sha256-f3sWX+mBouuxVKu+fZIYTWLXT64fllUWpcUYAxjzQpI=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
# Make a little wrapper for running mautrix-signal with its dependencies
|
||||
echo "$mautrixSignalScript" > $out/bin/mautrix-signal
|
||||
echo "#!/bin/sh
|
||||
exec python -m mautrix_signal \"\$@\"
|
||||
" > $out/bin/mautrix-signal
|
||||
chmod +x $out/bin/mautrix-signal
|
||||
wrapProgram $out/bin/mautrix-signal \
|
||||
--prefix PATH : "${python3}/bin" \
|
||||
--prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mautrix/signal";
|
||||
description = "A Matrix-Signal puppeting bridge";
|
||||
license = licenses.agpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ expipiplus1 ];
|
||||
maintainers = with maintainers; [ expipiplus1 niklaskorz ma27 ];
|
||||
mainProgram = "mautrix-signal";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ in rec {
|
||||
};
|
||||
|
||||
unifi8 = generic {
|
||||
version = "8.0.7";
|
||||
sha256 = "sha256-QiHXoPjOZsWKT3G3C6bzLhYxBCnT/oFlvw9Hu9tkAaY=";
|
||||
version = "8.0.24";
|
||||
sha256 = "sha256-fmvf/27J4K2Lf2nY1tAixkk+vIg+SKbGoGLvYlEmk2g=";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ buildGoModule rec {
|
||||
tags = [ "release" ];
|
||||
|
||||
preBuild = ''
|
||||
go generate ./...
|
||||
GOOS= GOARCH= go generate ./...
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = carapace; };
|
||||
|
||||
@@ -14,17 +14,18 @@
|
||||
, wlr-protocols
|
||||
, pulseaudio
|
||||
, config
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "drawterm";
|
||||
version = "unstable-2023-09-03";
|
||||
version = "unstable-2023-12-23";
|
||||
|
||||
src = fetchFrom9Front {
|
||||
owner = "plan9front";
|
||||
repo = "drawterm";
|
||||
rev = "c4ea4d299aa1bbbcc972c04adf06c18245ce7674";
|
||||
hash = "sha256-Tp3yZb1nteOlz/KhydFdjBrj3OrY20s/Ltfk/EBrIyk=";
|
||||
rev = "f9ae0c837bf8351037689f1985c1a52c1570ba30";
|
||||
hash = "sha256-wJWMdD9OmGybIwgBNJ8LxxV21L4SaV22OxAILsDWG3U=";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@@ -56,7 +57,10 @@ stdenv.mkDerivation {
|
||||
installManPage drawterm.1
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { shallowClone = false; };
|
||||
passthru = {
|
||||
updateScript = unstableGitUpdater { shallowClone = false; };
|
||||
tests = nixosTests.drawterm;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Connect to Plan 9 CPU servers from other operating systems.";
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ lib, fetchFromGitHub, beets, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "beets-copyartifacts";
|
||||
version = "unstable-2020-02-15";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "beets-copyartifacts";
|
||||
owner = "adammillerio";
|
||||
rev = "85eefaebf893cb673fa98bfde48406ec99fd1e4b";
|
||||
sha256 = "sha256-bkT2BZZ2gdcacgvyrVe2vMrOMV8iMAm8Q5xyrZzyqU0=";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -27,7 +27,7 @@ python3Packages.buildPythonApplication {
|
||||
|
||||
meta = {
|
||||
description = "Beets plugin to move non-music files during the import process";
|
||||
homepage = "https://github.com/sbarakat/beets-copyartifacts";
|
||||
homepage = "https://github.com/adammillerio/beets-copyartifacts";
|
||||
license = lib.licenses.mit;
|
||||
inherit (beets.meta) platforms;
|
||||
};
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
}:
|
||||
let
|
||||
pname = "whisper-ctranslate2";
|
||||
version = "0.3.4";
|
||||
version = "0.3.5";
|
||||
in
|
||||
python3.pkgs.buildPythonApplication {
|
||||
inherit pname version;
|
||||
@@ -17,7 +17,7 @@ python3.pkgs.buildPythonApplication {
|
||||
owner = "Softcatala";
|
||||
repo = "whisper-ctranslate2";
|
||||
rev = version;
|
||||
hash = "sha256-6tbCEvoOd97/rWC8XwKUS2FJXaB7PKReCctWRaYqUGU=";
|
||||
hash = "sha256-2eBJghncgzIbQKItj0Qng5xwvh9BBHNMxlbjO+tUdVU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "pocket-updater-utility";
|
||||
version = "2.38.1";
|
||||
version = "2.41.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mattpannella";
|
||||
repo = "${pname}";
|
||||
rev = "${version}";
|
||||
hash = "sha256-Lk5YHouQSHSWWoqTiZPjaROGM0aV7FQUvnQV/NCWV/E=";
|
||||
hash = "sha256-rT4aK+nkqTONvo8HU60R35MWM8odZQUtEPEV/yUZb90=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -14,19 +14,19 @@
|
||||
, python3
|
||||
, lua
|
||||
, opencc
|
||||
, libsoup
|
||||
, libsoup_3
|
||||
, json-glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ibus-libpinyin";
|
||||
version = "1.15.3";
|
||||
version = "1.15.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libpinyin";
|
||||
repo = "ibus-libpinyin";
|
||||
rev = version;
|
||||
hash = "sha256-6M4tgIpMQul3R8xI29vyPIWX0n6YItZhdVA8vT9FIRw=";
|
||||
hash = "sha256-cfV/VBCVtwI4qDwuU2563jMjxQqDs7VXGxkFn4w8IqM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
||||
db
|
||||
lua
|
||||
opencc
|
||||
libsoup
|
||||
libsoup_3
|
||||
json-glib
|
||||
];
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, chafa
|
||||
, cmake
|
||||
, darwin
|
||||
, dbus
|
||||
, dconf
|
||||
, ddcutil
|
||||
@@ -27,29 +28,17 @@
|
||||
, xfce
|
||||
, yyjson
|
||||
, zlib
|
||||
, Apple80211
|
||||
, AppKit
|
||||
, Cocoa
|
||||
, CoreDisplay
|
||||
, CoreVideo
|
||||
, CoreWLAN
|
||||
, DisplayServices
|
||||
, Foundation
|
||||
, IOBluetooth
|
||||
, MediaRemote
|
||||
, OpenCL
|
||||
, moltenvk
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fastfetch";
|
||||
version = "2.3.4";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastfetch-cli";
|
||||
repo = "fastfetch";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-jZeecymhjbXYE05zRF2dWHBS3hhRm1BmLB906YAlp+A=";
|
||||
hash = "sha256-LHRbobgBXGjoLQXC+Gy03aNrTyjn1loVMbj0qv3HObQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -83,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
xfce.xfconf
|
||||
zlib
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [
|
||||
Apple80211
|
||||
AppKit
|
||||
Cocoa
|
||||
@@ -91,12 +80,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
CoreVideo
|
||||
CoreWLAN
|
||||
DisplayServices
|
||||
Foundation
|
||||
IOBluetooth
|
||||
MediaRemote
|
||||
OpenCL
|
||||
moltenvk
|
||||
];
|
||||
SystemConfiguration
|
||||
darwin.moltenvk
|
||||
]);
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_INSTALL_SYSCONFDIR=${placeholder "out"}/etc"
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fselect";
|
||||
version = "0.8.4";
|
||||
version = "0.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jhspetersson";
|
||||
repo = "fselect";
|
||||
rev = version;
|
||||
sha256 = "sha256-XCm4gWPuza+LxK6fnDq5wAn3GGC3njtWxWng+FXIwOs=";
|
||||
sha256 = "sha256-gEiKv1YbNNWexNfzUULbe0fT0ueJ9TJojhBHp31i6OY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-XGjXeA2tRJhFbADtrPR11JgmrQI8mK3Rp+ZSIY62H9s=";
|
||||
cargoHash = "sha256-eqzqIyQHHklxo3aojCvY06TUPSqChoz6yZ2zzpgRNqs=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
@@ -4,23 +4,26 @@
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "hysteria";
|
||||
version = "2.2.2";
|
||||
version = "2.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apernet";
|
||||
repo = pname;
|
||||
rev = "app/v${version}";
|
||||
hash = "sha256-5j24wIZ4LloE9t0sv5p+oiYmexOaORASNN9JylXxrk4=";
|
||||
hash = "sha256-xvnshGDQ69yXZ5BnEYAhoJOXG0uZ0lZRnp/rdnmNAkE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ErU1yEtSuMVkoJv9hyaE4OZS5o7GxuleoK0Q9BI2skw=";
|
||||
vendorHash = "sha256-zjj5MhCVQbsLwZs7LcGhozXGmfzFrDipNsEswiseMYI=";
|
||||
proxyVendor = true;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.appVersion=${version}"
|
||||
];
|
||||
ldflags =
|
||||
let cmd = "github.com/apernet/hysteria/app/cmd";
|
||||
in [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X ${cmd}.appVersion=${version}"
|
||||
"-X ${cmd}.appType=release"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/app $out/bin/hysteria
|
||||
@@ -33,7 +36,7 @@ buildGoModule rec {
|
||||
description = "A feature-packed proxy & relay utility optimized for lossy, unstable connections";
|
||||
homepage = "https://github.com/apernet/hysteria";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ oluceps ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
@@ -15,6 +16,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-NG/7aqe48ShHWW5hW8axYWV4+zX0dBE7Wy9q58l0S3E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix for gcc-13 pending upstream inclusion:
|
||||
# https://github.com/Drive-Trust-Alliance/sedutil/pull/425
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/Drive-Trust-Alliance/sedutil/commit/927cd88cad7bea94c2eebecc18f7881f0defaccb.patch";
|
||||
hash = "sha256-/Lvn3CQd7pzNhLa7sQY8VwbyJK/jEM5FzLijTQnzXx8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
+19
-85
@@ -10,9 +10,9 @@ checksum = "0453232ace82dee0dd0b4c87a59bd90f7b53b314f3e0f61fe2ee7c8a16482289"
|
||||
|
||||
[[package]]
|
||||
name = "anyhow"
|
||||
version = "1.0.75"
|
||||
version = "1.0.78"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
|
||||
checksum = "ca87830a3e3fb156dc96cfbd31cb620265dd053be734723f22b760d6cc3c3051"
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
@@ -84,7 +84,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.52.0",
|
||||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -127,9 +127,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.150"
|
||||
version = "0.2.151"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c"
|
||||
checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
|
||||
|
||||
[[package]]
|
||||
name = "liboverdrop"
|
||||
@@ -192,9 +192,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.70"
|
||||
version = "1.0.72"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b"
|
||||
checksum = "a293318316cf6478ec1ad2a21c49390a8d5b5eae9fab736467d93fbc0edc29c5"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
@@ -267,7 +267,7 @@ dependencies = [
|
||||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys",
|
||||
"windows-sys 0.52.0",
|
||||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -283,15 +283,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tempfile"
|
||||
version = "3.8.1"
|
||||
version = "3.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5"
|
||||
checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"fastrand",
|
||||
"redox_syscall",
|
||||
"rustix",
|
||||
"windows-sys 0.48.0",
|
||||
"windows-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -321,37 +321,13 @@ version = "0.11.0+wasi-snapshot-preview1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.48.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
||||
dependencies = [
|
||||
"windows-targets 0.48.5",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
||||
dependencies = [
|
||||
"windows-targets 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-targets"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
||||
dependencies = [
|
||||
"windows_aarch64_gnullvm 0.48.5",
|
||||
"windows_aarch64_msvc 0.48.5",
|
||||
"windows_i686_gnu 0.48.5",
|
||||
"windows_i686_msvc 0.48.5",
|
||||
"windows_x86_64_gnu 0.48.5",
|
||||
"windows_x86_64_gnullvm 0.48.5",
|
||||
"windows_x86_64_msvc 0.48.5",
|
||||
"windows-targets",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -360,93 +336,51 @@ version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd"
|
||||
dependencies = [
|
||||
"windows_aarch64_gnullvm 0.52.0",
|
||||
"windows_aarch64_msvc 0.52.0",
|
||||
"windows_i686_gnu 0.52.0",
|
||||
"windows_i686_msvc 0.52.0",
|
||||
"windows_x86_64_gnu 0.52.0",
|
||||
"windows_x86_64_gnullvm 0.52.0",
|
||||
"windows_x86_64_msvc 0.52.0",
|
||||
"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.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_gnullvm"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea"
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_msvc"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_msvc"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_gnu"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_gnu"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_msvc"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_msvc"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnu"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnu"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnullvm"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnullvm"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_msvc"
|
||||
version = "0.48.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_msvc"
|
||||
version = "0.52.0"
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdbook-admonish";
|
||||
version = "1.14.0";
|
||||
version = "1.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tommilligan";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-M9qHiUIrah4gjxGzaD5tWBa54+ajWpS/dW0whC9YRyE=";
|
||||
hash = "sha256-31lYwvlpjeg0ZysusMY/PClEPB1tgroE9EvL4yX+2s0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-SD8aEVgpadpCu2Ex1ugDbJyHpNO3jGeSF7O0eJ4oc3c=";
|
||||
cargoHash = "sha256-Cqxgwf121waOsXUGqQJ+GgUqVWK+5kYUl8SL8MtuExs=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdbook-pagetoc";
|
||||
version = "0.1.7";
|
||||
version = "0.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "slowsage";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rhg/QDdO44Qwb/z1tQEYK5DcGuUI6cQvpHTYmqYyoWY=";
|
||||
hash = "sha256-yFgzgppGX3moLt7X4Xa6Cqs7v5OYJMjXKTV0sqRFL3o=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-03/bLFbP+BSfRW6wyg7LnryDP0kqvfvYqrFBKFZ2xY8=";
|
||||
cargoHash = "sha256-U5KNkUXqCU3cVYOqap19aYpaTyY91kGaGxcW8oxsUxI=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Table of contents for mdbook (in sidebar)";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, asciidoctor
|
||||
@@ -9,16 +10,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "repgrep";
|
||||
version = "0.14.3";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "acheronfail";
|
||||
repo = "repgrep";
|
||||
rev = version;
|
||||
hash = "sha256-33b0dZJY/lnVJGMfAg/faD6PPJIFZsvMZOmKAqCZw8k=";
|
||||
hash = "sha256-6ba7EJUts0Ni9EA3ENlK+a2FaPo7JohtCyqwR9DdL1E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-UMMTdWJ0/M8lN4abTJEVUGtoNp/g49DyW+OASg3TKfg=";
|
||||
cargoHash = "sha256-XEjKTZ3qaiLWbm2wF+V97u9tGXDq/oTm249ubUE9n94=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
asciidoctor
|
||||
@@ -32,8 +33,13 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
pushd "$(dirname "$(find -path '**/repgrep-stamp' | head -n 1)")"
|
||||
installManPage rgr.1
|
||||
installShellCompletion rgr.{bash,fish} _rgr
|
||||
popd
|
||||
'' + lib.optionalString (stdenv.hostPlatform.canExecute stdenv.buildPlatform) ''
|
||||
# As it can be seen here: https://github.com/acheronfail/repgrep/blob/0.15.0/.github/workflows/release.yml#L206, the completions are just the same as ripgrep
|
||||
installShellCompletion --cmd rgr \
|
||||
--bash <(${lib.getExe ripgrep} --generate complete-bash | sed 's/-c rg/-c rgr/') \
|
||||
--zsh <(${lib.getExe ripgrep} --generate complete-zsh | sed 's/-c rg/-c rgr/') \
|
||||
--fish <(${lib.getExe ripgrep} --generate complete-fish | sed 's/-c rg/-c rgr/')
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -7,10 +7,12 @@
|
||||
, Security
|
||||
, withPCRE2 ? true
|
||||
, pcre2
|
||||
, enableManpages ? stdenv.hostPlatform.emulatorAvailable buildPackages
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
let
|
||||
canRunRg = stdenv.hostPlatform.emulatorAvailable buildPackages;
|
||||
rg = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/rg";
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
pname = "ripgrep";
|
||||
version = "14.0.3";
|
||||
|
||||
@@ -30,24 +32,24 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildFeatures = lib.optional withPCRE2 "pcre2";
|
||||
|
||||
preFixup = lib.optionalString enableManpages ''
|
||||
${stdenv.hostPlatform.emulator buildPackages} $out/bin/rg --generate man > rg.1
|
||||
preFixup = lib.optionalString canRunRg ''
|
||||
${rg} --generate man > rg.1
|
||||
installManPage rg.1
|
||||
'' + ''
|
||||
|
||||
installShellCompletion --cmd rg \
|
||||
--bash <($out/bin/rg --generate complete-bash) \
|
||||
--fish <($out/bin/rg --generate complete-fish) \
|
||||
--zsh <($out/bin/rg --generate complete-zsh)
|
||||
--bash <(${rg} --generate complete-bash) \
|
||||
--fish <(${rg} --generate complete-fish) \
|
||||
--zsh <(${rg} --generate complete-zsh)
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
file="$(mktemp)"
|
||||
echo "abc\nbcd\ncde" > "$file"
|
||||
$out/bin/rg -N 'bcd' "$file"
|
||||
$out/bin/rg -N 'cd' "$file"
|
||||
${rg} -N 'bcd' "$file"
|
||||
${rg} -N 'cd' "$file"
|
||||
'' + lib.optionalString withPCRE2 ''
|
||||
echo '(a(aa)aa)' | $out/bin/rg -P '\((a*|(?R))*\)'
|
||||
echo '(a(aa)aa)' | ${rg} -P '\((a*|(?R))*\)'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wleave";
|
||||
version = "0.3.0";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AMNatty";
|
||||
repo = "wleave";
|
||||
rev = version;
|
||||
hash = "sha256-qo9HnaWYsNZH1J8lAyKSwAOyvlCvIsh9maioatjtGkg=";
|
||||
hash = "sha256-CVngGK2gSqar4rnUzgTH/aDE34La5PjSocN/h1oxoVA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-6Gppf1upWoMi+gcRSeQ1txSglAaBbpOXKs2LoJhslPQ=";
|
||||
cargoHash = "sha256-wVDNJSxNzx9gMp2tMx9bMwWGKcEybEixVom4SUJZPgU=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -1804,12 +1804,8 @@ with pkgs;
|
||||
|
||||
etlegacy = callPackage ../games/etlegacy { lua = lua5_4; };
|
||||
|
||||
fastfetch = darwin.apple_sdk_11_0.callPackage ../tools/misc/fastfetch {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks)
|
||||
AppKit Apple80211 Cocoa CoreDisplay CoreVideo CoreWLAN DisplayServices
|
||||
Foundation IOBluetooth MediaRemote OpenCL;
|
||||
|
||||
inherit (darwin) moltenvk;
|
||||
fastfetch = callPackage ../tools/misc/fastfetch {
|
||||
stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
||||
};
|
||||
|
||||
fscan = callPackage ../tools/security/fscan { };
|
||||
@@ -3089,8 +3085,6 @@ with pkgs;
|
||||
|
||||
mrxvt = callPackage ../applications/terminal-emulators/mrxvt { };
|
||||
|
||||
roxterm = callPackage ../applications/terminal-emulators/roxterm { };
|
||||
|
||||
rxvt = callPackage ../applications/terminal-emulators/rxvt { };
|
||||
|
||||
rxvt-unicode = callPackage ../applications/terminal-emulators/rxvt-unicode/wrapper.nix { };
|
||||
@@ -28961,7 +28955,7 @@ with pkgs;
|
||||
|
||||
upscayl = callPackage ../applications/graphics/upscayl { };
|
||||
|
||||
usbguard = disable-warnings-if-gcc13 (callPackage ../os-specific/linux/usbguard { });
|
||||
usbguard = callPackage ../os-specific/linux/usbguard { };
|
||||
|
||||
usbguard-notifier = callPackage ../os-specific/linux/usbguard-notifier { };
|
||||
|
||||
@@ -31354,9 +31348,7 @@ with pkgs;
|
||||
|
||||
electrum-ltc = libsForQt5.callPackage ../applications/misc/electrum/ltc.nix { };
|
||||
|
||||
elf-dissector = libsForQt5.callPackage ../applications/misc/elf-dissector {
|
||||
libdwarf = libdwarf_20210528;
|
||||
};
|
||||
elf-dissector = libsForQt5.callPackage ../applications/misc/elf-dissector { };
|
||||
|
||||
elfx86exts = callPackage ../applications/misc/elfx86exts { };
|
||||
|
||||
@@ -34083,8 +34075,6 @@ with pkgs;
|
||||
|
||||
nwg-wrapper = callPackage ../applications/misc/nwg-wrapper { };
|
||||
|
||||
ocenaudio = callPackage ../applications/audio/ocenaudio { };
|
||||
|
||||
ocm = callPackage ../applications/networking/cluster/ocm { };
|
||||
|
||||
odo = callPackage ../applications/networking/cluster/odo { };
|
||||
|
||||
Reference in New Issue
Block a user