2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2019-08-23 11:30:28 -07:00
|
|
|
, mkDerivation
|
2019-11-25 15:37:24 -08:00
|
|
|
, fetchgit
|
2019-08-23 11:30:28 -07:00
|
|
|
, autoreconfHook
|
2021-01-18 22:50:56 -08:00
|
|
|
, pkg-config
|
2019-08-23 11:30:28 -07:00
|
|
|
, qtbase
|
|
|
|
}:
|
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
mkDerivation {
|
2019-08-23 11:30:28 -07:00
|
|
|
pname = "ofono-phonesim";
|
2019-11-25 15:37:24 -08:00
|
|
|
version = "unstable-2019-11-18";
|
2019-08-23 11:30:28 -07:00
|
|
|
|
2019-11-25 15:37:24 -08:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.kernel.org/pub/scm/network/ofono/phonesim.git";
|
|
|
|
rev = "adf231a84cd3708b825dc82c56e841dd7e3b4541";
|
2020-06-01 01:59:41 -07:00
|
|
|
sha256 = "1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
|
2019-08-23 11:30:28 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2021-01-18 22:50:56 -08:00
|
|
|
pkg-config
|
2019-08-23 11:30:28 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"MOC=${qtbase.dev}/bin/moc"
|
|
|
|
"UIC=${qtbase.dev}/bin/uic"
|
|
|
|
];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-08-23 11:30:28 -07:00
|
|
|
description = "Phone Simulator for modem testing";
|
2019-11-25 15:37:24 -08:00
|
|
|
homepage = "https://01.org/ofono";
|
2019-08-23 11:30:28 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|