dosfstools: temporarily revert upgrade that breaks tests

See #15394

Revert "dosfstools: Enable compat symlinks"
This reverts commit 346482c8d586de299ff8f457d69653917a4d62e2.

Revert "dosfstools: 3.0.28 -> 4.0"
This reverts commit 135fe56183a2c125a777ce59aa5e78f51f3dfec2.

obadz 48d760c6 a6ed726a

+11 -10
+11 -10
pkgs/tools/filesystems/dosfstools/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "dosfstools-${version}"; 5 - version = "4.0"; 5 + version = "3.0.28"; 6 6 7 - src = fetchurl { 8 - sha256 = "1bvxbv1w6vhbx0nx7ygp700wq5k2hjv0hm7w0kz1x7amaf4p6dwh"; 9 - url = "https://github.com/dosfstools/dosfstools/releases/download/v${version}/${name}.tar.xz"; 7 + src = fetchFromGitHub { 8 + owner = "dosfstools"; 9 + repo = "dosfstools"; 10 + rev = "v${version}"; 11 + sha256 = "0lqirpxcn8ml0anq8aqmaljfsji9h6mdzz0jrs0yqqfhgg90bkg2"; 10 12 }; 11 13 12 - configureFlags = [ "--enable-compat-symlinks" ]; 14 + makeFlags = "PREFIX=$(out)"; 13 15 14 - meta = with stdenv.lib; { 16 + meta = { 15 17 description = "Utilities for creating and checking FAT and VFAT file systems"; 18 + repositories.git = git://daniel-baumann.ch/git/software/dosfstools.git; 16 19 homepage = http://www.daniel-baumann.ch/software/dosfstools/; 17 - license = licenses.gpl3Plus; 18 - platforms = platforms.linux; 19 - maintainers = with maintainers; [ nckx ]; 20 + platforms = stdenv.lib.platforms.linux; 20 21 }; 21 22 }