2019-01-13 11:46:58 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "css-parser";
|
2020-10-28 23:34:36 +00:00
|
|
|
version = "1.0.6";
|
2019-01-13 11:46:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-28 23:34:36 +00:00
|
|
|
sha256 = "4ed448a8a5622edb1d30d616bbc4bd3d30f11be922343d7a92d7e418e324af2e";
|
2019-01-13 11:46:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Test suite not included in tarball yet
|
|
|
|
# See https://github.com/ebook-utils/css-parser/pull/2
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CSS Cascading Style Sheets library for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ebook-utils/css-parser";
|
2019-01-13 11:46:58 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jethro ];
|
|
|
|
};
|
|
|
|
}
|