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