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-05-09 11:01:58 +01:00
|
|
|
version = "0.9.5";
|
2018-03-05 10:41:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:58 +01:00
|
|
|
sha256 = "c46287ae611e3041bbd0572221cd1f121100dfc98d1d6c9ad6dd97e35f62501a";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|