nixpkgs/pkgs/development/python-modules/raven/default.nix

29 lines
763 B
Nix
Raw Normal View History

2018-02-21 11:40:22 -08:00
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, contextlib2, blinker
}:
buildPythonPackage rec {
pname = "raven";
2018-04-18 14:51:17 -07:00
version = "6.7.0";
2018-02-21 11:40:22 -08:00
src = fetchFromGitHub {
owner = "getsentry";
repo = "raven-python";
rev = version;
2018-04-18 14:51:17 -07:00
sha256 = "0vb6zczfgrrh0qw5wlbvk703r11y091k6r53fbbhpbwh4hva30nx";
};
# way too many dependencies to run tests
# see https://github.com/getsentry/raven-python/blob/master/setup.py
doCheck = false;
2018-01-20 02:52:21 -08:00
propagatedBuildInputs = [ blinker ] ++ lib.optionals (!isPy3k) [ contextlib2 ];
meta = {
description = "A Python client for Sentry (getsentry.com)";
homepage = https://github.com/getsentry/raven-python;
license = [ lib.licenses.bsd3 ];
maintainers = with lib.maintainers; [ primeos ];
};
}