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
42
pkgs/development/python-modules/matrix-client/default.nix
Normal file
42
pkgs/development/python-modules/matrix-client/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, responses
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix_client";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mii7ib3bah5ppqs7i8sjv5l0zbl57011908m4l0jbyby90ayy06";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
urllib3
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace \
|
||||
"pytest-runner~=5.1" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "matrix_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Matrix Client-Server SDK";
|
||||
homepage = "https://github.com/matrix-org/matrix-python-sdk";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olejorgenb ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue