about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2016-05-09 02:56:10 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2016-05-09 02:57:07 +0200
commit135fe56183a2c125a777ce59aa5e78f51f3dfec2 (patch)
tree3f475acc1620c32e2d0dea86cb9039686c0eff92 /pkgs/tools/filesystems
parent5b217637f94c2e868d00af3c6e7e233718f9ea4e (diff)
downloadnixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.tar
nixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.tar.gz
nixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.tar.bz2
nixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.tar.lz
nixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.tar.xz
nixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.tar.zst
nixlib-135fe56183a2c125a777ce59aa5e78f51f3dfec2.zip
dosfstools: 3.0.28 -> 4.0
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/dosfstools/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix
index 76df4f41257b..5544157ecf37 100644
--- a/pkgs/tools/filesystems/dosfstools/default.nix
+++ b/pkgs/tools/filesystems/dosfstools/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenv, fetchurl }:
 
 stdenv.mkDerivation rec {
   name = "dosfstools-${version}";
-  version = "3.0.28";
+  version = "4.0";
 
-  src = fetchFromGitHub {
-    owner = "dosfstools";
-    repo = "dosfstools";
-    rev = "v${version}";
-    sha256 = "0lqirpxcn8ml0anq8aqmaljfsji9h6mdzz0jrs0yqqfhgg90bkg2";
+  src = fetchurl {
+    sha256 = "1bvxbv1w6vhbx0nx7ygp700wq5k2hjv0hm7w0kz1x7amaf4p6dwh";
+    url = "https://github.com/dosfstools/dosfstools/releases/download/v${version}/${name}.tar.xz";
   };
 
   makeFlags = "PREFIX=$(out)";
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "Utilities for creating and checking FAT and VFAT file systems";
-    repositories.git = git://daniel-baumann.ch/git/software/dosfstools.git;
     homepage = http://www.daniel-baumann.ch/software/dosfstools/;
-    platforms = stdenv.lib.platforms.linux;
+    license = licenses.gpl3Plus;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ nckx ];
   };
 }