Skip to content

Commit

Permalink
release 0.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
corps committed Aug 22, 2018
1 parent 10fc074 commit 527e326
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
19 changes: 19 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
pkgs ? import <nixpkgs> {},
python ? pkgs.python36,
}:

with pkgs;
with python.pkgs;

buildPythonPackage rec {
name = "pyrollbar";
src = builtins.filterSource (path: type:
type != "unknown" &&
baseNameOf path != ".git" &&
baseNameOf path != "result" &&
!(pkgs.lib.hasSuffix ".nix" path)
) ./.;
propagatedBuildInputs = [requests six];
}

2 changes: 1 addition & 1 deletion rollbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

__version__ = '0.14.2'
__version__ = '0.14.3'
__log_name__ = 'rollbar'
log = logging.getLogger(__log_name__)

Expand Down
31 changes: 31 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
pkgs ? import <nixpkgs> {}
}:

with pkgs;
let
python = let
packageOverrides = self: super: {
pandas = super.pandas.overridePythonAttrs(old: {
doCheck = false;
});

twine = super.twine.overridePythonAttrs(old: {
doCheck = false;
});

tqdm = super.tqdm.overridePythonAttrs(old: {
doCheck = false;
});
};
in python36.override { inherit packageOverrides; };
pyrollbar = pkgs.callPackage ./. { inherit python; };
pyenv = python.withPackages(ps: with ps; [ pyrollbar twine ]);

in

stdenv.mkDerivation {
name = "pyrollbar-shell";
buildInputs = [ pyenv ];
}

0 comments on commit 527e326

Please sign in to comment.