2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, mkDerivation
|
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, qtbase
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
|
|
|
pname = "ofono-phonesim";
|
|
|
|
version = "unstable-2019-11-18";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2023-02-02 18:25:31 +00:00
|
|
|
url = "https://git.kernel.org/pub/scm/network/ofono/phonesim.git";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "adf231a84cd3708b825dc82c56e841dd7e3b4541";
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"MOC=${qtbase.dev}/bin/moc"
|
|
|
|
"UIC=${qtbase.dev}/bin/uic"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Phone Simulator for modem testing";
|
|
|
|
homepage = "https://01.org/ofono";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|