python.pkgs.cssselect2: init at 0.2.1

This commit is contained in:
Robert Schütz 2018-04-07 13:31:54 +02:00 committed by Frederik Rietdijk
parent 6133e6525a
commit 701c6ed360
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, tinycss2, pytestrunner, pytestcov, pytest-flake8, pytest-isort, glibcLocales }:
buildPythonPackage rec {
pname = "cssselect2";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "505d2ce3d3a1d390ddb52f7d0864b7efeb115a5b852a91861b498b92424503ab";
};
propagatedBuildInputs = [ tinycss2 ];
checkInputs = [ pytestrunner pytestcov pytest-flake8 pytest-isort glibcLocales ];
LC_ALL = "en_US.UTF-8";
meta = with lib; {
description = "CSS selectors for Python ElementTree";
homepage = https://github.com/Kozea/cssselect2;
license = licenses.bsd3;
};
}

View File

@ -2009,6 +2009,8 @@ in {
cssselect = callPackage ../development/python-modules/cssselect { };
cssselect2 = callPackage ../development/python-modules/cssselect2 { };
cssutils = callPackage ../development/python-modules/cssutils { };
darcsver = callPackage ../development/python-modules/darcsver { };