Commit Graph

12 Commits

Author SHA1 Message Date
R. RyanTM b060f936a3 python38Packages.r2pipe: 1.6.2 -> 1.6.4 2021-10-09 14:20:01 +00:00
R. RyanTM 922a904ff6 python38Packages.r2pipe: 1.6.0 -> 1.6.2 2021-09-23 00:23:04 -07:00
Jörg Thalheim e02262e299 python.pkgs.r2pipe: fix hanging test 2021-09-17 10:19:56 -07:00
Martin Weinelt 04d30bfb22 python3Packages.r2pipe: 1.5.3 -> 1.6.0 2021-09-05 14:58:04 +02:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
aszlig 97028f053c pythonPackages.r2pipe: Fix build
Regression introduced by 6556711c87.

The string start and end quoting styles have changed in the upstream
source code between version 1.4.2 and version 1.5.3, so the checkPhase
now results in the following error:

  ======================================================================
  ERROR: native (unittest.loader._FailedTest)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: native
  Traceback (most recent call last):
    File ".../unittest/loader.py", line 154, in loadTestsFromName
      module = __import__(module_name)
    File "/build/r2pipe-1.5.3/r2pipe/native.py", line 113, in <module>
      class RCore(Structure):  # 1
    File "/build/r2pipe-1.5.3/r2pipe/native.py", line 125, in RCore
      cmd_str, r_core_cmd_str = register(
    File "/build/r2pipe-1.5.3/r2pipe/native.py", line 108, in register
      method = WrappedRMethod(cname, args, ret)
    File "/build/r2pipe-1.5.3/r2pipe/native.py", line 53, in __init__
      r2 = r2lib()
    File "/build/r2pipe-1.5.3/r2pipe/native.py", line 27, in r2lib
      raise ImportError("No native r_core library")
  ImportError: No native r_core library

Signed-off-by: aszlig <aszlig@nix.build>
2021-01-09 16:01:54 -08:00
Frederik Rietdijk 6556711c87 python3Packages.r2pipe: 1.4.2 -> 1.5.3 2020-12-01 14:44:19 +01:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk ec95ebd9e9 python: r2pipe: 1.4.1 -> 1.4.2 2019-10-27 16:26:52 +01:00
Timo Kaufmann db3fed28e2 python.pkgs.r2pipe: 1.3.1 -> 1.4.1 (#63646) 2019-06-22 10:56:46 +02:00
Timo Kaufmann 66c091c52c python.pkgs.r2pipe: 1.2.0 -> 1.3.1 (#61647) 2019-05-18 00:00:17 +02:00
Timo Kaufmann a2ffb3fcd8 python.pkgs.r2pipe: init at 1.2.0 (#53504) 2019-01-06 19:10:47 +01:00