summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorVladyslav M <dywedir@gra.red>2019-10-30 23:50:00 +0200
committerGitHub <noreply@github.com>2019-10-30 23:50:00 +0200
commit0a9950af05ef4643ca669b19cecbe045d59a81e3 (patch)
tree7551a68b8c39c15b5f8f94dadaf1f3651d183146 /pkgs/applications/misc
parent846f86ee6744e73247035a0b80c68d8c78e37d6d (diff)
parent9b66a895c232a33075dec74e0f50ff27ed7877dd (diff)
downloadnixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.tar
nixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.tar.gz
nixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.tar.bz2
nixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.tar.lz
nixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.tar.xz
nixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.tar.zst
nixpkgs-0a9950af05ef4643ca669b19cecbe045d59a81e3.zip
wofi: init at 2019-10-28 (#72298)
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;
+  };
+}