d2947cfef0
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
30 lines
667 B
Nix
30 lines
667 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "css-parser";
|
|
version = "1.0.8";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-mU1qARWo9OK2ZI4rEnMwNtBfoWQniqI0YwyfA+UsjIA=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|