nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchzip,
5 autoreconfHook,
6 pkg-config,
7 wrapQtAppsHook,
8 qtbase,
9}:
10
11stdenv.mkDerivation {
12 pname = "ofono-phonesim";
13 version = "unstable-2019-11-18";
14
15 src = fetchzip {
16 url = "https://git.kernel.org/pub/scm/network/ofono/phonesim.git/snapshot/phonesim-adf231a84cd3708b825dc82c56e841dd7e3b4541.tar.gz";
17 sha256 = "1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
18 };
19
20 nativeBuildInputs = [
21 autoreconfHook
22 pkg-config
23 wrapQtAppsHook
24 ];
25
26 buildInputs = [
27 qtbase
28 ];
29
30 makeFlags = [
31 "MOC=${qtbase.dev}/bin/moc"
32 "UIC=${qtbase.dev}/bin/uic"
33 ];
34
35 meta = {
36 description = "Phone Simulator for modem testing";
37 mainProgram = "phonesim";
38 homepage = "https://01.org/ofono";
39 license = lib.licenses.gpl2;
40 maintainers = [ ];
41 platforms = lib.platforms.linux;
42 };
43}