summary refs log tree commit diff
path: root/pkgs/development/python-modules/qtile/wrapper.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/qtile/wrapper.nix')
-rw-r--r--pkgs/development/python-modules/qtile/wrapper.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/qtile/wrapper.nix b/pkgs/development/python-modules/qtile/wrapper.nix
new file mode 100644
index 0000000000000..b4f6e4c2e23b2
--- /dev/null
+++ b/pkgs/development/python-modules/qtile/wrapper.nix
@@ -0,0 +1,8 @@
+{ python3 }:
+
+(python3.withPackages (_: [ python3.pkgs.qtile ])).overrideAttrs (_: {
+  # restore some qtile attrs, beautify name
+  inherit (python3.pkgs.qtile) pname version meta;
+  name = with python3.pkgs.qtile; "${pname}-${version}";
+  passthru.unwrapped = python3.pkgs.qtile;
+})