depot/third_party/nixpkgs/pkgs/development/python-modules/whisper/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

42 lines
806 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "whisper";
version = "1.1.10";
src = fetchFromGitHub {
owner = "graphite-project";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "sha256-CnCbRmI2jc67mTtfupoE1uHtobrAiWoUXbfX8YeEV6A=";
};
propagatedBuildInputs = [
six
];
nativeCheckInputs = [
mock
pytestCheckHook
];
disabledTests = [
# whisper-resize.py: not found
"test_resize_with_aggregate"
];
pythonImportsCheck = [ "whisper" ];
meta = with lib; {
homepage = "https://github.com/graphite-project/whisper";
description = "Fixed size round-robin style database";
maintainers = with maintainers; [ offline basvandijk ];
license = licenses.asl20;
};
}