Files
nixpkgs/pkgs/development/python-modules/controku/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

57 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
setuptools,
requests,
ssdpy,
appdirs,
pygobject3,
gobject-introspection,
gtk3,
wrapGAppsHook3,
buildPythonPackage,
buildApplication ? false,
}:
buildPythonPackage rec {
pname = "controku";
version = "1.1.0";
pyproject = true;
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 = {
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 = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ mjm ];
};
}