3
0
Fork 0
forked from mirrors/nixpkgs

plasma54: take latest versions

This commit is contained in:
Thomas Tuegel 2015-10-02 08:37:18 -05:00
parent a3e7a84d36
commit c398216789
2 changed files with 231 additions and 221 deletions

View file

@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils findutils gnused nix wget
#! nix-shell -i bash -p coreutils findutils gawk gnused nix wget
set -x
@ -9,29 +9,38 @@ EXTRA_WGET_ARGS='-A *.tar.xz'
mkdir tmp; cd tmp
rm -f ../srcs.csv
wget -nH -r -c --no-parent $RELEASE_URL $EXTRA_WGET_ARGS
find . | while read src; do
if [[ -f "${src}" ]]; then
# Sanitize file name
filename=$(basename "$src" | tr '@' '_')
nameVersion="${filename%.tar.*}"
name=$(echo "$nameVersion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,')
version=$(echo "$nameVersion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
echo "$name,$version,$src,$filename" >>../srcs.csv
fi
done
cat >../srcs.nix <<EOF
# DO NOT EDIT! This file is generated automatically by manifest.sh
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
{ fetchurl, mirror }:
{
EOF
workdir=$(pwd)
find . | while read src; do
if [[ -f "${src}" ]]; then
url="${src:2}"
# Sanitize file name
filename=$(basename "$src" | tr '@' '_')
nameversion="${filename%.tar.*}"
name=$(echo "$nameversion" | sed -e 's,-[[:digit:]].*,,' | sed -e 's,-opensource-src$,,')
version=$(echo "$nameversion" | sed -e 's,^\([[:alpha:]][[:alnum:]]*-\)\+,,')
sha256=$(nix-hash --type sha256 --base32 --flat "$src")
cat >>../srcs.nix <<EOF
gawk -F , "{ print \$1 }" ../srcs.csv | sort | uniq | while read name; do
versions=$(gawk -F , "/^$name,/ { print \$2 }" ../srcs.csv)
latestVersion=$(echo "$versions" | sort -rV | head -n 1)
src=$(gawk -F , "/^$name,$latestVersion,/ { print \$3 }" ../srcs.csv)
filename=$(gawk -F , "/^$name,$latestVersion,/ { print \$4 }" ../srcs.csv)
url="${src:2}"
sha256=$(nix-hash --type sha256 --base32 --flat "$src")
cat >>../srcs.nix <<EOF
$name = {
version = "$version";
version = "$latestVersion";
src = fetchurl {
url = "\${mirror}/$url";
sha256 = "$sha256";
@ -39,9 +48,10 @@ find . | while read src; do
};
};
EOF
fi
done
echo "}" >>../srcs.nix
rm -f ../srcs.csv
cd ..

View file

@ -1,79 +1,7 @@
# DO NOT EDIT! This file is generated automatically by manifest.sh
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
{ fetchurl, mirror }:
{
plasma-nm = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-nm-5.4.1.tar.xz";
sha256 = "02rx63ff95nhq2i5hndk93mxixkzf46gp792768i93ss50wjr1li";
name = "plasma-nm-5.4.1.tar.xz";
};
};
kmenuedit = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kmenuedit-5.4.1.tar.xz";
sha256 = "1h0zv6ksfw3ym88y3v5yxwwmw8m9cqbwbrsca0rxa4dc43vinn5m";
name = "kmenuedit-5.4.1.tar.xz";
};
};
kdecoration = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kdecoration-5.4.1.tar.xz";
sha256 = "04jz0b0cx5hwiws5f5d72zd6rr3hqchlbm5qd3xjhq9m8rdb28yv";
name = "kdecoration-5.4.1.tar.xz";
};
};
user-manager = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/user-manager-5.4.1.tar.xz";
sha256 = "19srb9dxl1693grjjbqbb4wl1bg7vp50dhsx82mgg09b4vs2szcp";
name = "user-manager-5.4.1.tar.xz";
};
};
powerdevil = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/powerdevil-5.4.1.tar.xz";
sha256 = "1l467ijhn7h6b0v5ms8vxpjprd4hjdnhplf0k5k0ynj5cgyk96vh";
name = "powerdevil-5.4.1.tar.xz";
};
};
libkscreen = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/libkscreen-5.4.1.tar.xz";
sha256 = "07m340kcajhf0dslcy68msh1zn6gnc58nsxyqasbkikwv9sx4v7r";
name = "libkscreen-5.4.1.tar.xz";
};
};
kwallet-pam = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwallet-pam-5.4.1.tar.xz";
sha256 = "0y9b2r4cpmj8gidqzc2j9ki09fb76gp1958v2kkbalma9g0689kc";
name = "kwallet-pam-5.4.1.tar.xz";
};
};
plasma-pa = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-pa-5.4.1.tar.xz";
sha256 = "0c0lzhv8fnkb1359n181ys5bwm9pzfw6g4f7pxrx9vlqqhjbr06p";
name = "plasma-pa-5.4.1.tar.xz";
};
};
ksysguard = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/ksysguard-5.4.1.tar.xz";
sha256 = "1n9sddx54i6xnr8xk65wbdyl6mpnfmdgzqllc534zj2nq9lgcpfj";
name = "ksysguard-5.4.1.tar.xz";
};
};
bluedevil = {
version = "5.4.1";
src = fetchurl {
@ -82,20 +10,12 @@
name = "bluedevil-5.4.1.tar.xz";
};
};
milou = {
breeze = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/milou-5.4.1.tar.xz";
sha256 = "0n2c94d8kza8m0gl93waa66r52ncn6b0yjbks7lszl0zwzi3wqyx";
name = "milou-5.4.1.tar.xz";
};
};
plasma-workspace-wallpapers = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-workspace-wallpapers-5.4.1.tar.xz";
sha256 = "0p92p3d4m6d8jnbwgfrk8hqij67aa9pvqhzlccn29gr88f1j7wii";
name = "plasma-workspace-wallpapers-5.4.1.tar.xz";
url = "${mirror}/stable/plasma/5.4.1/breeze-5.4.1.tar.xz";
sha256 = "0dram0iy3ym4rhxbmv1ssv52avmmqk694b7ja7b9zr7krm1n8gyh";
name = "breeze-5.4.1.tar.xz";
};
};
kde-cli-tools = {
@ -106,6 +26,118 @@
name = "kde-cli-tools-5.4.1.tar.xz";
};
};
kdecoration = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kdecoration-5.4.1.tar.xz";
sha256 = "04jz0b0cx5hwiws5f5d72zd6rr3hqchlbm5qd3xjhq9m8rdb28yv";
name = "kdecoration-5.4.1.tar.xz";
};
};
kde-gtk-config = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kde-gtk-config-5.4.1.tar.xz";
sha256 = "0g86ij6pqlmcjvaw7gc1n7mqf6v6nywsq874nkvja18k9yvr2cc3";
name = "kde-gtk-config-5.4.1.tar.xz";
};
};
kdeplasma-addons = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kdeplasma-addons-5.4.1.tar.xz";
sha256 = "0fn5z1p5hs9l0ggi62b0wyqpc4wyaaf49921zjn11nb8qs4y0vg1";
name = "kdeplasma-addons-5.4.1.tar.xz";
};
};
kgamma5 = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kgamma5-5.4.1.tar.xz";
sha256 = "1402cvwl9xjlzqi2z6hx59w388xqhh88igaxz0mwmfnlk6fdvrkv";
name = "kgamma5-5.4.1.tar.xz";
};
};
khelpcenter = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/khelpcenter-5.4.1.tar.xz";
sha256 = "11aszn2ha1wjpdyfr25by963krsmgflqj30fmkns2la1axqq19x9";
name = "khelpcenter-5.4.1.tar.xz";
};
};
khotkeys = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/khotkeys-5.4.1.tar.xz";
sha256 = "07wsf7257b48adn22x7dkws3ifdp9flw51spxk5nqyscs15dljm2";
name = "khotkeys-5.4.1.tar.xz";
};
};
kinfocenter = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kinfocenter-5.4.1.tar.xz";
sha256 = "17j7akqi3av4b790c40cva2b9vissyzv8kf1mj5b4mxwhrjlhbrj";
name = "kinfocenter-5.4.1.tar.xz";
};
};
kmenuedit = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kmenuedit-5.4.1.tar.xz";
sha256 = "1h0zv6ksfw3ym88y3v5yxwwmw8m9cqbwbrsca0rxa4dc43vinn5m";
name = "kmenuedit-5.4.1.tar.xz";
};
};
kscreen = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kscreen-5.4.1.tar.xz";
sha256 = "00kb1jrdq2hklkq5svjfpmfd4jj8c9mzi5r3kx96hlnwz9abfjcv";
name = "kscreen-5.4.1.tar.xz";
};
};
ksshaskpass = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/ksshaskpass-5.4.1.tar.xz";
sha256 = "1yjp78p4r5a9ldba5nda8ly8r71zm8niyd0vz262cr14n36l0j52";
name = "ksshaskpass-5.4.1.tar.xz";
};
};
ksysguard = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/ksysguard-5.4.1.tar.xz";
sha256 = "1n9sddx54i6xnr8xk65wbdyl6mpnfmdgzqllc534zj2nq9lgcpfj";
name = "ksysguard-5.4.1.tar.xz";
};
};
kwallet-pam = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwallet-pam-5.4.1.tar.xz";
sha256 = "0y9b2r4cpmj8gidqzc2j9ki09fb76gp1958v2kkbalma9g0689kc";
name = "kwallet-pam-5.4.1.tar.xz";
};
};
kwayland = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwayland-5.4.1.tar.xz";
sha256 = "0irw68c9vn4c2jaqll442wr3f6wzj9q2z2qfl5qpq3vb9lpzfafg";
name = "kwayland-5.4.1.tar.xz";
};
};
kwayland-integration = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwayland-integration-5.4.1.tar.xz";
sha256 = "1hcvnbfzzc7rrbi48ar6hjlvj7mhii23lzlbvaizaqv3x8bgpvd7";
name = "kwayland-integration-5.4.1.tar.xz";
};
};
kwin = {
version = "5.4.1";
src = fetchurl {
@ -114,6 +146,38 @@
name = "kwin-5.4.1.tar.xz";
};
};
kwrited = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwrited-5.4.1.tar.xz";
sha256 = "0y1ag8syf1g3mmzyr0hci4xcpxs85qh54jzwkj98xghb316akdrs";
name = "kwrited-5.4.1.tar.xz";
};
};
libkscreen = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/libkscreen-5.4.1.tar.xz";
sha256 = "07m340kcajhf0dslcy68msh1zn6gnc58nsxyqasbkikwv9sx4v7r";
name = "libkscreen-5.4.1.tar.xz";
};
};
libksysguard = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/libksysguard-5.4.1.tar.xz";
sha256 = "03vffsn2bnx26svmm7rpl4rlvnb8kmrqmivqdi55q69fsxdrz1wp";
name = "libksysguard-5.4.1.tar.xz";
};
};
milou = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/milou-5.4.1.tar.xz";
sha256 = "0n2c94d8kza8m0gl93waa66r52ncn6b0yjbks7lszl0zwzi3wqyx";
name = "milou-5.4.1.tar.xz";
};
};
muon = {
version = "5.4.1";
src = fetchurl {
@ -130,6 +194,22 @@
name = "oxygen-5.4.1.tar.xz";
};
};
oxygen-fonts = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/oxygen-fonts-5.4.1.tar.xz";
sha256 = "0qybgwqz7v37mlqs2gprmxaz5k2dlya3fvcq4kz96zmgrskwlv6v";
name = "oxygen-fonts-5.4.1.tar.xz";
};
};
plasma-desktop = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-desktop-5.4.1.tar.xz";
sha256 = "1a3jllmyk12smpf9fczwkkvfp6ljcsy4m271d9wfahl4adwiycjq";
name = "plasma-desktop-5.4.1.tar.xz";
};
};
plasma-mediacenter = {
version = "5.4.1";
src = fetchurl {
@ -138,12 +218,20 @@
name = "plasma-mediacenter-5.4.1.tar.xz";
};
};
kwrited = {
plasma-nm = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwrited-5.4.1.tar.xz";
sha256 = "0y1ag8syf1g3mmzyr0hci4xcpxs85qh54jzwkj98xghb316akdrs";
name = "kwrited-5.4.1.tar.xz";
url = "${mirror}/stable/plasma/5.4.1/plasma-nm-5.4.1.tar.xz";
sha256 = "02rx63ff95nhq2i5hndk93mxixkzf46gp792768i93ss50wjr1li";
name = "plasma-nm-5.4.1.tar.xz";
};
};
plasma-pa = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-pa-5.4.1.tar.xz";
sha256 = "0c0lzhv8fnkb1359n181ys5bwm9pzfw6g4f7pxrx9vlqqhjbr06p";
name = "plasma-pa-5.4.1.tar.xz";
};
};
plasma-sdk = {
@ -154,20 +242,36 @@
name = "plasma-sdk-5.4.1.tar.xz";
};
};
ksshaskpass = {
plasma-workspace = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/ksshaskpass-5.4.1.tar.xz";
sha256 = "1yjp78p4r5a9ldba5nda8ly8r71zm8niyd0vz262cr14n36l0j52";
name = "ksshaskpass-5.4.1.tar.xz";
url = "${mirror}/stable/plasma/5.4.1/plasma-workspace-5.4.1.tar.xz";
sha256 = "158p70m0dda84c2mskw5xczqr5p8773nb3fibl8h2lw1bn4db130";
name = "plasma-workspace-5.4.1.tar.xz";
};
};
plasma-desktop = {
plasma-workspace-wallpapers = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-desktop-5.4.1.tar.xz";
sha256 = "1a3jllmyk12smpf9fczwkkvfp6ljcsy4m271d9wfahl4adwiycjq";
name = "plasma-desktop-5.4.1.tar.xz";
url = "${mirror}/stable/plasma/5.4.1/plasma-workspace-wallpapers-5.4.1.tar.xz";
sha256 = "0p92p3d4m6d8jnbwgfrk8hqij67aa9pvqhzlccn29gr88f1j7wii";
name = "plasma-workspace-wallpapers-5.4.1.tar.xz";
};
};
polkit-kde-agent = {
version = "1-5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/polkit-kde-agent-1-5.4.1.tar.xz";
sha256 = "1g11kdv9wkqcn4gaijw7j71hkbfg5vi7vci8n880w536l173aa2i";
name = "polkit-kde-agent-1-5.4.1.tar.xz";
};
};
powerdevil = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/powerdevil-5.4.1.tar.xz";
sha256 = "1l467ijhn7h6b0v5ms8vxpjprd4hjdnhplf0k5k0ynj5cgyk96vh";
name = "powerdevil-5.4.1.tar.xz";
};
};
sddm-kcm = {
@ -186,116 +290,12 @@
name = "systemsettings-5.4.1.tar.xz";
};
};
kwayland-integration = {
user-manager = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwayland-integration-5.4.1.tar.xz";
sha256 = "1hcvnbfzzc7rrbi48ar6hjlvj7mhii23lzlbvaizaqv3x8bgpvd7";
name = "kwayland-integration-5.4.1.tar.xz";
};
};
polkit-kde-agent = {
version = "1-5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/polkit-kde-agent-1-5.4.1.tar.xz";
sha256 = "1g11kdv9wkqcn4gaijw7j71hkbfg5vi7vci8n880w536l173aa2i";
name = "polkit-kde-agent-1-5.4.1.tar.xz";
};
};
libksysguard = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/libksysguard-5.4.1.tar.xz";
sha256 = "03vffsn2bnx26svmm7rpl4rlvnb8kmrqmivqdi55q69fsxdrz1wp";
name = "libksysguard-5.4.1.tar.xz";
};
};
plasma-workspace = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/plasma-workspace-5.4.1.tar.xz";
sha256 = "158p70m0dda84c2mskw5xczqr5p8773nb3fibl8h2lw1bn4db130";
name = "plasma-workspace-5.4.1.tar.xz";
};
};
kgamma5 = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kgamma5-5.4.1.tar.xz";
sha256 = "1402cvwl9xjlzqi2z6hx59w388xqhh88igaxz0mwmfnlk6fdvrkv";
name = "kgamma5-5.4.1.tar.xz";
};
};
kde-gtk-config = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kde-gtk-config-5.4.1.tar.xz";
sha256 = "0g86ij6pqlmcjvaw7gc1n7mqf6v6nywsq874nkvja18k9yvr2cc3";
name = "kde-gtk-config-5.4.1.tar.xz";
};
};
kscreen = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kscreen-5.4.1.tar.xz";
sha256 = "00kb1jrdq2hklkq5svjfpmfd4jj8c9mzi5r3kx96hlnwz9abfjcv";
name = "kscreen-5.4.1.tar.xz";
};
};
kdeplasma-addons = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kdeplasma-addons-5.4.1.tar.xz";
sha256 = "0fn5z1p5hs9l0ggi62b0wyqpc4wyaaf49921zjn11nb8qs4y0vg1";
name = "kdeplasma-addons-5.4.1.tar.xz";
};
};
khotkeys = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/khotkeys-5.4.1.tar.xz";
sha256 = "07wsf7257b48adn22x7dkws3ifdp9flw51spxk5nqyscs15dljm2";
name = "khotkeys-5.4.1.tar.xz";
};
};
oxygen-fonts = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/oxygen-fonts-5.4.1.tar.xz";
sha256 = "0qybgwqz7v37mlqs2gprmxaz5k2dlya3fvcq4kz96zmgrskwlv6v";
name = "oxygen-fonts-5.4.1.tar.xz";
};
};
breeze = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/breeze-5.4.1.tar.xz";
sha256 = "0dram0iy3ym4rhxbmv1ssv52avmmqk694b7ja7b9zr7krm1n8gyh";
name = "breeze-5.4.1.tar.xz";
};
};
kinfocenter = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kinfocenter-5.4.1.tar.xz";
sha256 = "17j7akqi3av4b790c40cva2b9vissyzv8kf1mj5b4mxwhrjlhbrj";
name = "kinfocenter-5.4.1.tar.xz";
};
};
khelpcenter = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/khelpcenter-5.4.1.tar.xz";
sha256 = "11aszn2ha1wjpdyfr25by963krsmgflqj30fmkns2la1axqq19x9";
name = "khelpcenter-5.4.1.tar.xz";
};
};
kwayland = {
version = "5.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.4.1/kwayland-5.4.1.tar.xz";
sha256 = "0irw68c9vn4c2jaqll442wr3f6wzj9q2z2qfl5qpq3vb9lpzfafg";
name = "kwayland-5.4.1.tar.xz";
url = "${mirror}/stable/plasma/5.4.1/user-manager-5.4.1.tar.xz";
sha256 = "19srb9dxl1693grjjbqbb4wl1bg7vp50dhsx82mgg09b4vs2szcp";
name = "user-manager-5.4.1.tar.xz";
};
};
}