komika-fonts: init at 0-unstable-2024-08-12 (#334261)
[NixPkgs.git] / pkgs / development / tools / ofono-phonesim / default.nix
blobb37043ca41cc4b6ba2842d0f9b79574e0ec3f135
1 { lib
2 , mkDerivation
3 , fetchzip
4 , autoreconfHook
5 , pkg-config
6 , qtbase
7 }:
9 mkDerivation {
10   pname = "ofono-phonesim";
11   version = "unstable-2019-11-18";
13   src = fetchzip {
14     url = "https://git.kernel.org/pub/scm/network/ofono/phonesim.git/snapshot/phonesim-adf231a84cd3708b825dc82c56e841dd7e3b4541.tar.gz";
15     sha256 = "1840914sz46l8h2jwa0lymw6dvgj72wq9bhp3k4v4rk6masbf6hp";
16   };
18   nativeBuildInputs = [
19     autoreconfHook
20     pkg-config
21   ];
23   buildInputs = [
24     qtbase
25   ];
27   makeFlags = [
28     "MOC=${qtbase.dev}/bin/moc"
29     "UIC=${qtbase.dev}/bin/uic"
30   ];
32   meta = with lib; {
33     description = "Phone Simulator for modem testing";
34     mainProgram = "phonesim";
35     homepage = "https://01.org/ofono";
36     license = licenses.gpl2;
37     maintainers = [ ];
38     platforms = platforms.linux;
39   };