mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
41 lines
843 B
Nix
41 lines
843 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
editorconfig,
|
|
fetchPypi,
|
|
jsbeautifier,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cssbeautifier";
|
|
version = "2.0.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LC/RKTQlYQKd6GsXRO+iMcn6/iYCPbyYih3rDKD1yEU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
editorconfig
|
|
jsbeautifier
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|