mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
71f8e0911a
svn path=/nixpkgs/trunk/; revision=10913
23 lines
587 B
Nix
23 lines
587 B
Nix
args : with args;
|
|
let localDefs = builderDefs {
|
|
src = /* put a fetchurl here */
|
|
fetchurl {
|
|
url = http://sg.torque.net/sg/p/sdparm-1.02.tgz;
|
|
sha256 = "13acyg6r65gypdprjhfkmvaykgfcj1riwpnycpvv9znzgq9fxsiv";
|
|
};
|
|
|
|
buildInputs = [];
|
|
configureFlags = [];
|
|
} null; /* null is a terminator for sumArgs */
|
|
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;
|
|
};
|
|
}
|