From b62f02f751f6b67916fff7ab8922d0cba14a4cb1 Mon Sep 17 00:00:00 2001 From: Robbin C Date: Wed, 10 Jun 2015 18:40:25 +0800 Subject: [PATCH] wavegain: Use fetchFromGitHub instead of fetchgit. --- pkgs/applications/audio/wavegain/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/wavegain/default.nix b/pkgs/applications/audio/wavegain/default.nix index caf579d8765..5f56fb7297f 100644 --- a/pkgs/applications/audio/wavegain/default.nix +++ b/pkgs/applications/audio/wavegain/default.nix @@ -1,10 +1,12 @@ -{ stdenv, fetchgit }: +{ stdenv, fetchFromGitHub }: stdenv.mkDerivation { name = "wavegain-1.3.1"; - src = fetchgit { - url = "https://github.com/MestreLion/wavegain.git"; - sha256 = "1h886xijc9d7h4p6qx12c6kgwmp6s1bdycnyylkayfncczzlbi24"; + src = fetchFromGitHub { + owner = "MestreLion"; + repo = "wavegain"; + rev = "c928eaf97aeec5732625491b64c882e08e314fee"; + sha256 = "0wghqnsbypmr4xcrhb568bfjdnxzzp8qgnws3jslzmzf34dpk5ls"; }; installPhase = ''