git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #153353 from lammermann/submit/add-tuhi
commit492de558b5167878c5574e90a2d414807e3f7a51 authorlegendofmiracles <30902201+legendofmiracles@users.noreply.github.com> dateMon 10 Jan 2022, 08:21 (5 years ago) parent4a7b021d551a1c
3 files changed+71
maintainers/maintainer-list.nix+6 pkgs/applications/misc/tuhi/default.nix+63 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -6610,6 +6610,12 @@
66106610 githubId = 55911173;
66116611 name = "Gwendolyn Quasebarth";
66126612 };
6613+ lammermann = {
6614+ email = "k.o.b.e.r@web.de";
6615+ github = "lammermann";
6616+ githubId = 695526;
6617+ name = "Benjamin Kober";
6618+ };
66136619 larsr = {
66146620 email = "Lars.Rasmusson@gmail.com";
66156621 github = "larsr";
pkgs/applications/misc/tuhi/default.nixnew file+63
@@ -0,0 +1,63 @@
1+{ lib
2+, pkg-config
3+, python3Packages
4+, meson
5+, ninja
6+, appstream-glib
7+, desktop-file-utils
8+, glib
9+, gtk3
10+, gobject-introspection
11+, wrapGAppsHook
12+, fetchFromGitHub
13+}:
14+
15+python3Packages.buildPythonApplication rec {
16+ name = "tuhi";
17+ version = "0.5";
18+
19+ format = "other";
20+
21+ src = fetchFromGitHub {
22+ owner = "tuhiproject";
23+ repo = name;
24+ rev = "${version}";
25+ sha256 = "17kggm9c423vj7irxx248fjc8sxvkp9w1mgawlx1snrii817p3db";
26+ };
27+
28+ dontWrapGApps = true;
29+ preFixup = ''
30+ makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
31+ '';
32+
33+ nativeBuildInputs = [
34+ pkg-config meson ninja
35+ appstream-glib desktop-file-utils
36+ wrapGAppsHook
37+ ];
38+ buildInputs = [
39+ gtk3 gobject-introspection
40+ glib
41+ ];
42+ checkInputs = with python3Packages; [ flake8 pytest ];
43+ propagatedBuildInputs = with python3Packages; [
44+ svgwrite pyxdg pycairo pygobject3 setuptools-scm
45+ ];
46+
47+ strictDeps = false;
48+ preConfigure = ''
49+ substituteInPlace meson_install.sh \
50+ --replace "/usr/bin/env sh" "sh"
51+ '';
52+ postFixup = ''
53+ wrapPythonProgramsIn $out/libexec "$out $pythonPath"
54+ '';
55+
56+ meta = with lib; {
57+ description = "DBus daemon to access Wacom SmartPad devices";
58+ homepage = "https://github.com/tuhiproject/tuhi";
59+ license = licenses.gpl2;
60+ platforms = platforms.linux;
61+ maintainers = with maintainers; [ lammermann ];
62+ };
63+}
pkgs/top-level/all-packages.nix+2
@@ -10360,6 +10360,8 @@ with pkgs;
1036010360
1036110361 ipbt = callPackage ../tools/misc/ipbt { };
1036210362
10363+ tuhi = callPackage ../applications/misc/tuhi { };
10364+
1036310365 tuir = callPackage ../applications/misc/tuir { };
1036410366
1036510367 tunnelto = callPackage ../tools/networking/tunnelto {