nixpkgs/pkgs/development/python-modules/tinycss2/default.nix
2019-03-13 23:49:35 +01:00

24 lines
658 B
Nix

{ lib, buildPythonPackage, fetchPypi, webencodings, pytest, 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 = [ pytest 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;
};
}