35 lines
798 B
Nix
35 lines
798 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cairo
|
|
, gobject-introspection
|
|
, gtk3
|
|
, gtk-layer-shell
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nwg-drawer";
|
|
version = "0.1.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwg-piotr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-aUn9zvlNUuvm7Uo0wyzbkSLXfUDcKn1uxAu3pVwq0FA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|