evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / vsts / default.nix
blob6c339204f3dc8b6b7bdbffd40e21a445cc131d43
2   buildPythonPackage,
3   lib,
4   python,
5   fetchPypi,
6   msrest,
7 }:
9 buildPythonPackage rec {
10   version = "0.1.25";
11   format = "setuptools";
12   pname = "vsts";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "15sgwqa72ynpahj101r2kc15s3dnsafg5gqx0sz3hnqz29h925ys";
17   };
19   propagatedBuildInputs = [ msrest ];
21   postPatch = ''
22     substituteInPlace setup.py --replace "msrest>=0.6.0,<0.7.0" "msrest"
23   '';
25   # Tests are highly impure
26   checkPhase = ''
27     ${python.interpreter} -c 'import vsts.version; print(vsts.version.VERSION)'
28   '';
30   meta = with lib; {
31     description = "Python APIs for interacting with and managing Azure DevOps";
32     homepage = "https://github.com/microsoft/azure-devops-python-api";
33     license = licenses.mit;
34     maintainers = [ ];
35   };