nixpkgs/pkgs/development/python-modules/tinycss2/default.nix

24 lines
658 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, webencodings, pytest, pytestrunner, pytestcov, pytest-flake8, pytest-isort, glibcLocales }:
2018-04-07 11:23:09 +00:00
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 ];
2018-04-07 11:23:09 +00:00
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;
};
}