1{ lib, buildPythonPackage, fetchFromGitHub
2, six
3, pytest
4, python-dateutil
5}:
6
7buildPythonPackage rec {
8 version = "0.8.1";
9 pname = "javaproperties";
10 format = "pyproject";
11
12 src = fetchFromGitHub {
13 owner = "jwodder";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "16rcdw5gd4a21v2xb1j166lc9z2dqcv68gqvk5mvpnm0x6nwadgp";
17 };
18
19 propagatedBuildInputs = [ six ];
20
21 checkInputs = [ python-dateutil pytest ];
22 checkPhase = ''
23 rm tox.ini
24 pytest -k 'not dumps and not time' --ignore=test/test_propclass.py
25 '';
26
27 meta = with lib; {
28 description = "Microsoft Azure API Management Client Library for Python";
29 homepage = "https://github.com/Azure/azure-sdk-for-python";
30 license = licenses.mit;
31 maintainers = with maintainers; [ jonringer ];
32 };
33}