Merge pull request #267884 from magnetophon/nofi

nofi: init at 0.2.4
This commit is contained in:
Weijia Wang 2023-11-17 01:34:25 +01:00 committed by GitHub
commit 6c26d2588b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,27 @@
{ lib, rustPlatform, fetchFromGitHub, dbus, pkg-config}:
rustPlatform.buildRustPackage rec {
pname = "nofi";
version = "0.2.4";
src = fetchFromGitHub {
owner = "ellsclytn";
repo = pname;
rev = "v${version}";
hash = "sha256-hQYIcyNCxb8qVpseNsmjyPxlwbMxDpXeZ+H1vpv62rQ=";
};
cargoHash = "sha256-0TYIycuy2LIhixVvH++U8CbmfQugc+0TF8DTiViWSbE=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus ];
meta = with lib; {
description = "An interruption-free notification system for Linux";
homepage = "https://github.com/ellsclytn/nofi/";
changelog = "https://github.com/ellsclytn/nofi/raw/v${version}/CHANGELOG.md";
license = [ licenses.asl20 /* or */ licenses.mit ];
mainProgram = pname;
maintainers = [ maintainers.magnetophon ];
};
}