Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 47 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, stdenv, buildPythonPackage, fetchPypi, pytest, requests, process-tests}:
buildPythonPackage rec { pname = "manhole"; version = "1.8.0";
src = fetchPypi { inherit pname version; sha256 = "bada20a25b547b395d472e2e08928f0437df26bbdbda4797c55863198e29a21f"; };
# test_help expects architecture-dependent Linux signal numbers. # # {test_locals,test_socket_path} fail to remove /tmp/manhole-socket # on the x86_64-darwin builder. # # TODO: change this back to `doCheck = stdenv.isLinux` after # https://github.com/ionelmc/python-manhole/issues/54 is fixed doCheck = false;
nativeCheckInputs = [ pytest requests process-tests ]; checkPhase = '' # Based on its tox.ini export PYTHONUNBUFFERED=yes export PYTHONPATH=.:tests:$PYTHONPATH
# The tests use manhole-cli export PATH="$PATH:$out/bin"
# test_uwsgi fails with: # http.client.RemoteDisconnected: Remote end closed connection without response py.test -vv -k "not test_uwsgi" '';
meta = with lib; { homepage = "https://github.com/ionelmc/python-manhole"; description = "Debugging manhole for Python applications"; license = licenses.bsd2; maintainers = with maintainers; [ ivan ]; };}