diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2014-09-16 14:37:14 +0200 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2014-09-16 14:37:14 +0200 |
commit | cf3d5494020f24095fa9f84934024d8b5d6cb7e8 (patch) | |
tree | adfc1dfb6623807848f42cfa9dbb6c0fe93eb15f /pkgs/tools/filesystems/bashmount | |
parent | 15f090b83095347bffe30cc029be4b9d00a4d8cc (diff) |
bashmount: use fetchFromGitHub instead of fetchurl
Diffstat (limited to 'pkgs/tools/filesystems/bashmount')
-rw-r--r-- | pkgs/tools/filesystems/bashmount/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/bashmount/default.nix b/pkgs/tools/filesystems/bashmount/default.nix index 0c8119edff18..57bacfe6e887 100644 --- a/pkgs/tools/filesystems/bashmount/default.nix +++ b/pkgs/tools/filesystems/bashmount/default.nix @@ -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 = '' |