uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/development/python-modules/pyquery/default.nix
Normal file
35
pkgs/development/python-modules/pyquery/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cssselect
|
||||
, fetchPypi
|
||||
, lxml
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyquery";
|
||||
version = "1.4.3";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "00p6f1dfma65192hc72dxd506491lsq3g5wgxqafi1xpg2w1xia6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cssselect
|
||||
lxml
|
||||
];
|
||||
|
||||
# circular dependency on webtest
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pyquery" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A jquery-like library for Python";
|
||||
homepage = "https://github.com/gawel/pyquery";
|
||||
changelog = "https://github.com/gawel/pyquery/blob/${version}/CHANGES.rst";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue