nixpkgs/pkgs/tools/networking/mbidled/default.nix
Sandro 0e63f85393
Merge pull request #261257 from laalsaas/mbidled
mbidled: unstable-2022-10-30 -> 2023-09-30
2024-03-20 00:22:46 +01:00

43 lines
793 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, libev
, openssl
}:
stdenv.mkDerivation {
pname = "mbidled";
version = "unstable-2023-09-30";
src = fetchFromGitHub {
owner = "zsugabubus";
repo = "mbidled";
rev = "c724a34cc01b829b19a60655fc1652a378db7f27";
sha256 = "sha256-XQXLPjEEesBd+bATsKE2nvoNcuqtRA1JIsV7306CssA=";
};
preConfigure = ''
export LIBRARY_PATH=${libev}/lib
'';
nativeBuildInputs = [
meson
ninja
];
buildInputs = [
libev
openssl
];
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;
mainProgram = "mbidled";
};
}