depot/third_party/nixpkgs/pkgs/development/python-modules/pyplaato/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

29 lines
621 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, python-dateutil
}:
buildPythonPackage rec {
pname = "pyplaato";
version = "0.0.15";
src = fetchPypi {
inherit pname version;
sha256 = "1nykbkv2fg1x5min07cbi44x6am48f5gw3mnyj7x2kpmj6sqfpqp";
};
propagatedBuildInputs = [ aiohttp python-dateutil ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyplaato" ];
meta = with lib; {
description = "Python API client for fetching Plaato data";
homepage = "https://github.com/JohNan/pyplaato";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}