python.pkgs.datadog: fix build
This commit is contained in:
parent
e15ba18cee
commit
e110d297c3
@ -1,19 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pillow, tox, mock, six, nose, requests, decorator, simplejson }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, decorator, requests, simplejson
|
||||
, nose, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datadog";
|
||||
version = "0.20.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7bb4af836d7422a6138f983b81c16acd56c2d608913982602856cc273ae74768";
|
||||
# no tests in PyPI tarball
|
||||
# https://github.com/DataDog/datadogpy/pull/259
|
||||
src = fetchFromGitHub {
|
||||
owner = "DataDog";
|
||||
repo = "datadogpy";
|
||||
rev = "v${version}";
|
||||
sha256 = "1p4p14853yrsl8py4ca7za7a12qzw0xwgz64f5kzx8a6vpv3p3md";
|
||||
};
|
||||
|
||||
buildInputs = [ pillow tox mock six nose ];
|
||||
propagatedBuildInputs = [ requests decorator simplejson ];
|
||||
propagatedBuildInputs = [ decorator requests simplejson ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
checkInputs = [ nose mock ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Datadog Python library";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/DataDog/datadogpy;
|
||||
|
Loading…
Reference in New Issue
Block a user