depot/third_party/nixpkgs/pkgs/development/python-modules/javaproperties/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
748 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub
, six
, pytest
, dateutil
}:
buildPythonPackage rec {
version = "0.5.2";
pname = "javaproperties";
src = fetchFromGitHub {
owner = "jwodder";
repo = pname;
rev = "v${version}";
sha256 = "14hrp94cjj44yldf3k71wbq88cmlf01dfadi53gcirnsa56ddz5d";
};
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 ];
};
}