From c726012afe1dbd13da7ab15381e3de2867bc8af5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Dec 2009 15:39:49 +0000 Subject: * Refactoring: move most filesystem utilities / FUSE filesystems to tools/filesystems. Previously they were all over the place. svn path=/nixpkgs/trunk/; revision=18809 --- pkgs/tools/filesystems/dosfstools/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/tools/filesystems/dosfstools/default.nix (limited to 'pkgs/tools/filesystems/dosfstools') diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix new file mode 100644 index 0000000000000..43691c2271434 --- /dev/null +++ b/pkgs/tools/filesystems/dosfstools/default.nix @@ -0,0 +1,24 @@ +args : with args; 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"; + }; + + 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; + }; +} -- cgit 1.4.1