depot/third_party/nixpkgs/pkgs/development/python-modules/sharkiq/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
695 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
requests,
}:
buildPythonPackage rec {
pname = "sharkiq";
version = "1.0.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "JeffResc";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-UG460uEv1U/KTuVEcXMZlVbK/7REFpotkUk4U7z7KpA=";
};
propagatedBuildInputs = [
aiohttp
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "sharkiq" ];
meta = with lib; {
description = "Python API for Shark IQ robots";
homepage = "https://github.com/JeffResc/sharkiq";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}