sipcmd: refactoring

- Use `fetchFromGitHub`
- meta cleanups

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