Merge pull request #815 from garbas/pypi2nix
pypi2nix - generating packages from pypi
This commit is contained in:
commit
425ea2ce9b
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -5805,21 +5805,6 @@ let
|
||||
python = pypy;
|
||||
});
|
||||
|
||||
plone41Packages = import ../development/web/plone/4.1.nix {
|
||||
inherit pkgs;
|
||||
pythonPackages = python26Packages;
|
||||
};
|
||||
|
||||
plone42Packages = import ../development/web/plone/4.2.nix {
|
||||
inherit pkgs;
|
||||
pythonPackages = python26Packages;
|
||||
};
|
||||
|
||||
plone43Packages = recurseIntoAttrs (import ../development/web/plone/4.3.nix {
|
||||
inherit pkgs;
|
||||
pythonPackages = python27Packages;
|
||||
});
|
||||
|
||||
foursuite = callPackage ../development/python-modules/4suite { };
|
||||
|
||||
bsddb3 = callPackage ../development/python-modules/bsddb3 { };
|
||||
|
5516
pkgs/top-level/python-packages-generated.nix
Normal file
5516
pkgs/top-level/python-packages-generated.nix
Normal file
File diff suppressed because it is too large
Load Diff
112
pkgs/top-level/python-packages.json
Normal file
112
pkgs/top-level/python-packages.json
Normal file
@ -0,0 +1,112 @@
|
||||
[
|
||||
{ "name": "pyramid",
|
||||
"buildInputs": [ "pkgs.libxml2", "pkgs.libxslt" ],
|
||||
"override": {
|
||||
"pyramid": {
|
||||
"buildInputs": [
|
||||
"nose",
|
||||
"WebTest",
|
||||
"zope.component",
|
||||
"zope.interface"
|
||||
]
|
||||
},
|
||||
"cssselect": {
|
||||
"doCheck": false
|
||||
},
|
||||
"lxml": {
|
||||
"buildInputs": [ "pkgs.libxml2", "pkgs.libxslt" ],
|
||||
"doCheck": false
|
||||
},
|
||||
"six": {
|
||||
"doCheck": false
|
||||
},
|
||||
"beautifulsoup4": {
|
||||
"doCheck": false
|
||||
},
|
||||
"zope.exceptions": {
|
||||
"doCheck": false
|
||||
},
|
||||
"zope.component": {
|
||||
"doCheck": false
|
||||
},
|
||||
"zope.schema": {
|
||||
"doCheck": false
|
||||
},
|
||||
"zope.testing": {
|
||||
"buildInputs": [ "zope.location" ]
|
||||
},
|
||||
"waitress": {
|
||||
"doCheck": false
|
||||
},
|
||||
"venusian": {
|
||||
"buildInputs": [ "nose" ],
|
||||
"doCheck": false
|
||||
},
|
||||
"Mako": {
|
||||
"buildInputs": [ "nose" ]
|
||||
},
|
||||
"WebOb": {
|
||||
"buildInputs": [ "nose" ],
|
||||
"propagatedBuildInputs": [ "python.modules.ssl" ]
|
||||
},
|
||||
"WebTest": {
|
||||
"buildInputs": [
|
||||
"nose",
|
||||
"unittest2",
|
||||
"pyquery",
|
||||
"WSGIProxy2",
|
||||
"PasteDeploy",
|
||||
"mock",
|
||||
"coverage"
|
||||
]
|
||||
},
|
||||
"mock": {
|
||||
"buildInputs": [ "unittest2" ]
|
||||
},
|
||||
"PasteDeploy": {
|
||||
"buildInputs": [ "nose" ]
|
||||
},
|
||||
"Chameleon": {
|
||||
"buildInputs": [ "zope.event" ],
|
||||
"doCheck": false
|
||||
},
|
||||
"zope.interface": {
|
||||
"buildInputs": [ "zope.event" ]
|
||||
},
|
||||
"translationstring": {
|
||||
"buildInputs": [ "nose" ]
|
||||
},
|
||||
"repoze.lru": {
|
||||
"buildInputs": [ "nose" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
{ "name": "Plone",
|
||||
"extends": "http://dist.plone.org/release/4.3.1/versions.cfg",
|
||||
"doCheck": false,
|
||||
"installCommand": "easy_install --always-unzip --no-deps --prefix=\"$out\" .",
|
||||
"override": {
|
||||
"Products.DCWorkflow": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
},
|
||||
"Products.CMFDefault": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
},
|
||||
"Products.CMFQuickInstallerTool": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
},
|
||||
"Products.CMFUid": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
},
|
||||
"Products.CMFActionIcons": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
},
|
||||
"Products.CMFCalendar": {
|
||||
"propagatedBuildInputs": [ "eggtestinfo" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
{ "name": "Distutils2",
|
||||
"doCheck": false
|
||||
}
|
||||
]
|
@ -7,7 +7,11 @@ optional = pkgs.lib.optional;
|
||||
optionals = pkgs.lib.optionals;
|
||||
modules = python.modules or { readline = null; sqlite3 = null; curses = null; ssl = null; };
|
||||
|
||||
pythonPackages = modules // rec {
|
||||
pythonPackages = modules // import ./python-packages-generated.nix {
|
||||
inherit pkgs python;
|
||||
inherit (pkgs) stdenv fetchurl;
|
||||
self = pythonPackages;
|
||||
} // rec {
|
||||
|
||||
inherit python;
|
||||
inherit (pkgs) fetchurl fetchsvn fetchgit stdenv;
|
||||
@ -49,6 +53,25 @@ pythonPackages = modules // rec {
|
||||
inherit python setuptools;
|
||||
};
|
||||
|
||||
pypi2nix = buildPythonPackage rec {
|
||||
rev = "e231db7e8874d4543a6f0fffc46c0fffbe6108c5";
|
||||
name = "pypi2nix-1.0_${rev}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/garbas/pypi2nix/tarball/${rev}";
|
||||
name = "${name}.tar.bz";
|
||||
sha256 = "0wqk6milnagr0b0v8igjp8p25d5y63pki3pkdy7hbgjxvyw8wril";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages."Distutils2-1.0a4" ];
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/garbas/pypi2nix;
|
||||
description = "";
|
||||
maintainers = [ stdenv.lib.maintainers.garbas ];
|
||||
};
|
||||
};
|
||||
# packages defined elsewhere
|
||||
|
||||
blivet = callPackage ../development/python-modules/blivet { };
|
||||
|
Loading…
Reference in New Issue
Block a user