From a9d404c616f4cb879d3b58a094965a3cef660b5f Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Mon, 27 Feb 2017 16:34:34 +0100 Subject: [PATCH] pythonPackages.libais: init at 0.16 --- .../python-modules/libais/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/libais/default.nix diff --git a/pkgs/development/python-modules/libais/default.nix b/pkgs/development/python-modules/libais/default.nix new file mode 100644 index 00000000000..85b5d92e79f --- /dev/null +++ b/pkgs/development/python-modules/libais/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchurl, + six, pytest, pytestrunner, pytestcov, coverage +}: +buildPythonPackage rec { + name = "libais-${version}"; + version = "0.16"; + + src = fetchurl { + url = "mirror://pypi/l/libais/${name}.tar.bz2"; + sha256 = "14dsh5k32ryszwdn6p45wrqp4ska6cc9qpm6lk5c5d1p4rc7wnhq"; + }; + + # data files missing + doCheck = false; + + buildInputs = [ 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 + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e8205cb41d2..9208a2ad8a5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5678,6 +5678,8 @@ in { leather = callPackage ../development/python-modules/leather { }; + libais = callPackage ../development/python-modules/libais { }; + libtmux = buildPythonPackage rec { name = "libtmux-${version}"; version = "0.6.0";