Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / javaproperties / default.nix
blob28ab53ce98a41f40400647f96e7ca9d01ef0e8b8
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , six
6 , pytestCheckHook
7 , python-dateutil
8 }:
10 buildPythonPackage rec {
11   version = "0.8.1";
12   pname = "javaproperties";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "jwodder";
17     repo = pname;
18     rev = "v${version}";
19     sha256 = "16rcdw5gd4a21v2xb1j166lc9z2dqcv68gqvk5mvpnm0x6nwadgp";
20   };
22   nativeBuildInputs = [
23     setuptools
24   ];
26   propagatedBuildInputs = [
27     six
28   ];
30   nativeCheckInputs = [
31     python-dateutil
32     pytestCheckHook
33   ];
35   disabledTests = [
36     "time"
37   ];
39   disabledTestPaths = [
40     "test/test_propclass.py"
41   ];
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   };