at master 780 B view raw
1{ 2 buildPythonPackage, 3 lib, 4 python, 5 fetchPypi, 6 msrest, 7}: 8 9buildPythonPackage rec { 10 version = "0.1.25"; 11 format = "setuptools"; 12 pname = "vsts"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "15sgwqa72ynpahj101r2kc15s3dnsafg5gqx0sz3hnqz29h925ys"; 17 }; 18 19 propagatedBuildInputs = [ msrest ]; 20 21 postPatch = '' 22 substituteInPlace setup.py --replace "msrest>=0.6.0,<0.7.0" "msrest" 23 ''; 24 25 # Tests are highly impure 26 checkPhase = '' 27 ${python.interpreter} -c 'import vsts.version; print(vsts.version.VERSION)' 28 ''; 29 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 }; 36}