Skip to content

Commit 527e326

Browse files
committed
release 0.14.3
1 parent 10fc074 commit 527e326

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

default.nix

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
pkgs ? import <nixpkgs> {},
3+
python ? pkgs.python36,
4+
}:
5+
6+
with pkgs;
7+
with python.pkgs;
8+
9+
buildPythonPackage rec {
10+
name = "pyrollbar";
11+
src = builtins.filterSource (path: type:
12+
type != "unknown" &&
13+
baseNameOf path != ".git" &&
14+
baseNameOf path != "result" &&
15+
!(pkgs.lib.hasSuffix ".nix" path)
16+
) ./.;
17+
propagatedBuildInputs = [requests six];
18+
}
19+

rollbar/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
from rollbar.lib import events, filters, dict_merge, parse_qs, text, transport, urljoin, iteritems
2626

27-
__version__ = '0.14.2'
27+
__version__ = '0.14.3'
2828
__log_name__ = 'rollbar'
2929
log = logging.getLogger(__log_name__)
3030

shell.nix

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
pkgs ? import <nixpkgs> {}
3+
}:
4+
5+
with pkgs;
6+
let
7+
python = let
8+
packageOverrides = self: super: {
9+
pandas = super.pandas.overridePythonAttrs(old: {
10+
doCheck = false;
11+
});
12+
13+
twine = super.twine.overridePythonAttrs(old: {
14+
doCheck = false;
15+
});
16+
17+
tqdm = super.tqdm.overridePythonAttrs(old: {
18+
doCheck = false;
19+
});
20+
};
21+
in python36.override { inherit packageOverrides; };
22+
pyrollbar = pkgs.callPackage ./. { inherit python; };
23+
pyenv = python.withPackages(ps: with ps; [ pyrollbar twine ]);
24+
25+
in
26+
27+
stdenv.mkDerivation {
28+
name = "pyrollbar-shell";
29+
buildInputs = [ pyenv ];
30+
}
31+

0 commit comments

Comments
 (0)