diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix index 7ef741753ba..1eef38979d0 100644 --- a/pkgs/tools/filesystems/dosfstools/default.nix +++ b/pkgs/tools/filesystems/dosfstools/default.nix @@ -1,24 +1,17 @@ -{builderDefs}: with builderDefs; - let localDefs = builderDefs.passthru.function (rec { - src = /* put a fetchurl here */ - fetchurl { - url = http://www.daniel-baumann.ch/software/dosfstools/dosfstools-3.0.1.tar.bz2; - sha256 = "7fab0de42391277028071d01ff4da83ff9a399408ccf29958cdee62ffe746d45"; - }; +{ stdenv, fetchurl }: - buildInputs = []; - configureFlags = []; - makeFlags = " PREFIX=$out "; - }); - in with localDefs; stdenv.mkDerivation rec { - name = "dosfstools-3.01"; - builder = writeScript (name + "-builder") - (textClosure localDefs - ["doMakeInstall" doForceShare doPropagate]); - meta = { - description = "Dosfstools - utilities for vfat file system."; - homepage = "http://www.daniel-baumann.ch/software/dosfstools/"; - inherit src; - }; + name = "dosfstools-3.09"; + + src = fetchurl { + url = http://www.daniel-baumann.ch/software/dosfstools/dosfstools-3.0.1.tar.bz2; + sha256 = "7fab0de42391277028071d01ff4da83ff9a399408ccf29958cdee62ffe746d45"; + }; + + makeFlags = "PREFIX=$(out)"; + + meta = { + description = "Utilities for creating and checking FAT and VFAT file systems"; + homepage = http://www.daniel-baumann.ch/software/dosfstools/; + }; }