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