nixpkgs/pkgs/applications/misc/snixembed/default.nix
2022-07-29 19:19:33 +08:00

28 lines
779 B
Nix

{ fetchFromSourcehut, gtk3, lib, libdbusmenu-gtk3, pkg-config, stdenv, vala }:
stdenv.mkDerivation rec {
pname = "snixembed";
version = "0.3.3";
src = fetchFromSourcehut {
owner = "~steef";
repo = pname;
rev = version;
sha256 = "sha256-co32Xlklg6KVyi+xEoDJ6TeN28V+wCSx73phwnl/05E=";
};
nativeBuildInputs = [ pkg-config vala ];
buildInputs = [ gtk3 libdbusmenu-gtk3 ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "Proxy StatusNotifierItems as XEmbedded systemtray-spec icons";
homepage = "https://git.sr.ht/~steef/snixembed";
changelog = "https://git.sr.ht/~steef/snixembed/refs/${version}";
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ figsoda ];
};
}