nixpkgs/pkgs/applications/misc/wofi/default.nix

24 lines
671 B
Nix
Raw Normal View History

2019-12-21 06:16:36 +00:00
{ stdenv, lib, fetchhg, pkg-config, meson, ninja, wayland, gtk3 }:
2019-10-30 13:20:05 +00:00
stdenv.mkDerivation rec {
pname = "wofi";
2019-12-21 06:16:36 +00:00
version = "1.0";
2019-10-30 13:20:05 +00:00
src = fetchhg {
url = "https://hg.sr.ht/~scoopta/wofi";
2019-12-21 06:16:36 +00:00
rev = "v${version}";
sha256 = "147yarm26nl0zc0a2rs7qi4jd7bz48vvyaygsif1qsv8fx0xiqqf";
2019-10-30 13:20:05 +00:00
};
2019-12-21 06:16:36 +00:00
nativeBuildInputs = [ pkg-config meson ninja ];
2019-10-30 13:20:05 +00:00
buildInputs = [ wayland gtk3 ];
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;
};
}