Merge pull request #62163 from jonringer/applicationinsights

python.pkgs.applicationinsights: init at 0.11.9
This commit is contained in:
worldofpeace
2019-06-02 18:30:23 -04:00
committed by GitHub
4 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{ buildPythonPackage
, lib
, fetchPypi
, portalocker
}:
buildPythonPackage rec {
version = "0.11.9";
pname = "applicationinsights";
src = fetchPypi {
inherit pname version;
sha256 = "1hyjdv6xnswgqvip8y164piwfach9hjkbp7vc2qzhd7amjpim89h";
};
propagatedBuildInputs = [ portalocker ];
meta = with lib; {
description = "This project extends the Application Insights API surface to support Python";
homepage = https://github.com/Microsoft/ApplicationInsights-Python;
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchPypi
, lib
, sphinx
, flake8
, pytest
, pytestcov
, pytest-flakes
, pytestpep8
}:
buildPythonPackage rec {
version = "1.4.0";
pname = "portalocker";
src = fetchPypi {
inherit pname version;
sha256 = "0gwjnalfwl1mb9a04m9h3hrds75xmc9na666aiz2cgz0m545dcrz";
};
checkInputs = [
sphinx
flake8
pytest
pytestcov
pytest-flakes
pytestpep8
];
meta = with lib; {
description = "A library to provide an easy API to file locking";
homepage = https://github.com/WoLpH/portalocker;
license = licenses.psfl;
maintainers = with maintainers; [ jonringer ];
platforms = platforms.unix; # Windows has a dependency on pypiwin32
};
}