nixpkgs/pkgs/tools/networking/mmsd-tng/default.nix
2024-02-11 03:19:15 +01:00

55 lines
935 B
Nix

{ lib, stdenv
, fetchFromGitLab
, c-ares
, dbus
, glib
, libphonenumber
, libsoup
, meson
, mobile-broadband-provider-info
, modemmanager
, ninja
, pkg-config
, protobuf
}:
stdenv.mkDerivation rec {
pname = "mmsd-tng";
version = "1.12.1";
src = fetchFromGitLab {
owner = "kop316";
repo = "mmsd";
rev = version;
sha256 = "sha256-fhbiTJWmQwJpuMaVX2qWyWwJ/2Y/Vczo//+0T0b6jhA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
c-ares
dbus
glib
libphonenumber
libsoup
mobile-broadband-provider-info
modemmanager
protobuf
];
doCheck = true;
meta = with lib; {
description = "Multimedia Messaging Service Daemon - The Next Generation";
homepage = "https://gitlab.com/kop316/mmsd";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ julm ];
platforms = platforms.linux;
mainProgram = "mmsdtng";
};
}