3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cssselect2/default.nix

33 lines
661 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, tinycss2
, pytest
, pytestrunner
2020-06-23 16:44:12 +01:00
, pytestcov
, pytest-flake8
, pytest-isort
}:
2018-04-07 12:31:54 +01:00
buildPythonPackage rec {
pname = "cssselect2";
2020-06-06 07:47:02 +01:00
version = "0.3.0";
disabled = pythonOlder "3.5";
2018-04-07 12:31:54 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:02 +01:00
sha256 = "5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc";
2018-04-07 12:31:54 +01:00
};
propagatedBuildInputs = [ tinycss2 ];
2018-04-07 12:31:54 +01:00
2020-06-23 16:44:12 +01:00
checkInputs = [ pytest pytestrunner pytestcov pytest-flake8 pytest-isort ];
2018-04-07 12:31:54 +01:00
meta = with lib; {
description = "CSS selectors for Python ElementTree";
homepage = "https://github.com/Kozea/cssselect2";
2018-04-07 12:31:54 +01:00
license = licenses.bsd3;
};
}