python3Packages.css-parser: add pythonImportsCheck

This commit is contained in:
Fabian Affolter
2022-01-10 10:59:18 +01:00
committed by GitHub
parent 7a5855272e
commit 9fe7556f72
@@ -1,8 +1,12 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "css-parser";
version = "1.0.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
@@ -13,6 +17,10 @@ buildPythonPackage rec {
# 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";