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
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
, distro
|
||||
, httplib2
|
||||
, oauthlib
|
||||
, setuptools
|
||||
, six
|
||||
, wadllib
|
||||
, fixtures
|
||||
, lazr-uri
|
||||
, pytestCheckHook
|
||||
, wsgi-intercept
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr.restfulclient";
|
||||
version = "0.14.4";
|
||||
|
||||
disabled = isPy27; # namespace is broken for python2
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bf0fd6b2749b3a2d02711f854c9d23704756f7afed21fb5d5b9809d72aa6d087";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
|
||||
|
||||
# E ModuleNotFoundError: No module named 'lazr.uri'
|
||||
doCheck = false;
|
||||
checkInputs = [ fixtures lazr-uri pytestCheckHook wsgi-intercept ];
|
||||
|
||||
pythonImportsCheck = [ "lazr.restfulclient" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A programmable client library that takes advantage of the commonalities among";
|
||||
homepage = "https://launchpad.net/lazr.restfulclient";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue