1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "css-parser";
5 version = "1.0.6";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "4ed448a8a5622edb1d30d616bbc4bd3d30f11be922343d7a92d7e418e324af2e";
10 };
11
12 # Test suite not included in tarball yet
13 # See https://github.com/ebook-utils/css-parser/pull/2
14 doCheck = false;
15
16 meta = with lib; {
17 description = "A CSS Cascading Style Sheets library for Python";
18 homepage = "https://github.com/ebook-utils/css-parser";
19 license = licenses.lgpl3Plus;
20 maintainers = with maintainers; [ jethro ];
21 };
22}