diff options
-rw-r--r-- | pkgs/tools/filesystems/dosfstools/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix index 6bd6bfe368c0f..76df4f41257b8 100644 --- a/pkgs/tools/filesystems/dosfstools/default.nix +++ b/pkgs/tools/filesystems/dosfstools/default.nix @@ -1,11 +1,14 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { - name = "dosfstools-3.0.26"; + name = "dosfstools-${version}"; + version = "3.0.28"; - src = fetchurl { - url = "http://daniel-baumann.ch/files/software/dosfstools/${name}.tar.xz"; - sha256 = "0x9yi6s1419k678pr9h3a5bjccbrcxxpzmjwgl262ffrikz45126"; + src = fetchFromGitHub { + owner = "dosfstools"; + repo = "dosfstools"; + rev = "v${version}"; + sha256 = "0lqirpxcn8ml0anq8aqmaljfsji9h6mdzz0jrs0yqqfhgg90bkg2"; }; makeFlags = "PREFIX=$(out)"; |