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,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, waitress
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "requests-unixsocket";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-KDBCg+qTV9Rf/1itWxHkdwjPv1gGgXqlmyo2Mijulx4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pbr
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
waitress
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"requests_unixsocket"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Use requests to talk HTTP via a UNIX domain socket";
|
||||
homepage = "https://github.com/msabramo/requests-unixsocket";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ catern ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue