build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / by-name / do / dockbarx / package.nix
blob3b478a8606f7fe64c302cbb47d9f41d8a053b0e4
2   lib,
3   fetchFromGitHub,
4   glib,
5   gobject-introspection,
6   gtk3,
7   keybinder3,
8   libwnck,
9   python3Packages,
10   wrapGAppsHook3,
13 python3Packages.buildPythonApplication rec {
14   pname = "dockbarx";
15   version = "1.0-beta4";
17   src = fetchFromGitHub {
18     owner = "xuzhen";
19     repo = "dockbarx";
20     rev = version;
21     sha256 = "sha256-J/5KpHptGzgRF1qIGrgjkRR3in5pE0ffkiYVTR3iZKY=";
22   };
24   nativeBuildInputs = [
25     glib.dev
26     gobject-introspection
27     python3Packages.polib
28     wrapGAppsHook3
29   ];
31   buildInputs = [
32     gtk3
33     libwnck
34     keybinder3
35   ];
37   propagatedBuildInputs = with python3Packages; [
38     dbus-python
39     pillow
40     pygobject3
41     pyxdg
42     xlib
43   ];
45   # no tests
46   doCheck = false;
48   dontWrapGApps = true;
50   postInstall = ''
51     glib-compile-schemas $out/share/glib-2.0/schemas
52   '';
54   # Arguments to be passed to `makeWrapper`, only used by buildPython*
55   preFixup = ''
56     makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
57   '';
59   meta = with lib; {
60     homepage = "https://github.com/xuzhen/dockbarx";
61     description = "Lightweight taskbar/panel replacement which works as a stand-alone dock";
62     license = licenses.gpl3Only;
63     platforms = platforms.linux;
64     maintainers = [ maintainers.romildo ];
65   };