bashmount: use fetchFromGitHub instead of fetchurl

This commit is contained in:
Pascal Wittmann 2014-09-16 14:37:14 +02:00
parent 15f090b830
commit cf3d549402

View file

@ -1,12 +1,14 @@
{stdenv, fetchurl}:
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
name = "bashmount-${version}";
version = "3.2.0";
src = fetchurl {
url = "https://github.com/jamielinux/bashmount/archive/${version}.tar.gz";
sha256 = "08ncksz8xl0qg5y5qf64b9adfnsg6769wf5bw8lv8q0zjbhjiwrj";
src = fetchFromGitHub {
owner = "jamielinux";
repo = "bashmount";
rev = version;
sha256 = "0rki4s0jgz6vkywc6hcx9qa551r5bnjs7sw0rdh93k64l32kh644";
};
installPhase = ''