Commit Graph

129 Commits

Author SHA1 Message Date
Felix Buehler
82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
Artturin
d8a87e89e7 switch mercurial_4 and tortoisehg to pname 2021-07-07 23:46:31 +03:00
Luke Granger-Brown
cdcb439bad mercurial: add withExtensions
This allows an easy way of getting a copy of the "hg" executable which
provides a specific set of extensions.
2021-07-03 18:11:52 +00:00
Luke Granger-Brown
dcf3dec494 mercurialFull: add highlight in-tree extension support
This also moves the individual flag flips from the mercurialFull
definition in all-packages into the mercurial module itself.
2021-07-03 10:56:29 +00:00
Luke Granger-Brown
67444f8a39 mercurial: fix patch links again
The conclusion is that Phabricator does not, in fact, generate stable
patch links. In any case, these have landed, so we can just use the
patches from Mercurial's hgweb instance instead, which should be more
stable.
2021-07-03 10:41:13 +00:00
Luke Granger-Brown
c83a5bce66 mercurialFull: add support for experimental in-tree git extension
The git extension is bundled in-tree, similarly to the hg gui, but also
requires pygit2. Enable it for mercurialFull, but don't bother with it
for the stock mercurial install.

Alas, it doesn't (yet?) work on nixpkgs because it doesn't support
octopus merges:

mercurial.error.ProgrammingError: git support can't handle octopus
merges, found a commit with 16 parents :(

I'm sure that commit is loved equally by all 16 parents.
2021-07-03 10:36:01 +00:00
Artturin
f845709e9e mercurial: use working patch links 2021-06-21 15:59:09 +03:00
Ben Siraphob
c5a669d3f7 treewide: remove unzip where not needed 2021-05-16 19:29:28 -07:00
Luke Granger-Brown
35e57e81ae tortoisehg: fix build
tortoisehg intentionally wants to back-date the Mercurial build,
and some of the features we've added to the Mercurial build won't work
correctly under hg 5.6.
2021-05-04 10:24:00 +00:00
Luke Granger-Brown
a715d90fb0 mercurial: add patches for Rust status implementation
These fix https://bz.mercurial-scm.org/show_bug.cgi?id=6514, which
breaks haskellPackages.retrie when run with the Rust status
implementation.
2021-05-04 09:54:16 +00:00
Luke Granger-Brown
53ddf53f2c mercurial: add re2
Mercurial can make use of the RE2 regex engine where available to speed
up evaluation of regexes.
2021-05-03 18:59:14 +00:00
Luke Granger-Brown
eb3d65bf19 mercurial: also compile translations
Without gettext as a dependency, we won't compile the .po files.
2021-05-03 18:54:22 +00:00
Luke Granger-Brown
38e505f20a mercurial: add lukegb as maintainer, update metadata 2021-05-03 18:54:09 +00:00
Luke Granger-Brown
0716841463 mercurial: build Rust extensions
The Rust extensions provide speedups for core Mercurial functionality.
We should start building with them.

They're only CI-tested on Linux, so they're disabled for non-Linux
platforms for now by default.
2021-05-03 18:05:36 +00:00
Luke Granger-Brown
ae894f63f5 mercurial: drop unnecessary unzip dep 2021-05-03 17:35:26 +00:00
Luke Granger-Brown
63f3e26505 mercurial: 5.6 -> 5.8 2021-05-03 17:32:36 +00:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Jonathan Ringer
81d1cea1c0 mercurial: 5.4.2 -> 5.6 2020-11-19 11:29:46 -08:00
Jonathan Ringer
635485b85c mercurial: remove dulwich dependency 2020-11-19 11:25:52 -08:00
R. RyanTM
3a3d5ff8a0 mercurial: 5.4.1 -> 5.4.2 2020-07-05 14:40:56 +00:00
Luke Granger-Brown
5a8de77166 mercurial: 5.3.1 -> 5.4.1 2020-06-06 13:06:07 +01:00
R. RyanTM
ea18da4bc4 mercurial: 5.3 -> 5.3.1 2020-05-01 09:12:46 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
523ea83cec mercurial: 5.2.2 -> 5.3 2020-02-13 00:01:08 +00:00
R. RyanTM
8dbe996860 mercurial: 5.2.1 -> 5.2.2 2020-01-22 03:12:23 +00:00
Jason Felice
de8700d42d mercurial_4: init at 4.9.1 2020-01-06 19:23:24 +01:00
Jörg Thalheim
88a473fc12
mercurial: 4.9.1 -> 5.2.1
also switch to python3
2019-12-21 07:32:58 +00:00
Danylo Hlynskyi
a2ea2a1945
tortoisehg: untie from mercurial and update to 5.0.2 (#66173)
* tortoisehg: untie from mercurial

When I've added `tortoisehg` package, it turned out that mercurial updates
sometimes broke thg. I've added a comment to `mercurial/default.nix` to
update torotisehg version during mercurial updates, but this worked the other way round:
mercurial stopped to be updated regularly (https://github.com/NixOS/nixpkgs/pull/60993).

And sadly it didn't solve the issue - https://github.com/NixOS/nixpkgs/issues/61759.

Here I'm trying to untie them. Tortoisehg will build a custom mercurial package
if versions don't match. This makes updating tortoisehg more complicated,
but it is still better than current situation.

* expose custom mercurial from thg package
2019-08-18 18:28:03 +03:00
R. RyanTM
9527de1cdd mercurialFull: 4.9 -> 4.9.1 (#58723)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2019-04-08 21:04:33 +02:00
R. RyanTM
8292fa14ee mercurialFull: 4.8.2 -> 4.9 (#55247)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2019-02-24 01:35:01 +01:00
Will Dietz
b28752f255 mercurial: 4.8.1 -> 4.8.2
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.8.2_.282018-01-07.29
2019-01-08 21:33:44 -06:00
Tor Hedin Brønner
8ed71e836a
Merge pull request #51712 from dtzWill/fix/mercurial-zsh-completions
mercurial: install zsh completions
2018-12-21 23:23:39 +01:00
Will Dietz
3ce8b3cb3b mercurial: fix bash completion, correct comment 2018-12-21 16:04:15 -06:00
R. RyanTM
27e174c678 mercurialFull: 4.8 -> 4.8.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2018-12-17 15:55:42 +00:00
Will Dietz
be034ca70e mercurial: install zsh completions 2018-12-07 21:23:03 -06:00
R. RyanTM
7e607a7a87 mercurialFull: 4.7.2 -> 4.8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2018-11-09 08:54:10 -08:00
R. RyanTM
21ed2b9d32 mercurialFull: 4.7.1 -> 4.7.2 (#47759)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions
2018-10-12 22:45:14 +02:00
R. RyanTM
e077fc1965 mercurialFull: 4.7 -> 4.7.1 (#46243)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
mercurial-full
2018-09-12 23:05:48 +02:00
R. RyanTM
d944690b7b mercurialFull: 4.6.2 -> 4.7 (#45186)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mercurial-full/versions.
2018-08-22 02:49:13 +02:00
xeji
09393501f0
Merge pull request #43929 from r-ryantm/auto-update/mercurial-full
mercurialFull: 4.5.2 -> 4.6.2
2018-07-31 00:22:17 +02:00
R. RyanTM
03d49258f6 mercurialFull: 4.5.2 -> 4.6.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mercurial-full/versions.
2018-07-21 15:10:56 -07:00
Jörg Thalheim
218298b30f
Merge branch 'master' into unused5 2018-07-21 15:41:22 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Ryan Mulligan
1d284727d3 mercurial: fix homepage 2018-07-19 18:45:38 -07:00
Ryan Mulligan
9dbd4ec0f3 mercurial: 4.5 -> 4.5.2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg -h` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg --help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg --version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/hg version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped --version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/..hg-wrapped-wrapped version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped -h` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped --help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped help` got 0 exit code
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped --version` and found version 4.5.2
- ran `/nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2/bin/.hg-wrapped version` and found version 4.5.2
- found 4.5.2 with grep in /nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2
- found 4.5.2 in filename of file in /nix/store/vr3mxrjhmmpqydkd69z3fdc7qjdsafgz-mercurial-4.5.2
- directory tree listing: https://gist.github.com/7a681b5af1e240918913ffd718e9b3e9
2018-03-30 22:53:23 +02:00
volth
6081c36599
mercurial: 4.3.2 -> 4.5 2018-02-21 20:56:00 +00:00
Orivej Desh
2e285a3e6c mercurial: fix quoting with guiSupport for makeWrapper
Does not rebuild `mercurial`, only `mercurialFull`.

Fixes #33625 after #31497
2018-01-09 00:31:38 +00:00
Daiderd Jordan
b3facac2cd
mercurial: don't propagate frameworks 2017-12-29 00:40:44 +01:00