diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-03-18 17:58:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-18 17:58:50 +0100 |
commit | 3a919cf7dabeb3763d8c947baff5b8ddfd316676 (patch) | |
tree | 29123108342214bd007b062a47bc481451aeb36d | |
parent | e096d7c85306ff1e800d0d4fd99dc91b79b1d1ed (diff) | |
parent | a9d404c616f4cb879d3b58a094965a3cef660b5f (diff) | |
download | nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.tar nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.tar.gz nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.tar.bz2 nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.tar.lz nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.tar.xz nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.tar.zst nixlib-3a919cf7dabeb3763d8c947baff5b8ddfd316676.zip |
Merge pull request #23242 from lsix/add_python_libais
pythonPackages.libais: init at 0.16
-rw-r--r-- | pkgs/development/python-modules/libais/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/libais/default.nix b/pkgs/development/python-modules/libais/default.nix new file mode 100644 index 000000000000..85b5d92e79f4 --- /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 79e5f9f8e9fb..71a593643900 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5751,6 +5751,8 @@ in { leather = callPackage ../development/python-modules/leather { }; + libais = callPackage ../development/python-modules/libais { }; + libtmux = buildPythonPackage rec { name = "libtmux-${version}"; version = "0.6.0"; |