Merge branch 'kde-5'

This commit is contained in:
Thomas Tuegel 2016-06-16 15:16:59 -05:00
commit 78f4fa38e3
14 changed files with 45 additions and 3524 deletions

View File

@ -16,10 +16,14 @@
let
inherit (pkgs) lib stdenv;
inherit (pkgs) fetchurl lib stdenv;
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
mirror = "mirror://kde";
remotesrcs = fetchurl {
url = "https://raw.githubusercontent.com/ttuegel/nixpkgs-kde-qt/580915a460b11820c0b671236255180af5264c0c/applications-srcs.nix";
sha256 = "19lwhn468p9v8p97vyy23q5mv0yxs394lsfl41ij3glrxd92s8kf";
};
srcs = import remotesrcs { inherit (pkgs) fetchurl; inherit mirror; };
packages = self: with self; {
@ -44,6 +48,7 @@ let
kdegraphics-thumbnailers = callPackage ./kdegraphics-thumbnailers.nix {};
kdenetwork-filesharing = callPackage ./kdenetwork-filesharing.nix {};
kgpg = callPackage ./kgpg.nix { inherit (pkgs.kde4) kdepimlibs; };
khelpcenter = callPackage ./khelpcenter.nix {};
kio-extras = callPackage ./kio-extras.nix {};
konsole = callPackage ./konsole.nix {};
libkdcraw = callPackage ./libkdcraw.nix {};

View File

@ -1,56 +0,0 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils findutils gnused nix wget
set -x
# The trailing slash at the end is necessary!
WGET_ARGS='http://download.kde.org/stable/applications/16.04.1/ -A *.tar.xz'
mkdir tmp; cd tmp
rm -f ../srcs.csv
wget -nH -r -c --no-parent $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 fetchsrcs.sh
{ fetchurl, mirror }:
{
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 = "$latestVersion";
src = fetchurl {
url = "\${mirror}/$url";
sha256 = "$sha256";
name = "$filename";
};
};
EOF
done
echo "}" >>../srcs.nix
rm -f ../srcs.csv
cd ..

View File

@ -0,0 +1,20 @@
{ kdeApp, extra-cmake-modules, kdoctools, makeQtWrapper
, grantlee, kconfig, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils
, kdelibs4support, khtml, kservice
, xapian
}:
kdeApp {
name = "khelpcenter";
nativeBuildInputs = [
extra-cmake-modules kdoctools makeQtWrapper
];
buildInputs = [
grantlee kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons kinit
kcmutils kservice
xapian
];
postInstall = ''
wrapQtProgram "$out/bin/khelpcenter"
'';
}

File diff suppressed because it is too large Load Diff

View File

@ -15,10 +15,14 @@
let
inherit (pkgs) lib makeSetupHook stdenv;
inherit (pkgs) fetchurl lib makeSetupHook stdenv;
mirror = "mirror://kde";
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
remotesrcs = fetchurl {
url = "https://raw.githubusercontent.com/ttuegel/nixpkgs-kde-qt/32d38b54ac86ef22ea3e77c2bb5b5adb8438b189/frameworks-srcs.nix";
sha256 = "05h21hc5pzj2z3lcmzmihnrc1x3ia3g8gka4aks2jxg6f7dyq0br";
};
srcs = import remotesrcs { inherit (pkgs) fetchurl; inherit mirror; };
packages = self: with self; {
kdeFramework = args:

View File

@ -1,57 +0,0 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils findutils gnused nix wget
set -x
# The trailing slash at the end is necessary!
RELEASE_URL="http://download.kde.org/stable/frameworks/5.22/"
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 fetchsrcs.sh
{ fetchurl, mirror }:
{
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 = "$latestVersion";
src = fetchurl {
url = "\${mirror}/$url";
sha256 = "$sha256";
name = "$filename";
};
};
EOF
done
echo "}" >>../srcs.nix
rm -f ../srcs.csv
cd ..

View File

@ -1,581 +0,0 @@
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
{ fetchurl, mirror }:
{
attica = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/attica-5.22.0.tar.xz";
sha256 = "1i26nwxyrb62icw49znlyz9y670cv7xvibzbdfnnxq9czsalwym7";
name = "attica-5.22.0.tar.xz";
};
};
baloo = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/baloo-5.22.0.tar.xz";
sha256 = "0h51j41pa8b18jkdna0247z5alqfbvgfzlxc6s6p0c7g7658z0w3";
name = "baloo-5.22.0.tar.xz";
};
};
bluez-qt = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/bluez-qt-5.22.0.tar.xz";
sha256 = "1lrkkg2f2qjj8cy968l3scdrvi506m5hr9x22d1zn6r12fvq6304";
name = "bluez-qt-5.22.0.tar.xz";
};
};
breeze-icons = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/breeze-icons-5.22.0.tar.xz";
sha256 = "162698h01cs7116la4jfygn8ka4ffjmnv7nxjl6yhcqrs25nky7l";
name = "breeze-icons-5.22.0.tar.xz";
};
};
extra-cmake-modules = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/extra-cmake-modules-5.22.0.tar.xz";
sha256 = "042ad7kp2ijp66gvz0q60glk95wj9f0fymrjyw68253rqynf3zj3";
name = "extra-cmake-modules-5.22.0.tar.xz";
};
};
frameworkintegration = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/frameworkintegration-5.22.0.tar.xz";
sha256 = "0jf9y738r86ss520hqhfll8prrfpha73myj99hbz3sqrix7b0va9";
name = "frameworkintegration-5.22.0.tar.xz";
};
};
kactivities = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kactivities-5.22.0.tar.xz";
sha256 = "068jhc6lw47hcibvys968m4wa1b278ccy2gas9iymzzys1ccv6kr";
name = "kactivities-5.22.0.tar.xz";
};
};
kactivities-stats = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kactivities-stats-5.22.0.tar.xz";
sha256 = "1gx5wm337nwbwqb56xvl16vhk47v7a5qpx5hhn7ygpfxkgxh6wiq";
name = "kactivities-stats-5.22.0.tar.xz";
};
};
kapidox = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kapidox-5.22.0.tar.xz";
sha256 = "0cs133g1rvbcrdvy7zvk5c14p5iwwn0x0m76c2ifal0g8qh0hmd1";
name = "kapidox-5.22.0.tar.xz";
};
};
karchive = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/karchive-5.22.0.tar.xz";
sha256 = "1ywd38j6jpwj21kdp504gs0pfvlnvg6ak8hjk6a269pkci3dyf91";
name = "karchive-5.22.0.tar.xz";
};
};
kauth = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kauth-5.22.0.tar.xz";
sha256 = "1c0kp25g57nldh1x5vfq9fypbznc991jrry2lydvb06d3jh44vbn";
name = "kauth-5.22.0.tar.xz";
};
};
kbookmarks = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kbookmarks-5.22.0.tar.xz";
sha256 = "093rlg8pprjg7ba52dh2z9j2x5ir7s9kjas6ni4fqxxzpp15hh3p";
name = "kbookmarks-5.22.0.tar.xz";
};
};
kcmutils = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kcmutils-5.22.0.tar.xz";
sha256 = "1s7gw9l2n92rrcdzy9pnwq8na65axd8bkk9nphyhpbxk76zj1gyy";
name = "kcmutils-5.22.0.tar.xz";
};
};
kcodecs = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kcodecs-5.22.0.tar.xz";
sha256 = "0rlqs8m2ib2kkj679gn74zqqxzsddfcbywpgwlcd6b992i4cad87";
name = "kcodecs-5.22.0.tar.xz";
};
};
kcompletion = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kcompletion-5.22.0.tar.xz";
sha256 = "07jqjrddigdqsdy2adzari7g626sakilg9d765s75vncv5amrvzy";
name = "kcompletion-5.22.0.tar.xz";
};
};
kconfig = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kconfig-5.22.0.tar.xz";
sha256 = "0n0dzgba96pkabbvk1cfm34j9jirgbd84xha6adscpxs28506cg0";
name = "kconfig-5.22.0.tar.xz";
};
};
kconfigwidgets = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kconfigwidgets-5.22.0.tar.xz";
sha256 = "0jr6ygd8c0gap2ay2685wj3fx4scrahzbpaaj4bjhq2s79nvmlyg";
name = "kconfigwidgets-5.22.0.tar.xz";
};
};
kcoreaddons = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kcoreaddons-5.22.0.tar.xz";
sha256 = "0zzwcw0n9bd3pi3rv7cdwynb67x1bqf1bh3s59hjipf9d412wl15";
name = "kcoreaddons-5.22.0.tar.xz";
};
};
kcrash = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kcrash-5.22.0.tar.xz";
sha256 = "1r0i9ngk5jypzfhhssjm5b3n5sqli3jhh896r1qwpfcq9w15x7qg";
name = "kcrash-5.22.0.tar.xz";
};
};
kdbusaddons = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdbusaddons-5.22.0.tar.xz";
sha256 = "0w9spb5i5qi2r5kfgrylpvw6mwjxfhd4j7yslc9jy0q4y8j3f1dk";
name = "kdbusaddons-5.22.0.tar.xz";
};
};
kdeclarative = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdeclarative-5.22.0.tar.xz";
sha256 = "06n6wqy8dm2hv6dbar453z4rmiyf6f34zak1fhs38sqkfy6syva1";
name = "kdeclarative-5.22.0.tar.xz";
};
};
kded = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kded-5.22.0.tar.xz";
sha256 = "1zfggr6pmiypw5bnh6hr22agms589hm7hw35nhfhc4r7qd1drf6q";
name = "kded-5.22.0.tar.xz";
};
};
kdelibs4support = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/portingAids/kdelibs4support-5.22.0.tar.xz";
sha256 = "1mmrr54kkicnz4pjksnrh40md80m18mr5ba2la7kwjxmdyl6znm3";
name = "kdelibs4support-5.22.0.tar.xz";
};
};
kdesignerplugin = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdesignerplugin-5.22.0.tar.xz";
sha256 = "0cfnmpz845l39qpy5r6pknzm78js81bci9qi0xfnrf8gm3lvjg5l";
name = "kdesignerplugin-5.22.0.tar.xz";
};
};
kdesu = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdesu-5.22.0.tar.xz";
sha256 = "1jsr9m32dyzvsvsy743h3jih8v4yyr2zf15hh908anbamp7449bd";
name = "kdesu-5.22.0.tar.xz";
};
};
kdewebkit = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdewebkit-5.22.0.tar.xz";
sha256 = "0rmxa4j3jx7689jcf45fghh7jff16x34xrzrw0clg3fj4w47ik0b";
name = "kdewebkit-5.22.0.tar.xz";
};
};
kdnssd = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdnssd-5.22.0.tar.xz";
sha256 = "1b0s5gwn51zh2h5w2mzpzjj86qaz6pl7gzqf5q88vpzsiqjg14vp";
name = "kdnssd-5.22.0.tar.xz";
};
};
kdoctools = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kdoctools-5.22.0.tar.xz";
sha256 = "0y4ayms0hyj4nv5flr0a198lb545plfbxkwhqsmzc0c77gagcw5k";
name = "kdoctools-5.22.0.tar.xz";
};
};
kemoticons = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kemoticons-5.22.0.tar.xz";
sha256 = "1swrpqm441ngmps00hr15pgvw1382zbf2q2ncndj7i30725nfq1g";
name = "kemoticons-5.22.0.tar.xz";
};
};
kfilemetadata = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kfilemetadata-5.22.0.tar.xz";
sha256 = "0p6s1r2qv5396ghkw79wyf7yf4hzj562yp83wgplwmr6lgh4b2fc";
name = "kfilemetadata-5.22.0.tar.xz";
};
};
kglobalaccel = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kglobalaccel-5.22.0.tar.xz";
sha256 = "1m1aviz5g0vwk58j0z9jckz4rzns7md7mr3zlqqpvp1r032qc30k";
name = "kglobalaccel-5.22.0.tar.xz";
};
};
kguiaddons = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kguiaddons-5.22.0.tar.xz";
sha256 = "10chxcvf4hxyfkgprsj7rg4dv788dzqjgsm6m0a4m6qmx12zhckh";
name = "kguiaddons-5.22.0.tar.xz";
};
};
khtml = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/portingAids/khtml-5.22.0.tar.xz";
sha256 = "1w5q41fjrqqq91j3dvhc9lrrhvrwy1izws6af7srh768gn6yig0m";
name = "khtml-5.22.0.tar.xz";
};
};
ki18n = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/ki18n-5.22.0.tar.xz";
sha256 = "0881y42h5k8ik6lf7pfsylch1ldksc5m4qm3gvshp8aazic8iyzd";
name = "ki18n-5.22.0.tar.xz";
};
};
kiconthemes = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kiconthemes-5.22.0.tar.xz";
sha256 = "1bh76f7kpha4c5qs3n8z6g1qah0rsk99yqcz8j1dlss4ws65j9j3";
name = "kiconthemes-5.22.0.tar.xz";
};
};
kidletime = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kidletime-5.22.0.tar.xz";
sha256 = "0dgw0rin6wz31xdspbjpvcs5x1b163ggqkz2zn73zavbr7f5jypc";
name = "kidletime-5.22.0.tar.xz";
};
};
kimageformats = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kimageformats-5.22.0.tar.xz";
sha256 = "0g3f73m3yj5iqivcsn83pm32w4l13zbyzz5azgm3jjfhgnd00c18";
name = "kimageformats-5.22.0.tar.xz";
};
};
kinit = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kinit-5.22.0.tar.xz";
sha256 = "1f71y6gf00p4jkqvpzyjlbnwc4gvjl2h4wi61xhpjz8lrmpsb6ac";
name = "kinit-5.22.0.tar.xz";
};
};
kio = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kio-5.22.0.tar.xz";
sha256 = "02knylbs9ymb8qm7fkp3dkdqc9cvgw2dwfl4phzl1iax2fx2zkqy";
name = "kio-5.22.0.tar.xz";
};
};
kitemmodels = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kitemmodels-5.22.0.tar.xz";
sha256 = "03gnglfhpzrc67bi0xdcy4xdhankic5cqnpahp9wwsis12ac6i83";
name = "kitemmodels-5.22.0.tar.xz";
};
};
kitemviews = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kitemviews-5.22.0.tar.xz";
sha256 = "0nhwg7bmv1c8p6pnbfsz96mq9wbq339ir9yp7kfnhfrg0wqi44ar";
name = "kitemviews-5.22.0.tar.xz";
};
};
kjobwidgets = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kjobwidgets-5.22.0.tar.xz";
sha256 = "1inqrb0j64b3519qcr0wk9izd4c1zi4kfjc8wa04s2kwxg6z7j1p";
name = "kjobwidgets-5.22.0.tar.xz";
};
};
kjs = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/portingAids/kjs-5.22.0.tar.xz";
sha256 = "0xqlkhm8r021xd5a25nwp9a4r7cbjkpqkc89fjma8qyvq5785qxw";
name = "kjs-5.22.0.tar.xz";
};
};
kjsembed = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/portingAids/kjsembed-5.22.0.tar.xz";
sha256 = "0fcc1lm5l8r0lj35r3niliyn8zxr90by2vjc9krzfm4i7kwij7wb";
name = "kjsembed-5.22.0.tar.xz";
};
};
kmediaplayer = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/portingAids/kmediaplayer-5.22.0.tar.xz";
sha256 = "1pn3fmaixcxba1wl63hblhnpj7jblrala9j3xrj8z2abhhfl5vzy";
name = "kmediaplayer-5.22.0.tar.xz";
};
};
knewstuff = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/knewstuff-5.22.0.tar.xz";
sha256 = "1gr566k95bg58hpn569kkarmlxk5rp12jcxdp7ksw1j8mp6la7a7";
name = "knewstuff-5.22.0.tar.xz";
};
};
knotifications = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/knotifications-5.22.0.tar.xz";
sha256 = "0fh6ahfr9pa8643i1ma40h7afnd1jn0m6dw5f9hgndxhwi6h3bps";
name = "knotifications-5.22.0.tar.xz";
};
};
knotifyconfig = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/knotifyconfig-5.22.0.tar.xz";
sha256 = "0p4g7wv2w6cpjzhlkh7rnzzhwcj86sgz98fl97is1fl65q8f0szr";
name = "knotifyconfig-5.22.0.tar.xz";
};
};
kpackage = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kpackage-5.22.0.tar.xz";
sha256 = "1nbwjc4n8f2iisdckm5ll3qyls1sq02ia6vmhj4mfm4w44q4s1bk";
name = "kpackage-5.22.0.tar.xz";
};
};
kparts = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kparts-5.22.0.tar.xz";
sha256 = "091wm2flhqgpqsffdd8nlwbdffvsj7cyd0c46949d9chm64723cg";
name = "kparts-5.22.0.tar.xz";
};
};
kpeople = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kpeople-5.22.0.tar.xz";
sha256 = "0rbwxzmyaig92vcd26v1yqd13swk15pp0lpvjp6hdpxbhpxijyf7";
name = "kpeople-5.22.0.tar.xz";
};
};
kplotting = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kplotting-5.22.0.tar.xz";
sha256 = "0ljiyxa2320v937lkqkxx3jc7sg45z4vjl74lxfybwspgs6y5hqk";
name = "kplotting-5.22.0.tar.xz";
};
};
kpty = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kpty-5.22.0.tar.xz";
sha256 = "12lfwv45d06ksx5xc4hgk075mj2ckkqpc8mksx99f700yvcyk1db";
name = "kpty-5.22.0.tar.xz";
};
};
kross = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/portingAids/kross-5.22.0.tar.xz";
sha256 = "1ika9ha06vspjn8hy6mv5vi5n7xj7sj45csmjjxcqwhn2wlcdj4l";
name = "kross-5.22.0.tar.xz";
};
};
krunner = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/krunner-5.22.0.tar.xz";
sha256 = "09jhdy48dciqd8hwxmvjyw547fr48mzns5f0yknsnnb8a47yhrd4";
name = "krunner-5.22.0.tar.xz";
};
};
kservice = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kservice-5.22.0.tar.xz";
sha256 = "1c5q8cxghbji3imamjbxymcd5cz9a9rapqriy1wmskys3ms3fag9";
name = "kservice-5.22.0.tar.xz";
};
};
ktexteditor = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/ktexteditor-5.22.0.tar.xz";
sha256 = "1jsa8cfq0245bsris46i3k8f8g7l0sc5jpj4iwkxrl9m0nk5j1v0";
name = "ktexteditor-5.22.0.tar.xz";
};
};
ktextwidgets = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/ktextwidgets-5.22.0.tar.xz";
sha256 = "01a2vkdpq06libap5g6a90jrcc0phmfd859kilraqyxhbrp9sw5l";
name = "ktextwidgets-5.22.0.tar.xz";
};
};
kunitconversion = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kunitconversion-5.22.0.tar.xz";
sha256 = "1phbqxddp8ks36nr4982n4bwwx7d6yxll629gpb0ddc4yfsjv48p";
name = "kunitconversion-5.22.0.tar.xz";
};
};
kwallet = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kwallet-5.22.0.tar.xz";
sha256 = "1i20kp1gkdiwmwy8vf7vd6r89qx6lpxwr6nib35khp93ci9l3838";
name = "kwallet-5.22.0.tar.xz";
};
};
kwayland = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kwayland-5.22.0.tar.xz";
sha256 = "1jfibqai7vy1vklj19x7z0r4qc0rc7yd5r4wpp98mmdwzpnhlrgy";
name = "kwayland-5.22.0.tar.xz";
};
};
kwidgetsaddons = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kwidgetsaddons-5.22.0.tar.xz";
sha256 = "1bwmnfa1l3s33nc6b0ryk78gxhrynyd07ffqw7mw211r34pg4c14";
name = "kwidgetsaddons-5.22.0.tar.xz";
};
};
kwindowsystem = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kwindowsystem-5.22.0.tar.xz";
sha256 = "05jwmjqk03pc2g09rnyb9qh0dfi0c46awbaxgc7i7z4i9swv1k30";
name = "kwindowsystem-5.22.0.tar.xz";
};
};
kxmlgui = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kxmlgui-5.22.0.tar.xz";
sha256 = "16q222jvnsd6pj49ih44qpks97lcjsamcpjg5x5ysn4a6w5h4mds";
name = "kxmlgui-5.22.0.tar.xz";
};
};
kxmlrpcclient = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/kxmlrpcclient-5.22.0.tar.xz";
sha256 = "00qj4pa7r0ny6pwivq6qqw80v4dsg9lgwd2qdlp9kddi0f8i2p1b";
name = "kxmlrpcclient-5.22.0.tar.xz";
};
};
modemmanager-qt = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/modemmanager-qt-5.22.0.tar.xz";
sha256 = "1b1gx33vrw7qcvy3zlc01x7wlalx5csfl590gfxlf870i3m7dnhf";
name = "modemmanager-qt-5.22.0.tar.xz";
};
};
networkmanager-qt = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/networkmanager-qt-5.22.0.tar.xz";
sha256 = "03b710n4107qw9c3p7wdma9fz9vqixrjydfa02f7vgzw1rixmmqq";
name = "networkmanager-qt-5.22.0.tar.xz";
};
};
oxygen-icons5 = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/oxygen-icons5-5.22.0.tar.xz";
sha256 = "1m3f5wrgahqlzzl3jyfymh6n515fsmsi8ckimvma2d8qqpb0dc2l";
name = "oxygen-icons5-5.22.0.tar.xz";
};
};
plasma-framework = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/plasma-framework-5.22.0.tar.xz";
sha256 = "1wn7ib030dw8rj5dprl8bzz4c3dv4nlmrfb9wgr6x78w4ac967zc";
name = "plasma-framework-5.22.0.tar.xz";
};
};
solid = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/solid-5.22.0.tar.xz";
sha256 = "04a7z5g2ylhbj2572wa6w51cs98ddn4d7lfirzawxf0f8d2693w2";
name = "solid-5.22.0.tar.xz";
};
};
sonnet = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/sonnet-5.22.0.tar.xz";
sha256 = "0y8l3mfa65a59vjj424ga87q3bixx8inicp2jp9zi36p4g7xwww8";
name = "sonnet-5.22.0.tar.xz";
};
};
threadweaver = {
version = "5.22.0";
src = fetchurl {
url = "${mirror}/stable/frameworks/5.22/threadweaver-5.22.0.tar.xz";
sha256 = "1ax58k6nl8za79j99spa2r76m9xz8ih9iflksgpng40wlnkwlp59";
name = "threadweaver-5.22.0.tar.xz";
};
};
}

View File

@ -9,12 +9,14 @@
let
inherit (pkgs) lib stdenv symlinkJoin;
inherit (pkgs) fetchurl lib stdenv symlinkJoin;
kdeApps = pkgs.kdeApps_15_12;
srcs = import ./srcs.nix { inherit (pkgs) fetchurl; inherit mirror; };
mirror = "mirror://kde";
remotesrcs = fetchurl {
url = "https://raw.githubusercontent.com/ttuegel/nixpkgs-kde-qt/7bb0608eb5b147fb302f7c37411f9cad32cb6283/plasma-srcs.nix";
sha256 = "1zw9s87fj4qqz5dhqm5l1mb0d6r6f6p50q8n6qi7x8i5rd4p4fyl";
};
srcs = import remotesrcs { inherit (pkgs) fetchurl; inherit mirror; };
packages = self: with self; {
plasmaPackage = args:
@ -61,7 +63,6 @@ let
kdecoration = callPackage ./kdecoration.nix {};
kdeplasma-addons = callPackage ./kdeplasma-addons.nix {};
kgamma5 = callPackage ./kgamma5.nix {};
khelpcenter = callPackage ./khelpcenter.nix {};
khotkeys = callPackage ./khotkeys.nix {};
kinfocenter = callPackage ./kinfocenter.nix {};
kmenuedit = callPackage ./kmenuedit.nix {};

View File

@ -1,57 +0,0 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils findutils gawk gnused nix wget
set -x
# The trailing slash at the end is necessary!
RELEASE_URL="http://download.kde.org/stable/plasma/5.6.4/"
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 fetchsrcs.sh
{ fetchurl, mirror }:
{
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 = "$latestVersion";
src = fetchurl {
url = "\${mirror}/$url";
sha256 = "$sha256";
name = "$filename";
};
};
EOF
done
echo "}" >>../srcs.nix
rm -f ../srcs.csv
cd ..

View File

@ -1,20 +0,0 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, kconfig
, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils, kdelibs4support
, khtml, kservice, makeQtWrapper
}:
plasmaPackage {
name = "khelpcenter";
nativeBuildInputs = [
extra-cmake-modules
kdoctools
makeQtWrapper
];
propagatedBuildInputs = [
kdelibs4support khtml ki18n kconfig kcoreaddons kdbusaddons kinit kcmutils
kservice
];
postInstall = ''
wrapQtProgram "$out/bin/khelpcenter"
'';
}

View File

@ -1,341 +0,0 @@
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
{ fetchurl, mirror }:
{
bluedevil = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/bluedevil-5.6.4.tar.xz";
sha256 = "043damq5pgalrv77rggcwkvhvxkdpmzhq022zga7nvbzv58hygk0";
name = "bluedevil-5.6.4.tar.xz";
};
};
breeze = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/breeze-5.6.4.tar.xz";
sha256 = "184fkv6wda3g0fcmvnzck1vz7vmiin9zsgi3lycrnhf8bwmdp88x";
name = "breeze-5.6.4.tar.xz";
};
};
breeze-grub = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/breeze-grub-5.6.4.tar.xz";
sha256 = "0ccc1r7gmfgv5hbd2lvy8qmkmnfsxywax136i0813bjnc3nmvmpy";
name = "breeze-grub-5.6.4.tar.xz";
};
};
breeze-gtk = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/breeze-gtk-5.6.4.tar.xz";
sha256 = "07y5vpikp2q0knmf86m5hzg8dl7a05zlcmd56mg655b9vijkn7sp";
name = "breeze-gtk-5.6.4.tar.xz";
};
};
breeze-plymouth = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/breeze-plymouth-5.6.4.tar.xz";
sha256 = "1vdxbl4mkdmac9i1wnnlsfpx35n6qzymjkjm3zmxa5saxdwv6w0f";
name = "breeze-plymouth-5.6.4.tar.xz";
};
};
discover = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/discover-5.6.4.tar.xz";
sha256 = "0l9rp77hm8gbih7qkr8j1nf37mymysbyjj9nxx3ilgv3dac1x6lb";
name = "discover-5.6.4.tar.xz";
};
};
kactivitymanagerd = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kactivitymanagerd-5.6.4.tar.xz";
sha256 = "0xpy392w0xcssabblkw3q7gv9ajn1725i0q5lm3xzrl0x0iq3h2z";
name = "kactivitymanagerd-5.6.4.tar.xz";
};
};
kde-cli-tools = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kde-cli-tools-5.6.4.tar.xz";
sha256 = "1kmhi9jx40s8i8zvim0v9dx66gpg6nvjl88ir0w7r903c4c58kpm";
name = "kde-cli-tools-5.6.4.tar.xz";
};
};
kdecoration = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kdecoration-5.6.4.tar.xz";
sha256 = "0i84nii940xnd94cch4z7zax3y157mjfngcil34ar0n2lpgya2ap";
name = "kdecoration-5.6.4.tar.xz";
};
};
kde-gtk-config = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kde-gtk-config-5.6.4.tar.xz";
sha256 = "11798j2024zjpjmpiwj8a9kp3r9lpkahpvkpyxq2pqsvj4rfi55r";
name = "kde-gtk-config-5.6.4.tar.xz";
};
};
kdeplasma-addons = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kdeplasma-addons-5.6.4.tar.xz";
sha256 = "0h20nq5kkd8gn4x2fysfmzwina6cb98d41c8m7c2vxiw6ycsl5id";
name = "kdeplasma-addons-5.6.4.tar.xz";
};
};
kgamma5 = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kgamma5-5.6.4.tar.xz";
sha256 = "0zc7rdw52awrasiynd3b6lhizpzh8yj097fplvnni7nq6mxsc3x3";
name = "kgamma5-5.6.4.tar.xz";
};
};
khelpcenter = {
version = "5.6.4.1";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/khelpcenter-5.6.4.1.tar.xz";
sha256 = "14mwy1rv04mp92dfci6ak6dvmaqx2vc0yk0zyp1v6s64jiry658g";
name = "khelpcenter-5.6.4.1.tar.xz";
};
};
khotkeys = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/khotkeys-5.6.4.tar.xz";
sha256 = "1xkxzganifvcrinj2hwp9927yqzsqp0mawnfbxnpyhas2jj813c5";
name = "khotkeys-5.6.4.tar.xz";
};
};
kinfocenter = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kinfocenter-5.6.4.tar.xz";
sha256 = "19rkb2rprfyh9i4dn7kz2gf4yxmigq3qdhksffn56g2r77wfp56c";
name = "kinfocenter-5.6.4.tar.xz";
};
};
kmenuedit = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kmenuedit-5.6.4.tar.xz";
sha256 = "1si5gxlcvdywbzwgw6xnwkx509gbc9jpbw5n1kgzxrya0s0baf0z";
name = "kmenuedit-5.6.4.tar.xz";
};
};
kscreen = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kscreen-5.6.4.tar.xz";
sha256 = "0h722khwnd41537daz5v1303jz7h2b72x9gdfxbihvb7gxaxq9yj";
name = "kscreen-5.6.4.tar.xz";
};
};
kscreenlocker = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kscreenlocker-5.6.4.tar.xz";
sha256 = "0anhcpl5r0x17i412imn8q0078dqpxgn1wmjz8xjfn33i2y32k0h";
name = "kscreenlocker-5.6.4.tar.xz";
};
};
ksshaskpass = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/ksshaskpass-5.6.4.tar.xz";
sha256 = "1qzxj152pq53ach0ddc7adg6dvz250pzd5vaz7w79jbjn9pgkaky";
name = "ksshaskpass-5.6.4.tar.xz";
};
};
ksysguard = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/ksysguard-5.6.4.tar.xz";
sha256 = "0003w4kad8lvs0hi49qq49sxg8hsqa1b82miw0cmb3r08ivr1pc1";
name = "ksysguard-5.6.4.tar.xz";
};
};
kwallet-pam = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kwallet-pam-5.6.4.tar.xz";
sha256 = "1yr5nhxrrkz49qn1nd7ql6k1wvilzy1vg40m3x65wk3gbgajq2xj";
name = "kwallet-pam-5.6.4.tar.xz";
};
};
kwayland = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kwayland-5.6.4.tar.xz";
sha256 = "0limprv5sniscnar6l0q2805nvfiv375r4kdwwlq8r0g7cj1bb6q";
name = "kwayland-5.6.4.tar.xz";
};
};
kwayland-integration = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kwayland-integration-5.6.4.tar.xz";
sha256 = "1jxl6pmbq33sv09lrs558hpy7n7liz3c0l9mmnsnvam43lmj2mzi";
name = "kwayland-integration-5.6.4.tar.xz";
};
};
kwin = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kwin-5.6.4.tar.xz";
sha256 = "09869hnck8fas5hkpnn7przdn2hzj8cljpasnzy30nc3h5823rdc";
name = "kwin-5.6.4.tar.xz";
};
};
kwrited = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/kwrited-5.6.4.tar.xz";
sha256 = "0cgi9ad0kns5z926hbdpg1hrp3pcpjcfpxna248qq7xf9il8cg2q";
name = "kwrited-5.6.4.tar.xz";
};
};
libkscreen = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/libkscreen-5.6.4.tar.xz";
sha256 = "1rrargaaz39xxn9rgvlgm15c9y4zyvz35h4dv6fz7vrix2cjpqkx";
name = "libkscreen-5.6.4.tar.xz";
};
};
libksysguard = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/libksysguard-5.6.4.tar.xz";
sha256 = "0acwb9qnrygggywyf5vj7768mp269hmnxz2q0vgn3pwpc68l4xj6";
name = "libksysguard-5.6.4.tar.xz";
};
};
milou = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/milou-5.6.4.tar.xz";
sha256 = "1j22i98qwc14xbhc2yy0qq100rnddkmkr6q432pfd2cz31l5pvyk";
name = "milou-5.6.4.tar.xz";
};
};
oxygen = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/oxygen-5.6.4.tar.xz";
sha256 = "0h8ib1b7l1i92vnwhzdxsw8vspx420dk1pw3dg0p550vw411nfm9";
name = "oxygen-5.6.4.tar.xz";
};
};
plasma-desktop = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-desktop-5.6.4.tar.xz";
sha256 = "0xj8y2w8qzxih47qmyg31h588i8g2nlyx7rr3qkj8zvllq1fqspw";
name = "plasma-desktop-5.6.4.tar.xz";
};
};
plasma-integration = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-integration-5.6.4.tar.xz";
sha256 = "1aqv3agcba6w789mmg0r56afywqkxwcwnvfznaxzzwi33y039x4m";
name = "plasma-integration-5.6.4.tar.xz";
};
};
plasma-mediacenter = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-mediacenter-5.6.4.tar.xz";
sha256 = "0w2s6s4azdh3if2w88p5h2p8kw14l7z6h6pddj3m4hyq2nyk5izc";
name = "plasma-mediacenter-5.6.4.tar.xz";
};
};
plasma-nm = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-nm-5.6.4.tar.xz";
sha256 = "1g0flz5f8ydbi1an55anw4zz1h2wmf6xq500qs7ww038gk24113v";
name = "plasma-nm-5.6.4.tar.xz";
};
};
plasma-pa = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-pa-5.6.4.tar.xz";
sha256 = "0whlqhlnadk20qjmiyhxxsh0g1djmn6hjiqlpya224gjdpg9205s";
name = "plasma-pa-5.6.4.tar.xz";
};
};
plasma-sdk = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-sdk-5.6.4.tar.xz";
sha256 = "1x2g1kf40g249n7hcq15k4nxv269lw2v4y49j448gzp4hglfkq4i";
name = "plasma-sdk-5.6.4.tar.xz";
};
};
plasma-workspace = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-workspace-5.6.4.tar.xz";
sha256 = "1rrhw13hr8b3088lxjzaks439yi1kx53qxm8iwspnnkx9b88n18v";
name = "plasma-workspace-5.6.4.tar.xz";
};
};
plasma-workspace-wallpapers = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/plasma-workspace-wallpapers-5.6.4.tar.xz";
sha256 = "1nzzi19jgfprlhiq7kfarv1z4c4p2vcdds75hk304sb2bj0a1fq3";
name = "plasma-workspace-wallpapers-5.6.4.tar.xz";
};
};
polkit-kde-agent = {
version = "1-5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/polkit-kde-agent-1-5.6.4.tar.xz";
sha256 = "07lkhsb9yr4223qxlfkzl54jsl3amdlf9f86cqh1mryk9hqx4p6z";
name = "polkit-kde-agent-1-5.6.4.tar.xz";
};
};
powerdevil = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/powerdevil-5.6.4.tar.xz";
sha256 = "0yv0wcfs678z1h0lglsky439c8qqiz0m6630sv254xydsdwld1m5";
name = "powerdevil-5.6.4.tar.xz";
};
};
sddm-kcm = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/sddm-kcm-5.6.4.tar.xz";
sha256 = "05f7xx0ayyq5l15j7cq6rpb9l473lkizcf41yrr0aszrzj45i94v";
name = "sddm-kcm-5.6.4.tar.xz";
};
};
systemsettings = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/systemsettings-5.6.4.tar.xz";
sha256 = "1i4pqz4whikcvnpprkv9hd435h4akrnmqrjcvq55v3nr8fxd0dlv";
name = "systemsettings-5.6.4.tar.xz";
};
};
user-manager = {
version = "5.6.4";
src = fetchurl {
url = "${mirror}/stable/plasma/5.6.4/user-manager-5.6.4.tar.xz";
sha256 = "1p1xxs4hjacdn2kr2v2rx1c7kipkgsf8wp3bvpf9vpg4g384p2rm";
name = "user-manager-5.6.4.tar.xz";
};
};
}

View File

@ -23,14 +23,18 @@
, decryptSslTraffic ? false
}:
let inherit (pkgs) makeSetupHook makeWrapper stdenv; in
let inherit (pkgs) fetchurl makeSetupHook makeWrapper stdenv; in
with stdenv.lib;
let
mirror = "http://download.qt.io";
srcs = import ./srcs.nix { inherit mirror; inherit (pkgs) fetchurl; };
remotesrcs = fetchurl {
url = "https://raw.githubusercontent.com/ttuegel/nixpkgs-kde-qt/1fd3645b9d718623998fa114797630d94461f55f/qt-srcs.nix";
sha256 = "1idkhkjnyz8x6nczksjcccmmmgg01zclamcxxdv2lwxhsrws2m2l";
};
srcs = import remotesrcs { inherit (pkgs) fetchurl; inherit mirror; };
qtSubmodule = args:
let

View File

@ -1,47 +0,0 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils findutils gnused nix wget
set -x
# The trailing slash at the end is necessary!
RELEASE_URL="http://download.qt.io/official_releases/qt/5.6/5.6.1/submodules/"
EXTRA_WGET_ARGS='-A *.tar.xz'
mkdir tmp; cd tmp
wget -nH -r -c --no-parent $RELEASE_URL $EXTRA_WGET_ARGS
cat >../srcs.nix <<EOF
# 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
$name = {
version = "$version";
src = fetchurl {
url = "\${mirror}/$url";
sha256 = "$sha256";
name = "$filename";
};
};
EOF
fi
done
echo "}" >>../srcs.nix
cd ..

View File

@ -1,261 +0,0 @@
# DO NOT EDIT! This file is generated automatically by fetchsrcs.sh
{ fetchurl, mirror }:
{
qtxmlpatterns = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtxmlpatterns-opensource-src-5.6.1.tar.xz";
sha256 = "0q412jv3xbg7v05b8pbahifwx17gzlp96s90akh6zwhpm8i6xx34";
name = "qtxmlpatterns-opensource-src-5.6.1.tar.xz";
};
};
qtx11extras = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtx11extras-opensource-src-5.6.1.tar.xz";
sha256 = "0l736qiz8adrnh267xz63hv4sph6nhy90h836qfnnmv3p78ipsz8";
name = "qtx11extras-opensource-src-5.6.1.tar.xz";
};
};
qtwinextras = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtwinextras-opensource-src-5.6.1.tar.xz";
sha256 = "1db3lcrj8af0z8lnh99lfbwz1cq9il7rr27rk9l38dff65qkssm8";
name = "qtwinextras-opensource-src-5.6.1.tar.xz";
};
};
qtwebview = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtwebview-opensource-src-5.6.1.tar.xz";
sha256 = "0q869wl61vidds551w3z49ysx88xqyn6igbz07zxac7d0gwgwpda";
name = "qtwebview-opensource-src-5.6.1.tar.xz";
};
};
qtwebsockets = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtwebsockets-opensource-src-5.6.1.tar.xz";
sha256 = "0fkj52i4yi6gmq4jfjgdij08cspxspac6mbpf0fknnllimmkl7jm";
name = "qtwebsockets-opensource-src-5.6.1.tar.xz";
};
};
qtwebengine = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtwebengine-opensource-src-5.6.1.tar.xz";
sha256 = "0yv0cflgywsyfn84vv2vc9rwpm8j7hin61rxqjqh498nnl2arw5x";
name = "qtwebengine-opensource-src-5.6.1.tar.xz";
};
};
qtwebchannel = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtwebchannel-opensource-src-5.6.1.tar.xz";
sha256 = "01q80917a1048hdhaii4v50dqs84h16lc9w3v99r9xvspk8vab7q";
name = "qtwebchannel-opensource-src-5.6.1.tar.xz";
};
};
qtwayland = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtwayland-opensource-src-5.6.1.tar.xz";
sha256 = "1jgghjfrg0wwyfzfwgwhagwxz9k936ylv3w2l9bwlpql8rgm8d11";
name = "qtwayland-opensource-src-5.6.1.tar.xz";
};
};
qttranslations = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qttranslations-opensource-src-5.6.1.tar.xz";
sha256 = "008wyk00mqz116pigm0qq78rvg28v6ykjnjxppkjnk0yd6i2vmb9";
name = "qttranslations-opensource-src-5.6.1.tar.xz";
};
};
qttools = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qttools-opensource-src-5.6.1.tar.xz";
sha256 = "0wbzq60d7lkvlb7b5lqcw87qgy6kyjz1npjavz8f4grdxsaqi8vp";
name = "qttools-opensource-src-5.6.1.tar.xz";
};
};
qtsvg = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtsvg-opensource-src-5.6.1.tar.xz";
sha256 = "08ca5g46g75acy27jfnvnalmcias5hxmjp7491v3y4k9y7a4ybpi";
name = "qtsvg-opensource-src-5.6.1.tar.xz";
};
};
qtserialport = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtserialport-opensource-src-5.6.1.tar.xz";
sha256 = "1hp63cgqhps6y1k041lzhcb2b0rcpcmszabnn293q5ilbvla4x0b";
name = "qtserialport-opensource-src-5.6.1.tar.xz";
};
};
qtserialbus = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtserialbus-opensource-src-5.6.1.tar.xz";
sha256 = "1h683dkvnf2rdgxgisybnp8miqgn2gpi597rgx5zc7qk2k8kyidz";
name = "qtserialbus-opensource-src-5.6.1.tar.xz";
};
};
qtsensors = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtsensors-opensource-src-5.6.1.tar.xz";
sha256 = "0bll7ll6s5g8w89knyrc0famjwqyfzwpn512m1f96bf6xwacs967";
name = "qtsensors-opensource-src-5.6.1.tar.xz";
};
};
qtscript = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtscript-opensource-src-5.6.1.tar.xz";
sha256 = "17zp5dlfplrnzlw233lzapj55drjqchvayajd02qsggzms3yzchw";
name = "qtscript-opensource-src-5.6.1.tar.xz";
};
};
qtquickcontrols2 = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtquickcontrols2-opensource-src-5.6.1.tar.xz";
sha256 = "13zbiv63b76ifpjalx5616nixfwjk48q977bzb1xxj363b7xv85v";
name = "qtquickcontrols2-opensource-src-5.6.1.tar.xz";
};
};
qtquickcontrols = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtquickcontrols-opensource-src-5.6.1.tar.xz";
sha256 = "14d68ryn7r7rs7klpldnavcsccvyyg0xhwqkvjlm5wwplv2acah1";
name = "qtquickcontrols-opensource-src-5.6.1.tar.xz";
};
};
qtmultimedia = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtmultimedia-opensource-src-5.6.1.tar.xz";
sha256 = "058523c2qra3d8fq46ygcndnkrbwlh316zy28s2cr5pjr5gmnjyj";
name = "qtmultimedia-opensource-src-5.6.1.tar.xz";
};
};
qtmacextras = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtmacextras-opensource-src-5.6.1.tar.xz";
sha256 = "147yhv7fb0yaakrffqiw6xz8ycqdc7qsnxvnpr6j8rarw5xmdc73";
name = "qtmacextras-opensource-src-5.6.1.tar.xz";
};
};
qtlocation = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtlocation-opensource-src-5.6.1.tar.xz";
sha256 = "0qahs7a2n3l4h0bl8bnwci9mzy1vra3zncnzr40csic9ys67ddfk";
name = "qtlocation-opensource-src-5.6.1.tar.xz";
};
};
qtimageformats = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtimageformats-opensource-src-5.6.1.tar.xz";
sha256 = "020v1148433zx4g87z2r8fgff32n0laajxqqsja1l3yzz7jbrwvl";
name = "qtimageformats-opensource-src-5.6.1.tar.xz";
};
};
qtgraphicaleffects = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtgraphicaleffects-opensource-src-5.6.1.tar.xz";
sha256 = "1n0i2drfr7fvydgg810dcij8mxnygdpvqcqv7l1a9a1kv9ap3sap";
name = "qtgraphicaleffects-opensource-src-5.6.1.tar.xz";
};
};
qtenginio = {
version = "1.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtenginio-opensource-src-1.6.1.tar.xz";
sha256 = "1iq4lnz3s6mfdgml61b9lsjisky55bbvsdj72kh003j94mzrc3l5";
name = "qtenginio-opensource-src-1.6.1.tar.xz";
};
};
qtdoc = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtdoc-opensource-src-5.6.1.tar.xz";
sha256 = "0yg7903vk4w3h6jjyanssfcig0s2s660q11sj14nw6gcjs7kfa5z";
name = "qtdoc-opensource-src-5.6.1.tar.xz";
};
};
qtdeclarative-render2d = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtdeclarative-render2d-opensource-src-5.6.1.tar.xz";
sha256 = "1m08x8x355545r9wgrjl5p26zjhp5q1yh3h25dww8pk25v6cn8dg";
name = "qtdeclarative-render2d-opensource-src-5.6.1.tar.xz";
};
};
qtdeclarative = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtdeclarative-opensource-src-5.6.1.tar.xz";
sha256 = "1d2217kxk85kpi7ls08b41hqzy26hvch8m4cgzq6km5sqi5zvz0j";
name = "qtdeclarative-opensource-src-5.6.1.tar.xz";
};
};
qtconnectivity = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtconnectivity-opensource-src-5.6.1.tar.xz";
sha256 = "06fr9321f52kf0nda9zjjfzp5694hbnx0y0v315iw28mnpvandas";
name = "qtconnectivity-opensource-src-5.6.1.tar.xz";
};
};
qtcanvas3d = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtcanvas3d-opensource-src-5.6.1.tar.xz";
sha256 = "0q17hwmj893pk0lhxmibxmgk6h1gy4ksqfi62rkfzcf81bg2q7hr";
name = "qtcanvas3d-opensource-src-5.6.1.tar.xz";
};
};
qtbase = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtbase-opensource-src-5.6.1.tar.xz";
sha256 = "0r3jrqymnnxrig4f11xvs33c26f0kzfakbp3kcbdpv795gpc276h";
name = "qtbase-opensource-src-5.6.1.tar.xz";
};
};
qtandroidextras = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtandroidextras-opensource-src-5.6.1.tar.xz";
sha256 = "0prkpb57j0s8k36sba47k2bhs3ajf01rdwc7qf5gkvhs991rwckc";
name = "qtandroidextras-opensource-src-5.6.1.tar.xz";
};
};
qtactiveqt = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qtactiveqt-opensource-src-5.6.1.tar.xz";
sha256 = "0a2p0w03d04hqg71hlihj9mr6aasvb0h8jfa5rnq8b5rkm8haf4f";
name = "qtactiveqt-opensource-src-5.6.1.tar.xz";
};
};
qt3d = {
version = "5.6.1";
src = fetchurl {
url = "${mirror}/official_releases/qt/5.6/5.6.1/submodules/qt3d-opensource-src-5.6.1.tar.xz";
sha256 = "03d81sls30a20yna6940np15112ciwy5024f8n5imaxicm8h34xd";
name = "qt3d-opensource-src-5.6.1.tar.xz";
};
};
}