11 buildPythonPackage rec {
17 inherit pname version;
18 hash = "sha256-i2kw99S/EVGSKQtEx1evXiVOP8/Ldf+aUfXJakBOJ1M=";
22 # Use html module in Python 3 and cgi module in Python 2
23 # https://github.com/Cue/scales/pull/47
25 url = "https://github.com/Cue/scales/commit/ee69d45f1a7f928f7b241702e9be06007444115e.patch?full_index=1";
26 hash = "sha256-xBlgkh1mf+3J7GtNI0zGb7Sum8UYbTpUmM12sxK/fSU=";
31 for file in scales_test formats_test aggregation_test; do
32 substituteInPlace src/greplin/scales/$file.py \
33 --replace-fail "assertEquals" "assertEqual"
37 build-system = [ setuptools ];
39 dependencies = [ six ];
41 nativeCheckInputs = [ pytestCheckHook ];
44 description = "Stats for Python processes";
45 homepage = "https://www.github.com/Cue/scales";
46 license = lib.licenses.asl20;
47 maintainers = with lib.maintainers; [ pyrox0 ];