chez-mit: switch to fetchFromGitHub

+8 -7
+8 -7
pkgs/development/chez-modules/chez-mit/default.nix
··· 1 - { stdenv, lib, fetchgit, chez, chez-srfi }: 1 + { stdenv, lib, fetchFromGitHub, chez, chez-srfi }: 2 2 3 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 4 4 pname = "chez-mit"; 5 - version = "1.0"; 5 + version = "0.1"; 6 6 7 - src = fetchgit { 8 - url = "https://github.com/fedeinthemix/chez-mit.git"; 9 - rev = "68f3d7562e77f694847dc74dabb5ecbd106cd6be"; 10 - sha256 = "0c7i3b6i90xk96nmxn1pc9272a4yal4v40dm1a4ybdi87x53zkk0"; 7 + src = fetchFromGitHub { 8 + owner = "fedeinthemix"; 9 + repo = "chez-mit"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-YM4/Sj8otuWJCrUBsglVnihxRGI32F6tSbODFM0a8TA="; 11 12 }; 12 13 13 14 buildInputs = [ chez chez-srfi ];