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";
|
2019-10-16 10:43:14 +01:00
|
|
|
version = "0.9.4";
|
2018-03-05 10:41:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:14 +01:00
|
|
|
sha256 = "9885e9003e4a99c90b3bca1be9306181c9b40a33fc6e17b81027709be5e5cb87";
|
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";
|
|
|
|
homepage = https://github.com/vstinner/python-ptrace;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ mic92 ];
|
|
|
|
};
|
|
|
|
}
|