mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
0f6908ca75
(3.00deb urls weren't working) svn path=/nixpkgs/trunk/; revision=14007
25 lines
848 B
Nix
25 lines
848 B
Nix
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;
|
|
};
|
|
}
|