nixpkgs/pkgs/development/python-modules/libais/default.nix

26 lines
701 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi,
2017-02-27 16:34:34 +01:00
six, pytest, pytestrunner, pytestcov, coverage
}:
buildPythonPackage rec {
pname = "libais";
version = "0.17";
2017-02-27 16:34:34 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0pyka09h8nb0vlzh14npq4nxmzg1046lr3klgn97dsf5k0iflapb";
2017-02-27 16:34:34 +01:00
};
# data files missing
doCheck = false;
checkInputs = [ pytest pytestrunner pytestcov coverage ];
2017-02-27 16:34:34 +01:00
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
};
}