mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, autoPatchelfHook
|
|
, dpkg
|
|
, glib-networking
|
|
, gst_all_1
|
|
, libappindicator
|
|
, libayatana-appindicator
|
|
, webkitgtk
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
name = "dorion";
|
|
version = "4.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/SpikeHD/Dorion/releases/download/v${finalAttrs.version }/Dorion_${finalAttrs.version}_amd64.deb";
|
|
hash = "sha256-QqjRxAx2hDd8atpXuof8AVWtK3o8K77Se2b2CyOBMOw=";
|
|
};
|
|
|
|
unpackCmd = ''
|
|
dpkg -X $curSrc .
|
|
'';
|
|
|
|
runtimeDependencies = [
|
|
glib-networking
|
|
libappindicator
|
|
libayatana-appindicator
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoPatchelfHook
|
|
dpkg
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib-networking
|
|
gst_all_1.gst-plugins-bad
|
|
gst_all_1.gst-plugins-base
|
|
gst_all_1.gst-plugins-good
|
|
webkitgtk
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -pv $out
|
|
mv -v {bin,lib,share} $out
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/SpikeHD/Dorion";
|
|
description = "Tiny alternative Discord client";
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "dorion";
|
|
maintainers = with lib.maintainers; [ ];
|
|
platforms = lib.intersectLists (lib.platforms.linux) (lib.platforms.x86_64);
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
})
|