1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mock 5, six 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "whisper"; 11 version = "1.1.8"; 12 13 src = fetchFromGitHub { 14 owner = "graphite-project"; 15 repo = pname; 16 rev = version; 17 sha256 = "11f7sarj62zgpw3ak4a2q55lj7ap4039l9ybc3a6yvs1ppvrcn7x"; 18 }; 19 20 propagatedBuildInputs = [ 21 six 22 ]; 23 24 checkInputs = [ 25 mock 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ 30 # whisper-resize.py: not found 31 "test_resize_with_aggregate" 32 ]; 33 34 pythonImportsCheck = [ "whisper" ]; 35 36 meta = with lib; { 37 homepage = "https://github.com/graphite-project/whisper"; 38 description = "Fixed size round-robin style database"; 39 maintainers = with maintainers; [ offline basvandijk ]; 40 license = licenses.asl20; 41 }; 42}