From 81636c4e60f4b2af6d11e242bc79e43a9a751458 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 18 Jun 2015 22:06:59 -0700 Subject: [PATCH] dosfstools: 3.0.26 -> 3.0.28 --- pkgs/tools/filesystems/dosfstools/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix index 6bd6bfe368c0..76df4f41257b 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)";