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