about summary refs log tree commit diff
path: root/pkgs/top-level/release-python.nix
diff options
context:
space:
mode:
authorFlorian Friesdorf <flo@chaoflow.net>2013-01-09 10:39:09 +0100
committerFlorian Friesdorf <flo@chaoflow.net>2013-01-09 10:39:09 +0100
commitdabb876c9b67613a8f0414595d5e583a08818419 (patch)
tree701abd45d1a704da5819b228d2e0343ebf31b17a /pkgs/top-level/release-python.nix
parentee0204d2c882815e15e18d3e374c0341c9e7aced (diff)
downloadnixlib-dabb876c9b67613a8f0414595d5e583a08818419.tar
nixlib-dabb876c9b67613a8f0414595d5e583a08818419.tar.gz
nixlib-dabb876c9b67613a8f0414595d5e583a08818419.tar.bz2
nixlib-dabb876c9b67613a8f0414595d5e583a08818419.tar.lz
nixlib-dabb876c9b67613a8f0414595d5e583a08818419.tar.xz
nixlib-dabb876c9b67613a8f0414595d5e583a08818419.tar.zst
nixlib-dabb876c9b67613a8f0414595d5e583a08818419.zip
release-python: create list of python packages from pythonPackages attrset
Diffstat (limited to 'pkgs/top-level/release-python.nix')
-rw-r--r--pkgs/top-level/release-python.nix175
1 files changed, 10 insertions, 165 deletions
diff --git a/pkgs/top-level/release-python.nix b/pkgs/top-level/release-python.nix
index 521800647ec3..ea3c2821dcda 100644
--- a/pkgs/top-level/release-python.nix
+++ b/pkgs/top-level/release-python.nix
@@ -1467,174 +1467,19 @@ with (import ./release-lib.nix);
   pysideShiboken = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   pysideTools = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   pystringtemplate = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-  python = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   python26 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
+  python27 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   python26Full = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   python27Full = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-  python27Packages = {
-    afew = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    alot = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    amqplib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    anyjson = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    apsw = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    area53 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    argparse = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    Babel = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    beautifulsoup = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    boto = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    boto_1_9 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    bsddb = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    carrot = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    cheetah = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    cherrypy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    cliapp = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    clientform = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    coilmq = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    configobj = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    cssutils = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    curses = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    darcsver = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    dateutil = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    decorator = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    distribute = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    distutils_extra = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    django = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    django_1_3 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    django_evolution = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    djblets = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    docutils = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    dtopt = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    dulwich = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    enum = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    eventlet = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    flake8 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    flask = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    flup = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    foolscap = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    fuse = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    gdbm = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    genshi = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    genzshcomp = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    gflags = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    glance = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    greenlet = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    gyp = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    hggit = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    httplib2 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    iptools = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    ipy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    ipython = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    jinja2 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    larch = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    ldap = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    libcloud = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    lockfile = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    logilab_astng = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    logilab_common = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    lxml = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    m2crypto = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    magic = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    markdown = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    matplotlib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    mechanize = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    memcached = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    mock = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    mox = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    mutagen = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    MySQL_python = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    namebench = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    netaddr = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    nevow = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    nose = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    notify = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    notmuch = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    numpy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    oauth2 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    offlineDistutils = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    paramiko = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    paste = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    paste_deploy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pep8 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pexpect = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    ply = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pil = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    polib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    prettytable = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    protobuf = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    psycopg2 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    publicsuffix = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyasn1 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyaudio = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pycryptopp = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pycurl = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pydot = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyfeed = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pygments = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pygpgme = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyinotify = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pylast = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pylibacl = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pylint = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pymacs = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyopengl = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyparsing = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyreport = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pysqlite = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pysvn = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pytz = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyutil = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyxattr = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    pyyaml = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    RBTools = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    rdflib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    readline = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    recaptcha_client = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    recursivePthLoader = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    reportlab = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    reviewboard = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    rope = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    ropemacs = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    routes = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    scipy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    scripttest = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    selenium = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    setuptools = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    setuptoolsDarcs = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    setuptoolsTrial = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    simplejson = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    six = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    skype4py = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    sphinx = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    sqlalchemy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    sqlalchemy_migrate = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    sqlite3 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    stompclient = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    taskcoach = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    tempita = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    tkinter = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    trac = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    tracing = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    ttystatus = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    turses = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    tweepy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    twisted = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    unittest2 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    urlgrabber = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    urwid = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    virtualenv = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    vnc2flv = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    webob = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    webtest = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    werkzeug = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    wokkel = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    wrapPython = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    wxPython = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    xe = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    xlib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    zbase32 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-    zfec = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
-  };
-  python26Packages = python27Packages;
+  python26Packages = pkgs.lib.attrsets.listToAttrs
+    (map
+      (name: { inherit name;
+               value = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };})
+      (builtins.attrNames
+        (pkgs.lib.attrsets.filterAttrs
+          (n: v: (v.type or null) == "derivation")
+          pkgs.python26Packages)));
+  python27Packages = python26Packages;
   python3 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   pythonDBus = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };
   pythonIRClib = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; };