mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
33 lines
697 B
Nix
33 lines
697 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "css-parser";
|
|
version = "1.1.1";
|
|
pyproject = true;
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-k8f7CM8W1Fu7i5ZLT0iZpOs22b5v/vF/ma0oD0A0s2w=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "css_parser" ];
|
|
|
|
meta = {
|
|
description = "CSS Cascading Style Sheets library for Python";
|
|
homepage = "https://github.com/ebook-utils/css-parser";
|
|
license = lib.licenses.lgpl3Plus;
|
|
maintainers = with lib.maintainers; [ jethro ];
|
|
};
|
|
})
|