nixpkgs/pkgs/tools/networking/mbidled/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
793 B
Nix
Raw Normal View History

2022-10-26 22:50:12 +00:00
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, libev
, openssl
}:
2023-10-15 18:18:28 +00:00
2022-10-26 22:50:12 +00:00
stdenv.mkDerivation {
pname = "mbidled";
version = "unstable-2023-09-30";
2022-10-26 22:50:12 +00:00
src = fetchFromGitHub {
owner = "zsugabubus";
repo = "mbidled";
rev = "c724a34cc01b829b19a60655fc1652a378db7f27";
sha256 = "sha256-XQXLPjEEesBd+bATsKE2nvoNcuqtRA1JIsV7306CssA=";
2022-10-26 22:50:12 +00:00
};
preConfigure = ''
export LIBRARY_PATH=${libev}/lib
'';
nativeBuildInputs = [
2023-10-15 18:18:28 +00:00
meson
ninja
2022-10-26 22:50:12 +00:00
];
buildInputs = [
2023-10-15 18:18:28 +00:00
libev
openssl
2022-10-26 22:50:12 +00:00
];
meta = with lib; {
description = "run command on mailbox change";
homepage = "https://github.com/zsugabubus/mbidled";
license = licenses.unlicense;
maintainers = with maintainers; [ laalsaas ];
platforms = platforms.linux;
2024-02-11 02:19:15 +00:00
mainProgram = "mbidled";
2022-10-26 22:50:12 +00:00
};
}