3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyaftership/default.nix

37 lines
780 B
Nix
Raw Normal View History

2021-05-08 23:59:49 +01:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, aiohttp
, async-timeout
, aresponses
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyaftership";
version = "21.1.0";
disabled = !isPy3k;
2021-05-08 23:59:49 +01:00
src = fetchFromGitHub {
owner = "ludeeus";
repo = pname;
rev = version;
sha256 = "0jyzgwaijkp80whi58a0hgjzmnlczmd9vwn11z2m0j01kbdwznn5";
};
propagatedBuildInputs = [ aiohttp async-timeout ];
2021-05-08 23:59:49 +01:00
checkInputs = [ pytestCheckHook aresponses pytest-asyncio ];
pythonImportsCheck = [ "pyaftership" ];
meta = with lib; {
description = "Python wrapper package for the AfterShip API";
homepage = "https://github.com/ludeeus/pyaftership";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}