wofi: 2019-10-28 -> 1.0

This commit is contained in:
Tadeo Kondrak 2019-12-20 23:16:36 -07:00
parent 85d4bfc94b
commit f90d0634f8
No known key found for this signature in database
GPG Key ID: D41E092CA43F1D8B

View File

@ -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";