Unverified Commit 6c26d258 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #267884 from magnetophon/nofi

nofi: init at 0.2.4
parents 46d18e04 c0a64aec
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}