mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
pythonPackages.pyquery: refactor move to python-modules
This commit is contained in:
parent
1a773a84fc
commit
d6a9aca44f
30
pkgs/development/python-modules/pyquery/default.nix
Normal file
30
pkgs/development/python-modules/pyquery/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ 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; {
|
||||
homepage = https://github.com/gawel/pyquery;
|
||||
description = "A jquery-like library for python";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -3475,19 +3475,7 @@ in {
|
||||
|
||||
pyopenssl = callPackage ../development/python-modules/pyopenssl { };
|
||||
|
||||
pyquery = buildPythonPackage rec {
|
||||
name = "pyquery-${version}";
|
||||
version = "1.2.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyquery/${name}.zip";
|
||||
sha256 = "00p6f1dfma65192hc72dxd506491lsq3g5wgxqafi1xpg2w1xia6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ cssselect lxml webob ];
|
||||
# circular dependency on webtest
|
||||
doCheck = false;
|
||||
};
|
||||
pyquery = callPackage ../development/python-modules/pyquery { };
|
||||
|
||||
pyreport = buildPythonPackage (rec {
|
||||
name = "pyreport-0.3.4c";
|
||||
|
Loading…
Reference in New Issue
Block a user