##// END OF EJS Templates
py3: packaging, further fixes for newer code....
py3: packaging, further fixes for newer code. - bumped svn to 1.14.0 - bumped libgit2 to 1.0.1 and pygit2

File last commit:

r986:5009dce2 python3
r986:5009dce2 python3
Show More
python-packages-overrides.nix
112 lines | 2.9 KiB | text/x-nix | NixLexer
/ pkgs / python-packages-overrides.nix
initial commit
r0 # Overrides for the generated python-packages.nix
#
# This function is intended to be used as an extension to the generated file
# python-packages.nix. The main objective is to add needed dependencies of C
# libraries and tweak the build instructions where needed.
nix: updated to 18.03 packages....
r472 { pkgs
, basePythonPackages
}:
initial commit
r0
let
sed = "sed -i";
nix: updated to 18.03 packages....
r472
initial commit
r0 in
self: super: {
requirements: added pygit2 into project
r723 "cffi" = super."cffi".override (attrs: {
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 buildInputs = with self; attrs.buildInputs ++ [
requirements: added pygit2 into project
r723 pkgs.libffi
];
});
nix: fix dogpile imports
r985 "dogpile.cache" = super."dogpile.cache".override (attrs: {
# dogpile wants to be both a regular module and namespace package
postPatch = ''
rm dogpile/core.py
substituteInPlace dogpile/cache/__init__.py \
--replace "from .. import __version__" "__version__ = '0.9.0'"
substituteInPlace dogpile/cache/region.py \
--replace "from . " "from dogpile.cache " \
--replace "from .. " "from dogpile.lock "
'';
});
dependencies: bumped gevent to 1.3.4
r473 "gevent" = super."gevent".override (attrs: {
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 propagatedBuildInputs = with self; attrs.propagatedBuildInputs ++ [
dependencies: bumped gevent to 1.3.4
r473 # NOTE: (marcink) odd requirements from gevent aren't set properly,
# thus we need to inject psutil manually
self."psutil"
];
});
nix: updated to 18.03 packages....
r472 "hgsubversion" = super."hgsubversion".override (attrs: {
initial commit
r0 propagatedBuildInputs = attrs.propagatedBuildInputs ++ [
nix: updated to 18.03 packages....
r472 pkgs.sqlite
#basePythonPackages.sqlite3
self.mercurial
];
});
"subvertpy" = super."subvertpy".override (attrs: {
SVN_PREFIX = "${pkgs.subversion.dev}";
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [
nix: updated to 18.03 packages....
r472 pkgs.apr.dev
initial commit
r0 pkgs.aprutil
py3: packaging, further fixes for newer code....
r986 pkgs.subversionrc
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 ];
nix: fix dogpile imports
r985 buildInputs = with self; attrs.buildInputs ++ [
py3: packaging, further fixes for newer code....
r986 pkgs.subversionrc
initial commit
r0 ];
});
nix: updated to 18.03 packages....
r472 "mercurial" = super."mercurial".override (attrs: {
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [
nix: updated to 18.03 packages....
r472 # self.python.modules.curses
dependencies: bind sqlite with hgsubversion
r320 ];
py3: packaging changes to build python37 packages, and make pip2nix work.
r981 postInstall = ''
rm -f $out/${self.python.sitePackages}/hgext3rd/__pycache__/__init__.*.pyc
'';
});
"hg-evolve" = super."hg-evolve".override (attrs: {
postInstall = ''
rm -f $out/${self.python.sitePackages}/hgext3rd/__init__.py
rm -f $out/${self.python.sitePackages}/hgext3rd/__init__.pyc
'';
dependencies: bind sqlite with hgsubversion
r320 });
dependencies: dulwich, backported a patch to handle GIT references that are directories....
r531 "dulwich" = super."dulwich".override (attrs: {
patches = [
./patches/dulwich/handle-dir-refs.patch
];
});
requirements: added pygit2 into project
r723 "pygit2" = super."pygit2".override (attrs: {
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [
requirements: added pygit2 into project
r723 pkgs.libffi
pkgs.libgit2rc
];
packaging: switched to nix 20.03 packages and latest pip2nix code...
r970 buildInputs = with self; attrs.buildInputs ++ [
pkgs.libgit2rc
];
});
"py" = super."py".override (attrs: {
buildInputs = with self; attrs.buildInputs ++ [
self."setuptools-scm"
];
requirements: added pygit2 into project
r723 });
dependencies: dulwich, backported a patch to handle GIT references that are directories....
r531
py3: packaging changes to build python37 packages, and make pip2nix work.
r981 "zipp" = super."zipp".override (attrs: {
buildInputs = with self; attrs.buildInputs ++ [
self."toml"
];
});
nix: updated to 18.03 packages....
r472 # Avoid that base packages screw up the build process
inherit (basePythonPackages)
setuptools;
initial commit
r0
}