nixpkgs/pkgs/applications/misc/nwg-drawer/default.nix

36 lines
797 B
Nix
Raw Normal View History

2021-07-18 14:57:50 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, cairo
, gobject-introspection
, gtk3
, gtk-layer-shell
}:
buildGoModule rec {
pname = "nwg-drawer";
2021-08-27 09:28:56 +00:00
version = "0.1.8";
2021-07-18 14:57:50 +00:00
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
2021-08-27 09:28:56 +00:00
sha256 = "sha256-XEMD5Z0RejySamxmkGBDoAj0ARUyPm/31EPuf96Whlk=";
2021-07-18 14:57:50 +00:00
};
vendorSha256 = "sha256-HyrjquJ91ddkyS8JijHd9HjtfwSQykXCufa2wzl8RNk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo gobject-introspection gtk3 gtk-layer-shell ];
meta = with lib; {
description = "Application drawer for sway Wayland compositor";
homepage = "https://github.com/nwg-piotr/nwg-drawer";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ plabadens ];
};
}