2018-03-05 10:41:57 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-10-16 15:49:41 +01:00
|
|
|
, six
|
2018-03-05 10:41:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-ptrace";
|
2020-08-16 18:31:13 +01:00
|
|
|
version = "0.9.7";
|
2018-03-05 10:41:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:13 +01:00
|
|
|
sha256 = "b998e3436cec975b6907552af6e7f3ff8779097e32d2b905696e5a9feb09e070";
|
2018-03-05 10:41:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# requires distorm, which is optionally
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-10-16 15:49:41 +01:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2018-03-05 10:41:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python binding of ptrace library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/vstinner/python-ptrace";
|
2018-03-05 10:41:57 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
};
|
|
|
|
}
|