1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/vsts/default.nix
2019-07-15 21:12:09 +02:00

31 lines
677 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 ];
};
}