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)
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, requests
|
|
, ssdpy
|
|
, appdirs
|
|
, pygobject3
|
|
, gobject-introspection
|
|
, gtk3
|
|
, wrapGAppsHook3
|
|
, buildApplication ? false
|
|
}:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "controku";
|
|
version = "1.1.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "benthetechguy";
|
|
repo = "controku";
|
|
rev = version;
|
|
hash = "sha256-sye2GtL3a77pygllZc6ylaIP7faPb+NFbyKKyqJzIXw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
] ++ lib.optionals buildApplication [
|
|
gobject-introspection
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
ssdpy
|
|
] ++ lib.optionals buildApplication [
|
|
gtk3
|
|
appdirs
|
|
pygobject3
|
|
];
|
|
|
|
pythonImportsCheck = [ "controku" ];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/benthetechguy/controku/releases/tag/${version}";
|
|
description = "Control Roku devices from the comfort of your own desktop";
|
|
mainProgram = "controku";
|
|
homepage = "https://github.com/benthetechguy/controku";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ mjm ];
|
|
};
|
|
}
|