From f90d0634f8b27edf0141e98da17f63a4e9ecacf2 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Fri, 20 Dec 2019 23:16:36 -0700 Subject: [PATCH] wofi: 2019-10-28 -> 1.0 --- pkgs/applications/misc/wofi/default.nix | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/misc/wofi/default.nix b/pkgs/applications/misc/wofi/default.nix index 4cf4792696d4..289c60b44029 100644 --- a/pkgs/applications/misc/wofi/default.nix +++ b/pkgs/applications/misc/wofi/default.nix @@ -1,25 +1,18 @@ -{ stdenv, lib, fetchhg, pkg-config, wayland, gtk3 }: +{ stdenv, lib, fetchhg, pkg-config, meson, ninja, wayland, gtk3 }: stdenv.mkDerivation rec { pname = "wofi"; - version = "2019-10-28"; + version = "1.0"; src = fetchhg { url = "https://hg.sr.ht/~scoopta/wofi"; - rev = "3fac708b2b541bb9927ec1b2389c4eb294e1b35b"; - sha256 = "0sp9hqm1lv9wyxj8z7vazs25nvl6yznd5vfhmwb51axwkr79s2ym"; + rev = "v${version}"; + sha256 = "147yarm26nl0zc0a2rs7qi4jd7bz48vvyaygsif1qsv8fx0xiqqf"; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config meson ninja ]; 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";