enchant: using selectVersion
svn path=/nixpkgs/branches/stdenv-updates/; revision=10739
This commit is contained in:
parent
bcb28f63a0
commit
461b3197b5
14
pkgs/development/libraries/enchant/1.3.0.nix
Normal file
14
pkgs/development/libraries/enchant/1.3.0.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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";
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user