2019-10-23 08:50:42 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
, dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-03-24 17:41:50 +00:00
|
|
|
version = "0.8.0";
|
2019-10-23 08:50:42 +01:00
|
|
|
pname = "javaproperties";
|
2021-03-24 17:52:55 +00:00
|
|
|
format = "pyproject";
|
2019-10-23 08:50:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jwodder";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-24 17:41:50 +00:00
|
|
|
sha256 = "0n6dz6rnpq8wdwqyxqwv0q7vrl26vfmvvysdjvy557fck1q2l0kf";
|
2019-10-23 08:50:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
|
|
|
checkInputs = [ dateutil pytest ];
|
|
|
|
checkPhase = ''
|
|
|
|
rm tox.ini
|
|
|
|
pytest -k 'not dumps and not time' --ignore=test/test_propclass.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Microsoft Azure API Management Client Library for Python";
|
|
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|