diff options
author | Sergey Mironov <grrwlf@gmail.com> | 2015-01-16 15:04:12 +0300 |
---|---|---|
committer | Sergey Mironov <grrwlf@gmail.com> | 2015-02-18 11:52:05 +0300 |
commit | 4fea2833497ade8266c0b69788baf9a304e5ca8e (patch) | |
tree | afc401e6800be6ba8fd8286004bf66a945c06f06 /pkgs/applications/networking/sipcmd | |
parent | 96d6344b131cad5af56ecef5cef7b4fd515e1982 (diff) |
sipcmd: add the command-line SIP client
Diffstat (limited to 'pkgs/applications/networking/sipcmd')
-rw-r--r-- | pkgs/applications/networking/sipcmd/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sipcmd/default.nix b/pkgs/applications/networking/sipcmd/default.nix new file mode 100644 index 0000000000000..e45f8c4f84c72 --- /dev/null +++ b/pkgs/applications/networking/sipcmd/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchgit, opal, ptlib }: + +stdenv.mkDerivation rec { + + rev = "3090e9f"; + + name = "sipcmd-${rev}"; + + src = fetchgit { + url = "https://github.com/tmakkonen/sipcmd"; + rev = "${rev}"; + sha256 = "072h9qapmz46r8pxbzkfmc4ikd7dv9g8cgrfrw21q942icbrvq2c"; + }; + + buildInputs = [ opal ptlib ]; + + buildPhase = '' + make IFLAGS="-I${opal}/include/opal -I${ptlib}/include -Isrc/ -L${opal}/lib -L${ptlib}/lib" + ''; + + installPhase = '' + mkdir -pv $out/bin + cp sipcmd $out/bin/sipcmd + ''; + + meta = { + homepage = https://github.com/tmakkonen/sipcmd; + description = "sipcmd - the command line SIP/H.323/RTP softphone"; + platforms = with stdenv.lib.platforms; linux; + }; +} + |