1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Bumped Guile version by applying patch by Ludovic Cuort\`es. Added sdparm.

svn path=/nixpkgs/trunk/; revision=9910
This commit is contained in:
Michael Raskin 2007-12-11 20:48:52 +00:00
parent 893dbfdbbc
commit 306ae4b8b4
3 changed files with 32 additions and 3 deletions

View file

@ -1,9 +1,9 @@
args: with args;
stdenv.mkDerivation {
name = "guile-1.6.7";
name = "guile-1.8.3";
src = fetchurl {
url = ftp://ftp.gnu.org/gnu/guile/guile-1.8.2.tar.gz;
sha256 = "03kn1ia4s7l24zl2sfbrns6fs3nc9cw2pzsqx8y7wwr80b1nfxhz";
url = ftp://ftp.gnu.org/gnu/guile/guile-1.8.3.tar.gz;
sha256 = "2ab59099cf2d46f57cf5421c9b84aa85f61961640046e8066c6b321257517796";
};
propagatedBuildInputs = [readline libtool gmp];

View file

@ -0,0 +1,21 @@
args : with args;
with 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 */
stdenv.mkDerivation rec {
name = "sdparm-"+version;
builder = writeScript (name + "-builder")
(textClosure [doConfigure doMakeInstall doForceShare doPropagate]);
meta = {
description = "
SCSI parameters utility.
";
};
}

View file

@ -3466,6 +3466,14 @@ rec {
inherit fetchurl stdenv;
};
sdparmFun = lib.sumArgs (selectVersion ../os-specific/linux/sdparm) {
inherit fetchurl stdenv builderDefs;
};
sdparm = sdparmFun {
version = "1.02";
} null;
shadowutils = import ../os-specific/linux/shadow {
inherit fetchurl stdenv;
};