Commit Graph

185 Commits

Author SHA1 Message Date
pacien
ff98d0e50e mercurial: enable check phase 2021-11-23 15:06:32 +01:00
pacien
f50b6821dc mercurial: patch shebangs in all scripts 2021-11-23 15:06:32 +01:00
pacien
7a5371683c mercurial: 5.9.3 -> 6.0 2021-11-23 15:06:32 +01:00
pacien
c1ef30de63 mercurial: 5.9.1 -> 5.9.3 2021-11-02 12:24:31 +01:00
Fabián Heredia Montiel
f824d27f66 mercurial_4: remove 2021-10-18 12:56:44 -05:00
Luke Granger-Brown
c418c4f8c6 mercurial: 5.8 -> 5.9.1 2021-09-03 14:34:18 +00:00
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
Franz Pletz
316858466a
mercurial: 4.3.1 -> 4.3.2 2017-09-18 21:52:07 +02:00
Guillaume Maudoux
4098ddd6be mercurial: remove hardcoded linux-only cacert
This is no more needed since the introduction of NIX_SSL_CERT_PATH.
Furthermore, it breaks on darwin because the path does not exist.

Fixes #27928.
2017-08-22 03:39:30 +02:00
Tim Steinbach
f0719b5a0b
mercurial: 4.1.1 -> 4.3.1 2017-08-10 20:54:28 -04:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Michael Raskin
9c16f669b9 Merge pull request #24244 from mythmon/mercurial-upgrade
Upgrade mercrial and tortoisehg to 4.1.1
2017-04-20 08:34:16 +02:00
Mike Cooper
50bd7a113d
mercurial, tortoisehg: 3.9.2 -> 4.1.1 2017-03-23 10:25:24 -07:00
Frederik Rietdijk
3760c8c7fd Python: replace mkPythonDerivation with buildPythonPackage and format="other";
This way all Python packages use the same function,
`buildPythonPackage`.
2017-03-21 13:01:49 +01:00
Frederik Rietdijk
a01d7d131e mercurial: use mkPythonDerivation
since we don't want to use `--prefix PYTHONPATH` since it leaks
PYTHONPATH.
2016-10-31 16:54:33 +01:00
koral
fc3eec69a0 mercurial: 3.9.1 -> 3.9.2 2016-10-29 23:03:30 +02:00
Frederik Rietdijk
efb6052f40 Python: fixup modules that were removed 2016-10-13 22:11:30 +02:00
Aneesh Agrawal
e6897a3fb4 mercurial: Pin to Python 2 2016-09-26 11:41:54 -04:00
Tim Steinbach
18b5e607d9
mercurial: 3.8.2 -> 3.9.1 2016-09-23 11:50:14 -04:00
Frederik Rietdijk
6d75bf842b mercurial: pass in pythonPackages 2016-08-16 11:48:09 +02:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Christoph Hrdinka
077ac28f2c mercurial: update source url
The old download url isn't reachable since a few weeks. The new one uses
mercurials domain instead of selenics.
2016-06-12 20:23:00 +02:00
Michael Raskin
3bf1348bf7 mercurial: 3.8.1 -> 3.8.2 2016-05-25 16:01:43 +02:00
Michael Raskin
9dc5dcf6db mercurial: 3.7.3 -> 3.8.1 2016-05-05 20:30:59 +02:00
danbst
e36339fd80 mercurial: add comment for maintainers on version bump 2016-04-22 15:59:40 +00:00
Graham Christensen
f9099deb8e mercurial: 3.7.1 -> 3.7.3 for multiple CVEs
CVE-2016-3068

    Blake Burkhart discovered that Mercurial allows URLs for Git
    subrepositories that could result in arbitrary code execution on
    clone.

CVE-2016-3069

    Blake Burkhart discovered that Mercurial allows arbitrary code
    execution when converting Git repositories with specially
    crafted names.

CVE-2016-3630

    It was discovered that Mercurial does not properly perform bounds-
    checking in its binary delta decoder, which may be exploitable for
    remote code execution via clone, push or pull.
2016-04-07 21:24:49 -05:00
koral
d4193c82c1 mercurial: 3.5.1 -> 3.7.1 2016-02-24 16:39:03 +01:00
Robert Scott
d192057519 hg_crecord: revert changes adding mercurial crecord
crecord is included in modern hg releases - I failed to realize this.
2016-02-04 15:13:24 +00:00
Jude Taylor
ec09587e5b build mercurial with cf-private 2015-10-11 10:30:13 -07:00
Robert Scott
f96582fc60 mercurial: add package for crecord extension as optional dependency, include by default in mercurialFull 2015-09-24 10:59:14 +00:00
koral
944a0c82f0 mercurial: 3.5 -> 3.5.1, fixes #9615 2015-09-04 09:04:48 +02:00
koral
0c15deaeb6 mercurial: 3.4.2 -> 3.5 2015-09-04 09:03:59 +02:00
danbst
40061f66ce mercurial: bump 3.3.3 -> 3.4.2 2015-07-31 20:18:20 +00:00
Eelco Dolstra
55932c1bec Don't statically depend on cacert for certificates
This reverts commit cd52c04456 and
others.

Managing certificates (including revoking certificates and adding
custom certificates) becomes extremely painful if every package in the
system potentially depends on a different copy of cacert. Also, it
makes updating cacert rather expensive.
2015-07-31 01:34:58 +02:00
Jude Taylor
6f6d873069 darwin purity: mercurial 2015-07-08 14:15:04 -07:00
Jude Taylor
a8c98bc013 darwin purity: mercurial 2015-06-25 16:36:04 -07:00
Peter Simons
922c555015 mercurial: add hg-git support
Enable this feature by putting these lines into your ~/.hgrc file:

  [extensions]
  hgext.bookmarks =
  hggit =
2015-06-24 11:33:17 +02:00
Peter Simons
84dfce0bc0 mercurial: install bash completion 2015-06-11 12:07:15 +02:00
William A. Kennington III
ffd0539eba cacert: store ca-bundle.crt in $out/etc/ssl/certs instead of $out 2015-06-05 13:00:52 -07:00
William A. Kennington III
cd52c04456 Fix more ca-bundle paths 2015-05-29 14:26:32 -07:00
koral
29dc55abc3 mercurial: 3.3.2 -> 3.3.3 2015-04-03 09:58:16 +00:00
koral
7b4d8d361d mercurial: 3.2.4 -> 3.3.2 2015-03-11 14:45:53 +00:00
Eelco Dolstra
0b8ac6b791 mercurial: Update to 3.2.4 2015-01-06 14:29:22 +01:00
Eelco Dolstra
cb5433b8de mercurial: Update to 3.2.2 2014-12-18 14:11:10 +01:00
Eelco Dolstra
462fdfe108 mercurial: Update to 3.1.2 2014-10-14 14:37:29 +02:00
Eelco Dolstra
bf44536c79 mercurial: Update to 3.1.1 2014-09-23 12:03:11 +02:00
Michael Raskin
05a3b156f0 Update Mercurial to version 3.1 2014-08-12 02:47:04 +04:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Evgeny Egorochkin
9b4080b7af mercurialFull: update from 2.9.1 to 2.9.2 2014-04-03 10:28:15 +03:00
Eelco Dolstra
48ce981d13 mercurial: Update to 2.9.1 2014-03-05 11:29:32 +01:00
Nixpkgs Monitor
d2451cbce6 mercurialFull: update from 2.8.2 to 2.9 2014-02-04 10:35:20 +01:00