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