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";
version = "0.4.1";
disabled = pythonOlder "3.5";
2018-04-07 12:31:54 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8";
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;
};
}