linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / javaproperties / default.nix
bloba9acf380da10297683a578a0b3d11a2df02f720b
1 { lib, buildPythonPackage, fetchFromGitHub
2 , six
3 , pytest
4 , dateutil
5 }:
7 buildPythonPackage rec {
8   version = "0.7.0";
9   pname = "javaproperties";
11   src = fetchFromGitHub {
12     owner = "jwodder";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "14dlzwr4gxlbgjy012i4pqs2rn2rmp21w8n1k1wwjkf26mcvrq5s";
16   };
18   propagatedBuildInputs = [ six ];
20   checkInputs = [ dateutil pytest ];
21   checkPhase = ''
22     rm tox.ini
23     pytest -k 'not dumps and not time' --ignore=test/test_propclass.py
24   '';
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   };