blob: b3c2267f95aa872a87e4eab37fa4d116b1c65c71 (
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
|
{
lib,
buildPythonPackage,
editorconfig,
fetchPypi,
jsbeautifier,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "cssbeautifier";
version = "1.15.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-m7CNw/ZMEBoBZ38Sis8BkFkUz0Brr4dDTc3gW3TArPU=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
editorconfig
jsbeautifier
six
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "cssbeautifier" ];
meta = {
description = "CSS unobfuscator and beautifier";
mainProgram = "css-beautify";
homepage = "https://github.com/beautifier/js-beautify";
changelog = "https://github.com/beautifier/js-beautify/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ traxys ];
};
}
|