depot/third_party/nixpkgs/pkgs/development/python-modules/vsts/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
679 B
Nix

{ buildPythonPackage
, lib
, python
, fetchPypi
, msrest
}:
buildPythonPackage rec {
version = "0.1.25";
pname = "vsts";
src = fetchPypi {
inherit pname version;
sha256 = "15sgwqa72ynpahj101r2kc15s3dnsafg5gqx0sz3hnqz29h925ys";
};
propagatedBuildInputs = [ 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 ];
};
}