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