Commit graph

150 commits

Author SHA1 Message Date
Raito Bezarius 43957dc150 diffoscope: introduce lib.meta.availableOn stdenv.hostPlatform for "plugins"
This makes it easier to add new plugins without having to worry whether they are supported on Darwin, aarch64-*, etc.

As long as they are properly tagged through their `platforms` meta attribute (or `badPlatforms`).

Broken packages needs to be separated to avoid silent breakages which we would not notice.
2023-05-24 17:47:00 +02:00
Raito Bezarius 5e8671460b diffoscope: fix build on Darwin
Moved packages requiring x86_64-linux, x86_64-darwin into their proper arrays.
2023-05-24 01:29:21 +02:00
Raito Bezarius 21332b8fd5 diffoscope: move unfree dependencies behind a enableUnfree flag 2023-05-24 00:00:49 +02:00
Sandro 15b85dedcb
Merge pull request #212017 from SuperSandro2000/diffoscope 2023-01-22 21:03:56 +01:00
Sandro Jäckel a2b154b4c2
diffoscope: 229 -> 233 2023-01-22 04:29:51 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm 0cdb2cdd0e diffoscope: 228 -> 229 2022-12-21 16:55:35 +00:00
Pavol Rusnak 9b52b75600
diffoscope: 225 -> 228
- added html2text to dependencies (required for html comparator)
2022-12-10 17:08:29 +01:00
Pavol Rusnak 0451fd2be7
diffoscope: fix build on darwin
by skipping pythonPackages.rpm dependency
2022-11-10 15:32:29 +01:00
R. Ryantm ecf6426a2d diffoscope: 224 -> 225 2022-10-29 11:57:27 +02:00
Sandro Jäckel fd81adec4a
diffoscope: 223 -> 224 2022-10-19 22:06:37 +02:00
superherointj 049c5e9026 diffoscope: revised tests failing 2022-10-02 12:28:28 -03:00
Mario Rodas c153b8104c
Merge pull request #193890 from r-ryantm/auto-update/diffoscope
diffoscope: 222 -> 223
2022-10-01 07:53:32 -05:00
R. Ryantm 05a85c42b5 diffoscope: 222 -> 223 2022-10-01 10:44:31 +00:00
superherointj ba293bc459 diffoscope: fix tests 2022-09-30 22:00:34 -03:00
R. Ryantm 903a3c32ab diffoscope: 221 -> 222 2022-09-23 08:14:23 +00:00
R. Ryantm c1d2122235 diffoscope: 219 -> 221 2022-08-29 12:27:08 +00:00
Sergei Trofimovich 0fdceb52c7 diffoscope: use multitarget binutils
multitarget binutils is useful for diffing for directories with binaries
foreign to system where diffoscope runs.

before the change:

    $ nix run nixpkgs#diffoscope /tmp/a-Mcrt1.o /tmp/b-Mcrt1.o
    2022-07-27 21:20:35 E: diffoscope.comparators.elf: Command '['objdump --line-numbers --disassemble --demangle --reloc --no-show-raw-insn --section=.text {}']' returned non-zero exit status 1.
    2022-07-27 21:20:35 E: diffoscope.comparators.elf: Command '['objdump --disassemble --demangle --no-show-raw-insn --section=.text {}']' returned non-zero exit status 1.
    --- /tmp/a-Mcrt1.o
    +++ /tmp/b-Mcrt1.o
    ├── readelf --wide --decompress --string-dump=.debug_str {}
    ...

After the change:

    ./result/bin/diffoscope /tmp/a-Mcrt1.o /tmp/b-Mcrt1.o
    --- /tmp/a-Mcrt1.o
    +++ /tmp/b-Mcrt1.o
    ├── readelf --wide --decompress --string-dump=.debug_str {}
    ...
2022-07-27 22:19:21 +01:00
R. Ryantm 2f6b104a39 diffoscope: 218 -> 219 2022-07-16 02:25:55 +00:00
R. Ryantm 06a02ba522 diffoscope: 217 -> 218 2022-07-09 02:16:19 +00:00
R. Ryantm be558f02e5 diffoscope: 216 -> 217 2022-06-24 03:32:24 +00:00
Maximilian Bosch cdbc6e64e4
treewide: reduce maintenance workload for ma27
Note: I DO NOT resign from nixpkgs, not at all!

However, I like a clean notification inbox and I get a lot of stuff for
packages where I'm only an end-user or don't use them anymore and thus
can't help out that much.

So please consider it a measure to reduce the mental load for me when
going through my notifications ;-)
2022-06-19 12:07:43 +02:00
github-actions[bot] caada97a27
Merge master into staging-next 2022-06-14 00:02:11 +00:00
R. Ryantm 4e38070d6a diffoscope: 215 -> 216 2022-06-11 01:41:14 +00:00
Martin Weinelt ae784e7d3e
diffoscope: 214 -> 215
Disable failing test on python3.10
2022-06-06 11:46:28 -07:00
R. Ryantm 89d005bbb7 diffoscope: 214 -> 215 2022-06-04 02:17:11 +00:00
R. Ryantm 54e5a04e8c diffoscope: 213 -> 214 2022-05-28 02:08:21 +00:00
Mario Rodas 4307907d72 python39Packages.pdfminer-six: add alias to pdfminer 2022-05-25 23:47:50 -07:00
R. Ryantm c5f8dda165 diffoscope: 212 -> 213 2022-05-21 18:12:24 +00:00
Sandro 8124bc2c65
Merge pull request #172875 from SuperSandro2000/diffoscopeMinimal
diffoscopeMinimal: move libcaca to bloat to remove graphics libraries…
2022-05-19 02:00:19 +02:00
R. Ryantm c1ec5ebb17 diffoscope: 211 -> 212 2022-05-15 17:21:30 +00:00
Artturi ed014c27f4
Merge pull request #170837 from r-ryantm/auto-update/diffoscope
diffoscope: 210 -> 211
2022-05-14 02:13:37 +03:00
Sandro Jäckel 413677164d
diffoscopeMinimal: move libcaca to bloat to remove graphics libraries from runtime
The following dependency chain was created in the last staging-next run
which made diffoscopeMinimal require some graphics libraries which are normally
only required on graphical linux systems and do not fit the minimal suffix.

diffoscopeMinima -> libcaca -> imlib2 -> librsvg -> cairo,pango,etc.
2022-05-13 16:59:47 +02:00
Sandro Jäckel 115475ff5b
python310Packages.python-magic: normalise attr 2022-05-07 01:18:35 +02:00
R. Ryantm 04e104bc01 diffoscope: 210 -> 211 2022-04-29 02:25:34 +00:00
R. Ryantm 0a2bc83480 diffoscope: 209 -> 210 2022-04-16 02:36:32 +00:00
R. Ryantm 2eff12f5ab diffoscope: 207 -> 209 2022-03-28 20:29:56 +00:00
Sandro Jäckel c3aa9107d4
diffoscope: disable test depending on black, re-enable fixed test 2022-03-20 04:13:00 +01:00
R. Ryantm cb76041783 diffoscope: 205 -> 207 2022-03-05 17:09:04 +00:00
Otavio Salvador f1789bd3a0 diffoscope: 204 -> 205
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-02-23 14:41:54 -03:00
R. Ryantm 2a59c702cc diffoscope: 203 -> 204 2022-02-12 15:28:52 +00:00
Jonathan Ringer 2946c30628
diffoscope: disable llvm test
The python script returns is unable
to determine llvm correctly, which
cases another error
2022-02-06 18:46:10 -08:00
R. Ryantm 2f0fbd524d diffoscope: 202 -> 203 2022-02-05 20:45:29 +00:00
Sergei Trofimovich 2971504539 diffoscope: 201 -> 202
https://diffoscope.org/news/diffoscope-202-released/

While at it added missing black test depend.
2022-01-29 12:50:39 +00:00
Sergei Trofimovich 8470f87cb9 diffoscope: fix nixpkgs patch to be black-compliant
Otherwise diffocsope's tests fail as:

    diffoscope> -        LINKS_RE = re.compile(r'Links: [0-9]+\s+')
    diffoscope> +        LINKS_RE = re.compile(r"Links: [0-9]+\s+")
    diffoscope> FAILED tests/test_source.py::test_code_is_black_clean
2022-01-26 11:51:56 +00:00
R. Ryantm 958db13790 diffoscope: 200 -> 201 2022-01-22 17:28:31 +00:00
Sergei Trofimovich b241f3143a diffoscope: 197 -> 200
While at it added trivial updater plumbing.
2022-01-15 19:55:15 +00:00
Maximilian Bosch 5b346aadba
diffoscope: 194 -> 197
ChangeLogs:
* https://diffoscope.org/news/diffoscope-195-released/
* https://diffoscope.org/news/diffoscope-196-released/
* https://diffoscope.org/news/diffoscope-197-released/
2021-12-19 16:09:37 +01:00
Michael Weiss 0ba695d90e
diffoscope: Fix the OpenPGP test which broke with pgpdump 0.34
This fixes a regression from the last pgpdump update: 816d311bd0
See https://github.com/NixOS/nixpkgs/pull/149700#issuecomment-991592708

Reported-by: Sergei Trofimovich <slyich@gmail.com>
2021-12-11 14:04:04 +01:00
Maximilian Bosch 7bb2729d0a
diffoscope: 192 -> 194
ChangeLogs:
* https://diffoscope.org/news/diffoscope-193-released/
* https://diffoscope.org/news/diffoscope-194-released/
2021-12-02 17:30:02 +01:00