diff options
author | Domen Kožar <domen@dev.si> | 2015-11-18 18:31:01 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-11-21 21:44:12 +0100 |
commit | 7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1 (patch) | |
tree | c384c5c848ba9b8259c2d3069530b0d987d6322a /pkgs/top-level/release-python.nix | |
parent | a912c45ee2a3560d0cffe0ac10dd07ae1000ac1d (diff) | |
download | nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.tar nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.tar.gz nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.tar.bz2 nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.tar.lz nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.tar.xz nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.tar.zst nixpkgs-7d8a6c6a423cad4d5352eb1db0eb591e8e1d95a1.zip |
rewrite release-python.nix to reflect reality
Diffstat (limited to 'pkgs/top-level/release-python.nix')
-rw-r--r-- | pkgs/top-level/release-python.nix | 67 |
1 files changed, 8 insertions, 59 deletions
diff --git a/pkgs/top-level/release-python.nix b/pkgs/top-level/release-python.nix index a7d3194cdbb..029ea7c9d4c 100644 --- a/pkgs/top-level/release-python.nix +++ b/pkgs/top-level/release-python.nix @@ -1,70 +1,19 @@ /* test for example like this - $ nix-build pkgs/top-level/release-python.nix + $ hydra-eval-jobs pkgs/top-level/release-python.nix */ { nixpkgs ? { outPath = (import ./all-packages.nix {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; } , officialRelease ? false , # The platforms for which we build Nixpkgs. - supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" "x86_64-freebsd" "i686-freebsd" ] + supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ] }: with import ./release-lib.nix {inherit supportedSystems; }; -let - jobsForDerivations = attrset: 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") - attrset))); - - - jobs = - { - - # } // (mapTestOn ((packagesWithMetaPlatform pkgs) // rec { - - } // (mapTestOn rec { - - offlineimap = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pycairo = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pycrypto = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pycups = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pydb = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyexiv2 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pygame = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pygobject = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pygtk = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pygtksourceview = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyGtkGlade = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyIRCt = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyMAILt = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyopenssl = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyqt4 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyrex = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyrex096 = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyside = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pysideApiextractor = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pysideGeneratorrunner = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - 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; }; - 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; }; - python26Packages = jobsForDerivations pkgs.python26Packages; - python27Packages = jobsForDerivations pkgs.python27Packages; - 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; }; - pythonmagick = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pythonSexy = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyx = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; - pyxml = { type = "job"; systems = ["x86_64-linux"]; schedulingPriority = 4; }; -}); - -in jobs +(mapTestOn { + pypyPackages = packagePlatforms pkgs.pypyPackages; + pythonPackages = packagePlatforms pkgs.pythonPackages; + python34Packages = packagePlatforms pkgs.python34Packages; + python33Packages = packagePlatforms pkgs.python33Packages; +}) |