mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +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)
63 lines
1 KiB
Nix
63 lines
1 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromSourcehut
|
|
, gtk3
|
|
, libhandy_0
|
|
, gobject-introspection
|
|
, meson
|
|
, pkg-config
|
|
, ninja
|
|
, gettext
|
|
, glib
|
|
, desktop-file-utils
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "thumbdrives";
|
|
version = "0.3.1";
|
|
|
|
format = "other";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~martijnbraam";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-CPZKswbvsG61A6J512FOCKAntoJ0sUb2s+MKb0rO+Xw=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs build-aux/meson
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
gettext
|
|
glib
|
|
gtk3
|
|
desktop-file-utils
|
|
wrapGAppsHook3
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
libhandy_0
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pygobject3
|
|
pyxdg
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "USB mass storage emulator for Linux handhelds";
|
|
homepage = "https://sr.ht/~martijnbraam/thumbdrives/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ chuangzhu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|