mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:25:38 +00:00
29 lines
763 B
Nix
29 lines
763 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
|
, contextlib2, blinker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "raven";
|
|
version = "6.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getsentry";
|
|
repo = "raven-python";
|
|
rev = version;
|
|
sha256 = "1kggp34i8gqi47khca2v5n2i32zrg66m1pga6c00yqmlbv74d84v";
|
|
};
|
|
|
|
# way too many dependencies to run tests
|
|
# see https://github.com/getsentry/raven-python/blob/master/setup.py
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|