diff --git a/pkgs/applications/editors/emacs-modes/cask/default.nix b/pkgs/applications/editors/emacs-modes/cask/default.nix index 803a7d542df3..0566e0e8b870 100644 --- a/pkgs/applications/editors/emacs-modes/cask/default.nix +++ b/pkgs/applications/editors/emacs-modes/cask/default.nix @@ -1,12 +1,14 @@ -{ stdenv, fetchgit, emacs, python }: +{ stdenv, fetchFromGitHub, emacs, python }: stdenv.mkDerivation rec { - name = "cask-0.7.3"; + version = "0.7.4"; + name = "cask-${version}"; - src = fetchgit { - url = "https://github.com/cask/cask.git"; - rev = "717b64a9ba7640ec366e8573da0c01f9c4d57b0c"; - sha256 = "0bq24hac1z77g1bybwlk991dcc3pss2gjpwq0a6vvrqg5hw02lsf"; + src = fetchFromGitHub { + owner = "cask"; + repo = "cask"; + rev = "v${version}"; + sha256 = "1hvm6r6a8rgjwnn2mcamwqrmhz424vlr4mbvbri3wmn0ikbk510l"; }; buildInputs = [ emacs python ];