depot/third_party/nixpkgs/pkgs/development/python-modules/cssbeautifier/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

35 lines
676 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, jsbeautifier
}:
buildPythonPackage rec {
pname = "cssbeautifier";
version = "1.14.9";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-LaQyRy9oFw64VK/5exaiRyH1CQ7javLjEZlZConn9x8=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ jsbeautifier ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "cssbeautifier" ];
meta = with lib; {
description = "CSS unobfuscator and beautifier";
homepage = "https://pypi.org/project/cssbeautifier/";
license = licenses.mit;
maintainers = with maintainers; [ traxys ];
};
}