enchant: using selectVersion

svn path=/nixpkgs/branches/stdenv-updates/; revision=10739
This commit is contained in:
Yury G. Kudryashov 2008-02-18 20:51:07 +00:00
parent bcb28f63a0
commit 461b3197b5
3 changed files with 15 additions and 11 deletions

View File

@ -0,0 +1,14 @@
args: with args;
stdenv.mkDerivation rec {
name = "enchant-" + version;
src = fetchurl {
url = "http://www.abisource.com/downloads/enchant/${version}/${name}.tar.gz";
sha256 = "1vwqwsadnp4rf8wj7d4rglvszjzlcli0jyxh06h8inka1sm1al76";
};
buildInputs = [aspell pkgconfig glib];
configureFlags = "--enable-shared --disable-static";
meta = {
homepage = http://www.abisource.com/enchant;
};
}

View File

@ -1,10 +0,0 @@
args: with args;
stdenv.mkDerivation {
name = "enchant-1.3.0";
src = fetchurl {
url = http://FIXME/enchant-1.3.0.tar.gz;
sha256 = "1vwqwsadnp4rf8wj7d4rglvszjzlcli0jyxh06h8inka1sm1al76";
};
buildInputs = [aspell pkgconfig glib];
configureFlags = "--enable-shared --disable-static";
}

View File

@ -1892,7 +1892,7 @@ rec {
inherit fetchurl stdenv perl;
};
enchant = import ../development/libraries/enchant {
enchant = selectVersion ../development/libraries/enchant "1.3.0" {
inherit fetchurl stdenv aspell pkgconfig;
inherit (gnome) glib;
};