blob: 5bbcdd0712d4b66a19de437144520851820a4561 (
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
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hatchling,
# Dependencies
blessed,
wcwidth,
pyyaml,
prettytable,
requests,
}:
buildPythonPackage (finalAttrs: {
pname = "ucs-detect";
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jquast";
repo = "ucs-detect";
tag = finalAttrs.version;
hash = "sha256-pCJNrJN+SO0pGveNJuISJbzOJYyxP9Tbljp8PwqbgYU=";
};
dependencies = [
blessed
wcwidth
pyyaml
prettytable
requests
];
nativeBuildInputs = [hatchling];
doCheck = false;
dontCheckRuntimeDeps = true;
meta = with lib; {
description = "Measures number of Terminal column cells of wide-character codes";
homepage = "https://github.com/jquast/ucs-detect";
license = licenses.mit;
maintainers = [];
};
})
|