Skip to content

Commit

Permalink
bashmount: use fetchFromGitHub instead of fetchurl
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Sep 16, 2014
1 parent 15f090b commit cf3d549
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/tools/filesystems/bashmount/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand Down

0 comments on commit cf3d549

Please sign in to comment.