depot/third_party/nixpkgs/pkgs/tools/networking/mbidled/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02: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";
};
}