mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
controku: init at 1.1.0
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
parent
2aa55c6756
commit
0d7a1fd3fd
4
pkgs/by-name/co/controku/package.nix
Normal file
4
pkgs/by-name/co/controku/package.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{ python3Packages
|
||||
}:
|
||||
|
||||
with python3Packages; toPythonApplication (controku.override { buildApplication = true; })
|
52
pkgs/development/python-modules/controku/default.nix
Normal file
52
pkgs/development/python-modules/controku/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, requests
|
||||
, ssdpy
|
||||
, appdirs
|
||||
, pygobject3
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, wrapGAppsHook
|
||||
, 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
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
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";
|
||||
homepage = "https://github.com/benthetechguy/controku";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ mjm ];
|
||||
};
|
||||
}
|
@ -2257,6 +2257,8 @@ self: super: with self; {
|
||||
|
||||
contourpy = callPackage ../development/python-modules/contourpy { };
|
||||
|
||||
controku = callPackage ../development/python-modules/controku { };
|
||||
|
||||
convertdate = callPackage ../development/python-modules/convertdate { };
|
||||
|
||||
cookiecutter = callPackage ../development/python-modules/cookiecutter { };
|
||||
|
Loading…
Reference in New Issue
Block a user