2019-04-26 15:47:13 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, docutils
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy27
|
|
|
|
, nose
|
2020-05-21 12:55:28 +01:00
|
|
|
, pytest
|
2019-04-26 15:47:13 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-21 12:55:28 +01:00
|
|
|
version = "1.0.10";
|
2019-04-26 15:47:13 +01:00
|
|
|
pname = "python_toolbox";
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cool-RR";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-21 12:55:28 +01:00
|
|
|
sha256 = "1hpls1hwisdjx1g15cq052bdn9fvh43r120llws8bvgvj9ivnaha";
|
2019-04-26 15:47:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
docutils
|
2020-05-21 12:55:28 +01:00
|
|
|
pytest
|
2019-04-26 15:47:13 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tools for testing PySnooper";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/cool-RR/python_toolbox";
|
2019-04-26 15:47:13 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ seqizz ];
|
|
|
|
};
|
|
|
|
}
|