2018-10-26 17:27:07 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cssselect
|
|
|
|
, lxml
|
|
|
|
, webob
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyquery";
|
|
|
|
version = "1.2.9";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
|
|
|
sha256 = "00p6f1dfma65192hc72dxd506491lsq3g5wgxqafi1xpg2w1xia6";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cssselect lxml webob ];
|
|
|
|
|
|
|
|
# circular dependency on webtest
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/gawel/pyquery";
|
2018-10-26 17:27:07 +02:00
|
|
|
description = "A jquery-like library for python";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|