2020-10-19 23:25:03 +00:00
|
|
|
{ aiohttp, async-timeout, buildPythonPackage, fetchPypi, isPy3k, lib }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyaftership";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "21.1.0";
|
2020-10-19 23:25:03 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "28b62c323d06492399b60d8135a58d6feaa1d60837eddc14e57ea2b69d356c0a";
|
2020-10-19 23:25:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp async-timeout ];
|
|
|
|
|
|
|
|
# No tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pyaftership.tracker" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python wrapper package for the AfterShip API";
|
|
|
|
homepage = "https://github.com/ludeeus/pyaftership";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jamiemagee ];
|
|
|
|
};
|
|
|
|
}
|