Skip to content

Commit a7ec7d1

Browse files
committed
python312Packages.whisper: cleanup
1 parent 01c7fcf commit a7ec7d1

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

pkgs/development/python-modules/whisper/default.nix

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
mock,
5+
setuptools,
66
six,
7+
mock,
78
pytestCheckHook,
89
}:
910

1011
buildPythonPackage rec {
1112
pname = "whisper";
1213
version = "1.1.10";
13-
format = "setuptools";
14+
pyproject = true;
1415

1516
src = fetchFromGitHub {
1617
owner = "graphite-project";
17-
repo = pname;
18+
repo = "whisper";
1819
tag = version;
1920
hash = "sha256-CnCbRmI2jc67mTtfupoE1uHtobrAiWoUXbfX8YeEV6A=";
2021
};
2122

22-
propagatedBuildInputs = [ six ];
23+
build-system = [ setuptools ];
24+
25+
dependencies = [ six ];
2326

2427
nativeCheckInputs = [
2528
mock
@@ -33,13 +36,16 @@ buildPythonPackage rec {
3336

3437
pythonImportsCheck = [ "whisper" ];
3538

36-
meta = with lib; {
39+
meta = {
3740
homepage = "https://github.com/graphite-project/whisper";
3841
description = "Fixed size round-robin style database";
39-
maintainers = with maintainers; [
42+
changelog = "https://graphite.readthedocs.io/en/latest/releases/${
43+
builtins.replaceStrings [ "." ] [ "_" ] version
44+
}.html";
45+
maintainers = with lib.maintainers; [
4046
offline
4147
basvandijk
4248
];
43-
license = licenses.asl20;
49+
license = lib.licenses.asl20;
4450
};
4551
}

0 commit comments

Comments
 (0)