python.pkgs.raven: fix expression

This commit is contained in:
Frederik Rietdijk 2018-01-20 11:52:21 +01:00
parent e2e2cb4961
commit 5e4e65f92d

View File

@ -1,12 +1,11 @@
{ lib, buildPythonPackage, fetchurl, isPy3k, contextlib2 }: { lib, buildPythonPackage, fetchPypi, isPy3k, contextlib2, blinker }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "raven"; pname = "raven";
version = "6.4.0"; version = "6.4.0";
name = pname + "-" + version;
src = fetchurl { src = fetchPypi {
url = "mirror://pypi/r/raven/${name}.tar.gz"; inherit pname version;
sha256 = "00m985w9fja2jf8dpvdhygcr26rwabxkgvcc2v5j6v7d6lrvpvdq"; sha256 = "00m985w9fja2jf8dpvdhygcr26rwabxkgvcc2v5j6v7d6lrvpvdq";
}; };
@ -14,7 +13,7 @@ buildPythonPackage rec {
# see https://github.com/getsentry/raven-python/blob/master/setup.py # see https://github.com/getsentry/raven-python/blob/master/setup.py
doCheck = false; doCheck = false;
propagatedBuildInputs = lib.optionals (!isPy3k) [ contextlib2 ]; propagatedBuildInputs = [ blinker ] ++ lib.optionals (!isPy3k) [ contextlib2 ];
meta = { meta = {
description = "A Python client for Sentry (getsentry.com)"; description = "A Python client for Sentry (getsentry.com)";