mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
33 lines
748 B
Nix
33 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 ];
|
|
};
|
|
}
|