mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
python.pkgs.raven: fix expression
This commit is contained in:
parent
e2e2cb4961
commit
5e4e65f92d
@ -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)";
|
||||||
|
Loading…
Reference in New Issue
Block a user