depot/third_party/nixpkgs/pkgs/applications/misc/snixembed/default.nix

30 lines
810 B
Nix
Raw Normal View History

{ 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 ];
mainProgram = "snixembed";
};
}