overlays.nix
45 lines
| 1.2 KiB
| text/x-nix
|
NixLexer
/ pkgs / overlays.nix
r472 | self: super: { | |||
# bump GIT version | ||||
git = super.lib.overrideDerivation super.git (oldAttrs: { | ||||
r559 | name = "git-2.17.2"; | |||
r472 | src = self.fetchurl { | |||
r559 | url = "https://www.kernel.org/pub/software/scm/git/git-2.17.2.tar.xz"; | |||
sha256 = "1ghljlxmyqphx13qspy382cpl2pbkbwbhqm7w7z57r9mkhswx668"; | ||||
r472 | }; | |||
patches = [ | ||||
r560 | ./patches/git/docbook2texi.patch | |||
./patches/git/symlinks-in-bin.patch | ||||
./patches/git/git-sh-i18n.patch | ||||
./patches/git/ssh-path.patch | ||||
r472 | ]; | |||
}); | ||||
# Override subversion derivation to | ||||
# - activate python bindings | ||||
subversion = | ||||
let | ||||
subversionWithPython = super.subversion.override { | ||||
httpSupport = true; | ||||
pythonBindings = true; | ||||
python = self.python27Packages.python; | ||||
}; | ||||
in | ||||
super.lib.overrideDerivation subversionWithPython (oldAttrs: { | ||||
r495 | name = "subversion-1.10.2"; | |||
r472 | src = self.fetchurl { | |||
r495 | url = "https://archive.apache.org/dist/subversion/subversion-1.10.2.tar.gz"; | |||
sha256 = "0xv5z2bg0lw7057g913yc13f60nfj257wvmsq22pr33m4syf26sg"; | ||||
r472 | }; | |||
r495 | ||||
## use internal lz4/utf8proc because it is stable and shipped with SVN | ||||
configureFlags = oldAttrs.configureFlags ++ [ | ||||
" --with-lz4=internal" | ||||
" --with-utf8proc=internal" | ||||
]; | ||||
r472 | }); | |||
} | ||||