about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/tinycss2/default.nix
blob: 6d0ee30bbb48686326508da4d846674d228d6fd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildPythonPackage, fetchPypi, webencodings, pytestrunner, pytestcov, pytest-flake8, pytest-isort, glibcLocales }:

buildPythonPackage rec {
  pname = "tinycss2";
  version = "0.6.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "7c53c2c0e914c7711c295b3101bcc78e0b7eda23ff20228a936efe11cdcc7136";
  };

  propagatedBuildInputs = [ webencodings ];

  checkInputs = [ pytestrunner pytestcov pytest-flake8 pytest-isort glibcLocales ];

  LC_ALL = "en_US.UTF-8";

  meta = with lib; {
    description = "Low-level CSS parser for Python";
    homepage = https://github.com/Kozea/tinycss2;
    license = licenses.bsd3;
  };
}