sed 4.5.4->4.5.90, nothing tested

svn path=/nixpkgs/trunk/; revision=25280
This commit is contained in:
Yury G. Kudryashov 2010-12-26 15:26:42 +00:00
parent 58ca4111ad
commit a7ddd93631
74 changed files with 183 additions and 167 deletions

View File

@ -8,7 +8,7 @@ kde.package {
kde = {
name = "ColorSchemes";
module = "kdeaccessibility";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -8,7 +8,7 @@ kde.package {
kde = {
name = "IconThemes";
module = "kdeaccessibility";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
name = "jovie";
module = "kdeaccessibility";
version = "0.6.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "jovie/jovie/main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kmag";
module = "kdeaccessibility";
version = "1.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "kmag/version.h";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kmousetool";
module = "kdeaccessibility";
version = "1.12";
release = "4.5.4";
release = "4.5.90";
versionFile = "kmousetool/kmousetool/version.h";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kmouth";
module = "kdeaccessibility";
version = "1.1.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "kmouth/version.h";
};
};

View File

@ -20,7 +20,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdeadmin";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -8,7 +8,7 @@ kde.package rec {
kde = {
name = "aurorae";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "ColorSchemes";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "desktopthemes";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "emoticons";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "HighResolutionWallpapers";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
name = "kscreensaver";
module = "kdeartwork";
version = "1.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "kscreensaver/kpartsaver/kpartsaver.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package rec {
kde = {
name = "IconThemes";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "styles";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "sounds";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "wallpapers";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package rec {
kde = {
name = "WeatherWallpapers";
module = "kdeartwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -21,7 +21,7 @@ kde.package {
license = "LGPL";
kde = {
name = "kdebase-runtime";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -21,7 +21,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdebase-workspace";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -13,7 +13,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdebase";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -30,7 +30,7 @@ kde.package rec {
license = "LGPL";
kde = {
name = "kdebindings";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -2,7 +2,7 @@
let
version = "4.5.4";
version = "4.5.90";
# Various packages (e.g. kdesdk) have been split up into many
# smaller packages. Some people may want to install the entire

View File

@ -23,7 +23,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdeedu";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -16,7 +16,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdegames";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -17,7 +17,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdegraphics";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
rec {
defaultArgs = {name, stable ? true, version,
defaultArgs = {name, stable ? null, version,
module ? name, release ? version, ... }:
assert (name == module) -> (release == version);
@ -10,15 +10,19 @@ rec {
{
name = "${name}-${version}";
src = fetchurl {
url = "mirror://kde/" + (if stable then "" else "un")
+ "stable/${release}/src/${module}-${release}.tar.bz2";
sha256 = (stdenv.lib.findFirst
(x: x.module == module)
src =
let
manifest = (import (./manifest + "-${release}.nix"));
_stable = if stable == null then manifest.stable else stable;
stableString = if _stable then "stable" else "unstable";
in
fetchurl {
url = "mirror://kde/${stableString}/${release}/src/${module}-${release}.tar.bz2";
sha256 = stdenv.lib.maybeAttr
module
(throw "No module ${module} in release ${release}!")
(import (./manifest + "-${release}.nix"))
).sha256;
};
manifest.packages;
};
meta = {
maintainers = with stdenv.lib.maintainers; [ sander urkud ];

View File

@ -13,18 +13,27 @@ fi
release=$(ls "${dir}"/kdelibs-*.tar.bz2 | \
sed -e 's/.*kdelibs-//' -e 's/\.tar\.bz2//')
if [[ ${release##*.} -gt 50 ]]; then
stable="false"
else
stable="true"
fi
echo "Detected release ${release}" >&2
exec > "manifest-${release}.nix"
echo "["
echo "{"
echo " stable = ${stable};"
echo " packages = builtins.listToAttrs ["
for i in `cd "${dir}"; ls *-${release}.tar.bz2`; do
module=${i%-${release}.tar.bz2}
echo -n "${module}.. " >&2
hash=$(nix-hash --type sha256 --flat --base32 "${dir}/${i}")
echo "{"
echo " module = \"${module}\";"
echo " sha256 = \"${hash}\";"
echo "}"
echo " {"
echo " name = \"${module}\";"
echo " value = \"${hash}\";"
echo " }"
echo $hash >&2
done
echo "]"
echo " ];"
echo "}"

View File

@ -1,82 +0,0 @@
[
{
module = "kdeaccessibility";
sha256 = "0jd07n143r2610a261xx193zkigs30a4p645pzyw3dsi6la8ms0r";
}
{
module = "kdeadmin";
sha256 = "0frf4clljqnynxv67hqypsfaifdrgbgc0zb9lcckjialc03f2kfm";
}
{
module = "kdeartwork";
sha256 = "08260bml12y3xwr61q2qxrp0aqcshi14h7n93b12q0m9fs8n87x0";
}
{
module = "kdebase";
sha256 = "1k9hla4qwrgz12g4n72c46w6b1srjnwf95zxhj2axqdw4k4hfj6z";
}
{
module = "kdebase-runtime";
sha256 = "0rqrx9hz266dc9l7sn2pakqy36w5919gchwc4ghb5qzira3jjg1h";
}
{
module = "kdebase-workspace";
sha256 = "09a4jsa3w4v4ldsh244isbbrsv350xcmd2py0sb3lvja7gf9wqhw";
}
{
module = "kdebindings";
sha256 = "0vx7fhg74g0b2xcaxjybxci34kyc10h1i29qsdqr1005j01cdvj0";
}
{
module = "kdeedu";
sha256 = "080pw86l55jfhdxm3a18qh4h1p7k6w3cb37g8ymfsyx3k3diil6x";
}
{
module = "kdegames";
sha256 = "12p209n673fxnm9wsgc7by46z4hs3d7b3hzwgcxggzag0kyhx3s5";
}
{
module = "kdegraphics";
sha256 = "1b4n1ss5pg213blqrkbk0pqchfr336rybqfkcb8scv1blx0w83qs";
}
{
module = "kdelibs";
sha256 = "0c4ybrpdw3dblv68mj6sa7q13kx1z64f8lpakxf6f7vw1ish2dph";
}
{
module = "kdemultimedia";
sha256 = "16k8l5h4m2wjpzpzflk2agmg48m1gj4fyzjp67z446lmb1m8jap7";
}
{
module = "kdenetwork";
sha256 = "1g0hy92ixh2nzvasjm4ms8n8jyy777d909gjv16ph8g5w2pxj61w";
}
{
module = "kdepimlibs";
sha256 = "1yc615qf3qihlj69glm4amdrbck33vagp5xmgnp6mny5vhvdc85b";
}
{
module = "kdeplasma-addons";
sha256 = "0q9r8lafc3aa15smaj1r5kcyz2jw7lpbnp6qxanllfbv7c4b37nb";
}
{
module = "kdesdk";
sha256 = "1ia336cfs42h8b3jahd9hb2ynahyiccx6y8dfk420xvyy024i2ra";
}
{
module = "kdetoys";
sha256 = "12755p77r5fv2lfr78jrvcx8vg1mnsfsb1g8hpr6b59w5hh2k2mm";
}
{
module = "kdeutils";
sha256 = "07g96bwy8h4ydj8gdnm1cs7vgm96s3m9c2d36d8r3w6apvh5pjkc";
}
{
module = "kdewebdev";
sha256 = "1ng0rbrizqmqm4l0j9xahf0dwh5674cimzkzrlgj09dl4a603xar";
}
{
module = "oxygen-icons";
sha256 = "0j9d4h3nl3vqwh4fi1zysahgvwd0xswqa25p8jl6hl86rnawhjcy";
}
]

View File

@ -0,0 +1,85 @@
{
stable = false;
packages = builtins.listToAttrs [
{
name = "kdeaccessibility";
value = "0jqfyzy3jvzyv1b6n1r589vk7qs8phng6az5jgsknhjjrhsn40hy";
}
{
name = "kdeadmin";
value = "1kk0xzf6mrhm946rsrpizzpkx59rf8xzxfj5h5lkcrajmq4xr0q8";
}
{
name = "kdeartwork";
value = "0f531rzz5ryq9irkijlb2anxm9zl933yq7q9h9im30s2w4fx31j6";
}
{
name = "kdebase";
value = "0aj5w84clbwhckpfryhcfwjnqamdmjm6mf0nf9g1qdaa2k2sfiqm";
}
{
name = "kdebase-runtime";
value = "0fhzxhj6p8nam4zi9wz998q06j70wvk1zgrb95lblfcjvs5f8ggb";
}
{
name = "kdebase-workspace";
value = "02s2bfid02js0r9400jfk6g74b0m8y7qi95ag7pj3ynn59fz9fv7";
}
{
name = "kdebindings";
value = "0ggq2djhcf74zb3wr2g1i2a72ncxs9h787sf4136ys0frxc4h898";
}
{
name = "kdeedu";
value = "172ix71977i2rm8r2fqdwrs954d0q82xf97hzpvqmjia3hp823iv";
}
{
name = "kdegames";
value = "1srk4vh9n1wh71hamzzvsgwml2j6yi959w61wbqrx9hd0vh3nfcz";
}
{
name = "kdegraphics";
value = "0d93kg8bhg2qwbpjnkgygbc8i6qc3wmdy419h15zafy6v66hfnqi";
}
{
name = "kdelibs";
value = "04n0whn0srfnqb3gr4w4g92s2vwhxhsmik5bkja4zzkkyylpg76b";
}
{
name = "kdemultimedia";
value = "1wclpg44fips943l0yiydr8bg0r0gw1j1ji8jvivcwl8mhq2qxf1";
}
{
name = "kdenetwork";
value = "13r9fpbcsl5a12rlg1cifvply4shmvsmm8c1h6bkgyw55k6m652v";
}
{
name = "kdepimlibs";
value = "1zc07iw6f78zbbnywplavjb4vdvhr14262wfx35zw3w34x3s0czb";
}
{
name = "kdeplasma-addons";
value = "0x46l5840iy6nlfzbgi711rdrrjwaxzglsd9hjs90sswqyiid1zg";
}
{
name = "kdesdk";
value = "0dgvg0pzdwk4cg0v4rmjid0lb25r0gbhciywb2whr0l4g8rnsriz";
}
{
name = "kdetoys";
value = "1kzzwz8gbd0j9758vxb0cpklgcb9szl49lpyv98bb94378syvn87";
}
{
name = "kdeutils";
value = "1c2k8vh7vyjlvq32grs32iwfgg9q9jblm2lwhlkmrl391b38fc0d";
}
{
name = "kdewebdev";
value = "15zj9jwrqfkz94hhjcic8k58d6fwrxa6xacmxpmps80j7qgik0d9";
}
{
name = "oxygen-icons";
value = "15m08kkxyqw00zhi07mqwwkghw2knf9djw2sw32rpiicg7ppfjgx";
}
];
}

View File

@ -14,7 +14,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdemultimedia";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -30,7 +30,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdenetwork";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -12,7 +12,7 @@ kde.package {
license = "LGPL";
kde = {
name = "kdepimlibs";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -17,7 +17,7 @@ kde.package {
license = "GPL";
kde = {
name = "kdeplasma-addons";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package {
name = "cervisia";
module = "kdesdk";
version = "3.5.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "cervisia/version.h";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
kde = {
name = "dolphin-plugins";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
name = "kapptemplate";
module = "kdesdk";
version = "0.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "kapptemplate/main.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
name = "kate";
module = "kdesdk";
version = "3.5.2"; # (release.major-1).(release.minor).(release.patch)
release = "4.5.4";
release = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
name = "kbugbuster";
module = "kdesdk";
version = "3.80.3";
release = "4.5.4";
release = "4.5.90";
versionFile = "version.h";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
name = "kcachegrind";
module = "kdesdk";
version = "0.6";
release = "4.5.4";
release = "4.5.90";
versionFile = "CMakeLists.txt";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
kde = {
name = "kdeaccounts-plugin";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -11,7 +11,7 @@ kde.package {
name = "kioslave-perldoc";
module = "kdesdk";
version = "0.9.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "kioslave/perldoc/perldoc.cpp";
};
};

View File

@ -11,7 +11,7 @@ kde.package {
kde = {
name = "kioslave-svn";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
kde = {
name = "kmtrace";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
name = "kompare";
module = "kdesdk";
version = "4.0.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
name = "kpartloader";
module = "kdesdk";
version = "1.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "kpartloader.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
kde = {
name = "kprofilemethod";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
name = "kstartperf";
module = "kdesdk";
version = "1.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "kstartperf.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
name = "kuiviewer";
module = "kdesdk";
version = "0.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -13,7 +13,7 @@ kde.package {
name = "lokalize";
module = "kdesdk";
version = "1.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "src/version.h";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
kde = {
name = "poxml";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package {
kde = {
name = "scripts";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package {
kde = {
name = "strigi-analyzer";
module = "kdesdk";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -10,7 +10,7 @@ kde.package {
name = "umbrello";
module = "kdesdk";
version = "2.5.2"; # release - 200
release = "4.5.4";
release = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package {
name = "amor";
module = "kdetoys";
version = "2.4.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "src/version.h";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kteatime";
module = "kdetoys";
version = "1.2.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "src/main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "ktux";
module = "kdetoys";
version = "1.0.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "src/sprite.cpp";
};
};

View File

@ -14,7 +14,7 @@ kde.package {
name = "ark";
module = "kdeutils";
version = "2.15";
release = "4.5.4";
release = "4.5.90";
versionFile = "app/main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kcalc";
module = "kdeutils";
version = "2.7";
release = "4.5.4";
release = "4.5.90";
versionFile = "version.h";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kcharselect";
module = "kdeutils";
version = "1.7";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cc";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kdf";
module = "kdeutils";
version = "0.11";
release = "4.5.4";
release = "4.5.90";
versionFile = "kdf.cpp";
};
};

View File

@ -8,7 +8,7 @@ kde.package {
kde = {
name = "kfloppy";
module = "kdeutils";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package {
name = "kgpg";
module = "kdeutils";
version = "2.4.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -8,7 +8,7 @@ kde.package {
kde = {
name = "kremotecontrol";
module = "kdeutils";
version = "4.5.4";
version = "4.5.90";
};
};
}

View File

@ -9,7 +9,7 @@ kde.package {
name = "ktimer";
module = "kdeutils";
version = "0.6";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kwallet";
module = "kdeutils";
version = "1.6";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "okteta";
module = "kdeutils";
version = "0.5.2";
release = "4.5.4";
release = "4.5.90";
versionFile = "program/about.cpp";
};
};

View File

@ -15,7 +15,7 @@ kde.package {
name = "printer-applet";
module = "kdeutils";
version = "1.5";
release = "4.5.4";
release = "4.5.90";
versionFile = "printer-applet.py";
};
};

View File

@ -11,7 +11,7 @@ kde.package {
name = "superkaramba";
module = "kdeutils";
version = "0.55";
release = "4.5.4";
release = "4.5.90";
versionFile = "src/main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "sweeper";
module = "kdeutils";
version = "1.5";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
name = "kfilereplace";
module = "kdewebdev";
version = "0.1";
release = "4.5.4";
release = "4.5.90";
versionFile = "main.cpp";
};
};

View File

@ -10,7 +10,7 @@ kde.package {
name = "kimagemapeditor";
module = "kdewebdev";
version = "3.9.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "version.h";
};
};

View File

@ -12,7 +12,7 @@ kde.package {
name = "klinkstatus";
module = "kdewebdev";
version = "0.7.0";
release = "4.5.4";
release = "4.5.90";
versionFile = "src/main.cpp";
};
};

View File

@ -9,7 +9,7 @@ kde.package {
name = "kommander";
module = "kdewebdev";
version = "1.91";
release = "4.5.4";
release = "4.5.90";
versionFile = "lib/kommanderversion.h";
};
};