depot/third_party/nixpkgs/pkgs/by-name/sa/salut/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

49 lines
1.2 KiB
Nix

{ lib
, rustPlatform
, fetchFromGitLab
, pkg-config
, fontconfig
, libxkbcommon
, wayland
}:
rustPlatform.buildRustPackage rec {
pname = "salut";
version = "unstable-2022-12-17";
src = fetchFromGitLab {
owner = "snakedye";
repo = "salut";
rev = "aa57c4d190812908a9c32cd49cff14390c6dfdcb";
hash = "sha256-W0lhhImSXtYJDeMbxyEioYu/Bh7ZclwR1/5DzNbxM8o=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"msg-api-0.1.0" = "sha256-SGEr9kitvD+KZPGejwDAISK6ERk7G2uskxX8ljiJ2To=";
"smithay-client-toolkit-0.16.0" = "sha256-kiTO+BZIgpuwAr6gs9FCqz81jRg+3dV4NxzOX9kbJOc=";
"snui-0.1.4" = "sha256-jJL9ukSOczHjPM2EAXcXcz620SK4DQfr+xAT8v7fp9o=";
"snui-adwaita-0.1.0" = "sha256-pILhLMzqnhLZfGAXT8QQn6x+IvwG7CSa96wZqq1yrLY=";
};
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
fontconfig
libxkbcommon
wayland
];
meta = {
description = "Sleek notification daemon for Wayland";
homepage = "https://gitlab.com/snakedye/salut/-/wikis/Home";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ ];
mainProgram = "salut";
platforms = lib.platforms.linux;
};
}