mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
558c81fcd9
svn path=/nixpkgs/trunk/; revision=13212
24 lines
605 B
Nix
24 lines
605 B
Nix
args : with args;
|
|
let localDefs = builderDefs.passthru.function {
|
|
src = /* put a fetchurl here */
|
|
fetchurl {
|
|
url = http://freshmeat.net/redir/sdparm/66844/url_bz2/sdparm-1.03.tar.bz2;
|
|
sha256 = "2066af4d55c60bba366b34a29e02f37264e8e1f0efc232d65beba5e317c20819";
|
|
};
|
|
|
|
buildInputs = [];
|
|
configureFlags = [];
|
|
};
|
|
in with localDefs;
|
|
stdenv.mkDerivation rec {
|
|
name = "sdparm-"+version;
|
|
builder = writeScript (name + "-builder")
|
|
(textClosure localDefs [doConfigure doMakeInstall doForceShare doPropagate]);
|
|
meta = {
|
|
description = "
|
|
SCSI parameters utility.
|
|
";
|
|
inherit src;
|
|
};
|
|
}
|