nixpkgs/pkgs/development/python-modules/libais/default.nix
2018-04-11 17:25:47 +02:00

26 lines
701 B
Nix

{ stdenv, buildPythonPackage, fetchPypi,
six, pytest, pytestrunner, pytestcov, coverage
}:
buildPythonPackage rec {
pname = "libais";
version = "0.17";
src = fetchPypi {
inherit pname version;
sha256 = "0pyka09h8nb0vlzh14npq4nxmzg1046lr3klgn97dsf5k0iflapb";
};
# data files missing
doCheck = false;
checkInputs = [ pytest pytestrunner pytestcov coverage ];
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
homepage = https://github.com/schwehr/libais;
description = "Library for decoding maritime Automatic Identification System messages";
license = licenses.asl20;
platforms = platforms.linux; # It currently fails to build on darwin
};
}