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