about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyaftership/default.nix
blob: e65812cb3133e66898b5e057fe541aee55ccedb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ aiohttp, async-timeout, buildPythonPackage, fetchPypi, isPy3k, lib }:

buildPythonPackage rec {
  pname = "pyaftership";
  version = "21.1.0";

  disabled = !isPy3k;

  src = fetchPypi {
    inherit pname version;
    sha256 = "28b62c323d06492399b60d8135a58d6feaa1d60837eddc14e57ea2b69d356c0a";
  };

  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 ];
  };
}