From 389670985f024c2133d4cafe3c7e6e1570abd89a Mon Sep 17 00:00:00 2001 From: Aycan iRiCAN Date: Thu, 18 Dec 2014 14:51:56 +0200 Subject: [PATCH] emacs24Packages.haskellMode upgrade to use fetchFromGitHub --- .../editors/emacs-modes/haskell/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/haskell/default.nix b/pkgs/applications/editors/emacs-modes/haskell/default.nix index cb96f590cb69..b7ddb508b000 100644 --- a/pkgs/applications/editors/emacs-modes/haskell/default.nix +++ b/pkgs/applications/editors/emacs-modes/haskell/default.nix @@ -1,11 +1,13 @@ -{ stdenv, fetchurl, emacs, texinfo }: +{ stdenv, fetchFromGitHub, emacs, texinfo }: stdenv.mkDerivation rec { name = "haskell-mode-20141113"; - src = fetchurl { - url = "https://github.com/haskell/haskell-mode/archive/fa6468ed36166799439ffea454dddf85335bb424.zip"; - sha256 = "0y5nz565dyvwjgm16w2jbknnkhnqn3v0lgp08axmnxd6rbkpm33d"; + src = fetchFromGitHub { + owner = "haskell"; + repo = "haskell-mode"; + rev = "fa6468ed36166799439ffea454dddf85335bb424"; + sha256 = "12qvlcbil25fs1amndpy03pfqlsbidav9rd1fc79whqxrgylxxnz"; }; buildInputs = [ emacs texinfo ];