2019-08-23 19:30:28 +01:00
|
|
|
{ stdenv
|
|
|
|
, mkDerivation
|
2019-11-25 23:37:24 +00:00
|
|
|
, fetchgit
|
2019-08-23 19:30:28 +01:00
|
|
|
, autoreconfHook
|
|
|
|
, pkgconfig
|
|
|
|
, qtbase
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
mkDerivation {
|
2019-08-23 19:30:28 +01:00
|
|
|
pname = "ofono-phonesim";
|
2019-11-25 23:37:24 +00:00
|
|
|
version = "unstable-2019-11-18";
|
2019-08-23 19:30:28 +01: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 09:59:41 +01:00
|
|
|
sha256 = "1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
|
2019-08-23 19:30:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"MOC=${qtbase.dev}/bin/moc"
|
|
|
|
"UIC=${qtbase.dev}/bin/uic"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Phone Simulator for modem testing";
|
2019-11-25 23:37:24 +00:00
|
|
|
homepage = "https://01.org/ofono";
|
2019-08-23 19:30:28 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|