aacgain: Use fetchFromGitHub instead of fetchgit.

authored by Robbin C and committed by Rok Garbas 681cbedd dbac15d6

+4 -3
+4 -3
pkgs/applications/audio/aacgain/default.nix
··· 1 - { stdenv, fetchgit, unzip, m4, libtool, automake, autoconf, mp3gain, mp4v2, faad2 }: 1 + { stdenv, fetchFromGitHub, unzip, m4, libtool, automake, autoconf, mp3gain, mp4v2, faad2 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "aacgain-1.9"; 5 5 srcs = [ 6 - (fetchgit { 7 - url = "https://github.com/mecke/aacgain.git"; 6 + (fetchFromGitHub { 7 + owner = "mecke"; 8 + repo = "aacgain"; 8 9 rev = "4a7d59d78eadbbd5413e905af8f91fe9184ce7a8"; 9 10 sha256 = "0y25avgmm1xpbggvkhby1a7v9wmhsp3wmp74q06sf8ph8xsfajw4"; 10 11 })