depot/third_party/nixpkgs/pkgs/development/python-modules/javaproperties/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

33 lines
772 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub
, six
, pytest
, dateutil
}:
buildPythonPackage rec {
version = "0.8.0";
pname = "javaproperties";
format = "pyproject";
src = fetchFromGitHub {
owner = "jwodder";
repo = pname;
rev = "v${version}";
sha256 = "0n6dz6rnpq8wdwqyxqwv0q7vrl26vfmvvysdjvy557fck1q2l0kf";
};
propagatedBuildInputs = [ six ];
checkInputs = [ dateutil pytest ];
checkPhase = ''
rm tox.ini
pytest -k 'not dumps and not time' --ignore=test/test_propclass.py
'';
meta = with lib; {
description = "Microsoft Azure API Management Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}