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

29 lines
763 B
Nix
Raw Normal View History

2018-02-21 19:40:22 +00:00
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, contextlib2, blinker
}:
buildPythonPackage rec {
pname = "raven";
2018-05-23 20:51:58 +01:00
version = "6.8.0";
2018-02-21 19:40:22 +00:00
src = fetchFromGitHub {
owner = "getsentry";
repo = "raven-python";
rev = version;
2018-05-23 20:51:58 +01:00
sha256 = "0d052nns0pf1bsazapnnrylvair37vhnjaifsdldddqv05ccfc57";
};
# way too many dependencies to run tests
# see https://github.com/getsentry/raven-python/blob/master/setup.py
doCheck = false;
2018-01-20 10:52:21 +00: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 ];
};
}