depot/third_party/nixpkgs/pkgs/development/python-modules/css-parser/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

30 lines
666 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "css-parser";
version = "1.0.10";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-vx6XKtMzROkyBpZPtM2QjZ3e+fzQwB+pPg1zRnU5Q2M=";
};
# Test suite not included in tarball yet
# See https://github.com/ebook-utils/css-parser/pull/2
doCheck = false;
pythonImportsCheck = [
"css_parser"
];
meta = with lib; {
description = "A CSS Cascading Style Sheets library for Python";
homepage = "https://github.com/ebook-utils/css-parser";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ jethro ];
};
}