1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 six,
7 pytestCheckHook,
8 python-dateutil,
9}:
10
11buildPythonPackage rec {
12 version = "0.8.1";
13 pname = "javaproperties";
14 format = "pyproject";
15
16 src = fetchFromGitHub {
17 owner = "jwodder";
18 repo = pname;
19 rev = "v${version}";
20 sha256 = "16rcdw5gd4a21v2xb1j166lc9z2dqcv68gqvk5mvpnm0x6nwadgp";
21 };
22
23 nativeBuildInputs = [ setuptools ];
24
25 propagatedBuildInputs = [ six ];
26
27 nativeCheckInputs = [
28 python-dateutil
29 pytestCheckHook
30 ];
31
32 disabledTests = [ "time" ];
33
34 disabledTestPaths = [ "test/test_propclass.py" ];
35
36 meta = with lib; {
37 description = "Microsoft Azure API Management Client Library for Python";
38 homepage = "https://github.com/Azure/azure-sdk-for-python";
39 license = licenses.mit;
40 maintainers = with maintainers; [ jonringer ];
41 };
42}