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

25 lines
706 B
Nix
Raw Normal View History

2018-01-20 11:52:21 +01:00
{ lib, buildPythonPackage, fetchPypi, isPy3k, contextlib2, blinker }:
buildPythonPackage rec {
pname = "raven";
2017-12-13 21:52:14 +01:00
version = "6.4.0";
2018-01-20 11:52:21 +01:00
src = fetchPypi {
inherit pname version;
2017-12-13 21:52:14 +01:00
sha256 = "00m985w9fja2jf8dpvdhygcr26rwabxkgvcc2v5j6v7d6lrvpvdq";
};
# way too many dependencies to run tests
# see https://github.com/getsentry/raven-python/blob/master/setup.py
doCheck = false;
2018-01-20 11:52:21 +01: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 ];
};
}