nixpkgs/pkgs/development/python-modules/aioazuredevops/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

43 lines
785 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, aiohttp
, click
}:
buildPythonPackage rec {
pname = "aioazuredevops";
version = "1.4.3";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-vNTvSQYjjptdPsHz0zM9paq3iodZrhcEralPm6YRZJE=";
};
propagatedBuildInputs = [
aiohttp
click
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [
"aioazuredevops.builds"
"aioazuredevops.client"
"aioazuredevops.core"
];
meta = with lib; {
description = "Get data from the Azure DevOps API";
mainProgram = "aioazuredevops";
homepage = "https://github.com/timmo001/aioazuredevops";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}