2022-12-17 10:02:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, libev
|
|
|
|
, openssl
|
|
|
|
}:
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "mbidled";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "unstable-2023-09-30";
|
2022-12-17 10:02:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsugabubus";
|
|
|
|
repo = "mbidled";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "c724a34cc01b829b19a60655fc1652a378db7f27";
|
|
|
|
sha256 = "sha256-XQXLPjEEesBd+bATsKE2nvoNcuqtRA1JIsV7306CssA=";
|
2022-12-17 10:02:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export LIBRARY_PATH=${libev}/lib
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-04-21 15:54:59 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2022-12-17 10:02:37 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-04-21 15:54:59 +00:00
|
|
|
libev
|
|
|
|
openssl
|
2022-12-17 10:02:37 +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-29 20:09:43 +00:00
|
|
|
mainProgram = "mbidled";
|
2022-12-17 10:02:37 +00:00
|
|
|
};
|
|
|
|
}
|