nixpkgs-suyu/pkgs/development/python-modules/aioazuredevops/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

40 lines
724 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, aiohttp
, click
}:
buildPythonPackage rec {
pname = "aioazuredevops";
version = "1.4.3";
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";
homepage = "https://github.com/timmo001/aioazuredevops";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}