blob: 01b91ef12d6d7681e7bccc59fed6f6495c3a2406 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyxdg,
setuptools,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "scspell";
version = "2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "myint";
repo = "scspell";
tag = "v${version}";
hash = "sha256-XiUdz+uHOJlqo+TWd1V/PvzkGJ2kPXzJJSe5Smfdgec=";
};
build-system = [ setuptools ];
dependencies = [
pyxdg
];
nativeCheckInputs = [
versionCheckHook
writableTmpDirAsHomeHook
];
versionCheckProgramArg = "--version";
pythonImportsCheck = [ "scspell" ];
meta = {
description = "A spell checker for source code";
homepage = "https://github.com/myint/scspell";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ guelakais ];
mainProgram = "scspell";
};
}
|