summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2019-10-30 14:20:05 +0100
committerJustin Humm <justin.humm@posteo.de>2019-10-30 22:23:10 +0100
commit9b66a895c232a33075dec74e0f50ff27ed7877dd (patch)
treeaad7cdfc0e5466312059cb5409fe6b9fb6e10a0a /pkgs/applications/misc
parente64c3abd2173c9dd4aa4fc000b80724bcd84a7ec (diff)
downloadnixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.tar
nixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.tar.gz
nixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.tar.bz2
nixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.tar.lz
nixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.tar.xz
nixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.tar.zst
nixpkgs-9b66a895c232a33075dec74e0f50ff27ed7877dd.zip
wofi: init at 2019-10-28
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/wofi/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wofi/default.nix b/pkgs/applications/misc/wofi/default.nix
new file mode 100644
index 00000000000..4cf4792696d
--- /dev/null
+++ b/pkgs/applications/misc/wofi/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, lib, fetchhg, pkg-config, wayland, gtk3 }:
+
+stdenv.mkDerivation rec {
+  pname = "wofi";
+  version = "2019-10-28";
+
+  src = fetchhg {
+    url = "https://hg.sr.ht/~scoopta/wofi";
+    rev = "3fac708b2b541bb9927ec1b2389c4eb294e1b35b";
+    sha256 = "0sp9hqm1lv9wyxj8z7vazs25nvl6yznd5vfhmwb51axwkr79s2ym";
+  };
+
+  nativeBuildInputs = [ pkg-config ];
+  buildInputs = [ wayland gtk3 ];
+
+  sourceRoot = "hg-archive/Release";
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp wofi $out/bin/
+  '';
+
+  meta = with lib; {
+    description = "A launcher/menu program for wlroots based wayland compositors such as sway";
+    homepage = "https://hg.sr.ht/~scoopta/wofi";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ erictapen ];
+    platforms = with platforms; linux;
+  };
+}