blob: b12a9f382db71bc3984aff10d5b25726a988249a (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "untokenize";
version = "0.1.1";
format = "setuptools";
# https://github.com/myint/untokenize/issues/4
disabled = pythonAtLeast "3.14";
src = fetchPypi {
inherit pname version;
sha256 = "3865dbbbb8efb4bb5eaa72f1be7f3e0be00ea8b7f125c69cbd1f5fda926f37a2";
};
nativeCheckInputs = [ unittestCheckHook ];
meta = {
description = "Transforms tokens into original source code while preserving whitespace";
homepage = "https://github.com/myint/untokenize";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ FlorianFranzen ];
};
}
|