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