depot/third_party/nixpkgs/pkgs/development/python-modules/le/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
550 B
Nix

{ lib
, buildPythonPackage
, fetchurl
, isPy3k
, simplejson
, psutil
}:
buildPythonPackage rec {
pname = "le";
version = "1.4.29";
src = fetchurl {
url = "https://github.com/logentries/le/archive/v${version}.tar.gz";
sha256 = "d29738937cb6e714b6ec2ae74b66b1983482ffd54b4faa40767af18509521d4c";
};
disabled = isPy3k;
doCheck = false;
propagatedBuildInputs = [ simplejson psutil ];
meta = with lib; {
homepage = "https://github.com/rapid7/le";
description = "Logentries agent";
license = licenses.mit;
};
}