sipcmd: refactoring

- Use `fetchFromGitHub`
- meta cleanups

+6 -5
+6 -5
pkgs/applications/networking/sipcmd/default.nix
··· 1 - { stdenv, fetchgit, opal, ptlib }: 2 3 stdenv.mkDerivation rec { 4 ··· 6 7 name = "sipcmd-${rev}"; 8 9 - src = fetchgit { 10 - url = "https://github.com/tmakkonen/sipcmd"; 11 - rev = "${rev}"; 12 sha256 = "072h9qapmz46r8pxbzkfmc4ikd7dv9g8cgrfrw21q942icbrvq2c"; 13 }; 14 ··· 25 26 meta = { 27 homepage = https://github.com/tmakkonen/sipcmd; 28 - description = "sipcmd - the command line SIP/H.323/RTP softphone"; 29 platforms = with stdenv.lib.platforms; linux; 30 }; 31 }
··· 1 + { stdenv, fetchFromGitHub, opal, ptlib }: 2 3 stdenv.mkDerivation rec { 4 ··· 6 7 name = "sipcmd-${rev}"; 8 9 + src = fetchFromGitHub { 10 + repo = "sipcmd"; 11 + owner = "tmakkonen"; 12 + inherit rev; 13 sha256 = "072h9qapmz46r8pxbzkfmc4ikd7dv9g8cgrfrw21q942icbrvq2c"; 14 }; 15 ··· 26 27 meta = { 28 homepage = https://github.com/tmakkonen/sipcmd; 29 + description = "The command line SIP/H.323/RTP softphone"; 30 platforms = with stdenv.lib.platforms; linux; 31 }; 32 }