2007-12-11 21:48:52 +01:00
|
|
|
args : with args;
|
2008-11-04 22:24:10 +01:00
|
|
|
let localDefs = builderDefs.passthru.function {
|
2007-12-11 21:48:52 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
2008-11-06 20:01:30 +01:00
|
|
|
url = http://freshmeat.net/redir/sdparm/66844/url_bz2/sdparm-1.03.tar.bz2;
|
|
|
|
sha256 = "2066af4d55c60bba366b34a29e02f37264e8e1f0efc232d65beba5e317c20819";
|
2007-12-11 21:48:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = [];
|
2008-08-19 07:54:09 +02:00
|
|
|
};
|
2008-01-18 13:36:56 +01:00
|
|
|
in with localDefs;
|
2007-12-11 21:48:52 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sdparm-"+version;
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-18 13:36:56 +01:00
|
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
2007-12-11 21:48:52 +01:00
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "Utility for setting parameters of SCSI devices";
|
2008-03-02 19:49:31 +01:00
|
|
|
inherit src;
|
2007-12-11 21:48:52 +01:00
|
|
|
};
|
|
|
|
}
|