1{ buildPythonPackage
2, lib
3, python
4, fetchPypi
5, msrest
6}:
7
8buildPythonPackage rec {
9 version = "0.1.25";
10 pname = "vsts";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "15sgwqa72ynpahj101r2kc15s3dnsafg5gqx0sz3hnqz29h925ys";
15 };
16
17 propagatedBuildInputs = [ msrest ];
18
19 # Tests are highly impure
20 checkPhase = ''
21 ${python.interpreter} -c 'import vsts.version; print(vsts.version.VERSION)'
22 '';
23
24 meta = with lib; {
25 description = "Python APIs for interacting with and managing Azure DevOps";
26 homepage = "https://github.com/microsoft/azure-devops-python-api";
27 license = licenses.mit;
28 maintainers = with maintainers; [ jonringer ];
29 };
30}