overlays.nix
47 lines
| 1.4 KiB
| text/x-nix
|
NixLexer
/ pkgs / overlays.nix
r472 | self: super: { | |||
# bump GIT version | ||||
git = super.lib.overrideDerivation super.git (oldAttrs: { | ||||
r584 | name = "git-2.19.1"; | |||
r472 | src = self.fetchurl { | |||
r584 | url = "https://www.kernel.org/pub/software/scm/git/git-2.19.1.tar.xz"; | |||
sha256 = "1dfv43lmdnxz42504jc89sihbv1d4d6kgqcz3c5ji140kfm5cl1l"; | ||||
r472 | }; | |||
r584 | # patches come from: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git | |||
r472 | patches = [ | |||
r560 | ./patches/git/docbook2texi.patch | |||
./patches/git/git-sh-i18n.patch | ||||
./patches/git/ssh-path.patch | ||||
r584 | ./patches/git/git-send-email-honor-PATH.patch | |||
./patches/git/installCheck-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 | }); | |||
} | ||||