tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.whisper: cleanup
Gaetan Lepage
1 year ago
a7ec7d11
01c7fcf7
+13
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
whisper
default.nix
+13
-7
pkgs/development/python-modules/whisper/default.nix
reviewed
···
2
2
lib,
3
3
buildPythonPackage,
4
4
fetchFromGitHub,
5
5
-
mock,
5
5
+
setuptools,
6
6
six,
7
7
+
mock,
7
8
pytestCheckHook,
8
9
}:
9
10
10
11
buildPythonPackage rec {
11
12
pname = "whisper";
12
13
version = "1.1.10";
13
13
-
format = "setuptools";
14
14
+
pyproject = true;
14
15
15
16
src = fetchFromGitHub {
16
17
owner = "graphite-project";
17
17
-
repo = pname;
18
18
+
repo = "whisper";
18
19
tag = version;
19
20
hash = "sha256-CnCbRmI2jc67mTtfupoE1uHtobrAiWoUXbfX8YeEV6A=";
20
21
};
21
22
22
22
-
propagatedBuildInputs = [ six ];
23
23
+
build-system = [ setuptools ];
24
24
+
25
25
+
dependencies = [ six ];
23
26
24
27
nativeCheckInputs = [
25
28
mock
···
36
33
37
34
pythonImportsCheck = [ "whisper" ];
38
35
39
39
-
meta = with lib; {
36
36
+
meta = {
40
37
homepage = "https://github.com/graphite-project/whisper";
41
38
description = "Fixed size round-robin style database";
42
42
-
maintainers = with maintainers; [
39
39
+
changelog = "https://graphite.readthedocs.io/en/latest/releases/${
40
40
+
builtins.replaceStrings [ "." ] [ "_" ] version
41
41
+
}.html";
42
42
+
maintainers = with lib.maintainers; [
43
43
offline
44
44
basvandijk
45
45
];
46
46
-
license = licenses.asl20;
46
46
+
license = lib.licenses.asl20;
47
47
};
48
48
}