Merge pull request #199028 from siraben/pwntools-darwin

python3Packages.rpyc: disable checks on darwin, fix pwntools
This commit is contained in:
Fabian Affolter 2022-11-02 00:28:18 +01:00 committed by GitHub
commit b9c1542799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, debugger
, fetchPypi
@ -77,7 +78,7 @@ buildPythonPackage rec {
installShellCompletion --bash extra/bash_completion.d/shellcraft
'';
postFixup = ''
postFixup = lib.optionalString (!stdenv.isDarwin) ''
mkdir -p "$out/bin"
makeWrapper "${debugger}/bin/${debuggerName}" "$out/bin/pwntools-gdb"
'';

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, hatchling
@ -50,6 +51,8 @@ buildPythonPackage rec {
"rpyc"
];
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
homepage = "https://rpyc.readthedocs.org";