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
57
pkgs/development/python-modules/rollbar/default.nix
Normal file
57
pkgs/development/python-modules/rollbar/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, aiocontextvars
|
||||
, blinker
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, httpx
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, six
|
||||
, pythonOlder
|
||||
, webob
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rollbar";
|
||||
version = "0.16.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "aa3b570062dd8dfb0e11537ba858f9e1633a604680e062a525434b8245540f87";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
webob
|
||||
blinker
|
||||
mock
|
||||
httpx
|
||||
aiocontextvars
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Still supporting unittest2
|
||||
# https://github.com/rollbar/pyrollbar/pull/346
|
||||
# https://github.com/rollbar/pyrollbar/pull/340
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rollbar"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Error tracking and logging from Python to Rollbar";
|
||||
homepage = "https://github.com/rollbar/pyrollbar";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue