summary refs log tree commit diff
path: root/pkgs/development/python-modules/libais
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-02-27 16:34:34 +0100
committerLancelot SIX <lsix@lancelotsix.com>2017-02-28 16:41:54 +0100
commita9d404c616f4cb879d3b58a094965a3cef660b5f (patch)
treeca1b25feab7118e1eb133d0bd62537193dfc9fb5 /pkgs/development/python-modules/libais
parent6f3e0717555bff03321a1751b5eed4eb4d3d4465 (diff)
downloadnixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.tar
nixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.tar.gz
nixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.tar.bz2
nixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.tar.lz
nixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.tar.xz
nixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.tar.zst
nixpkgs-a9d404c616f4cb879d3b58a094965a3cef660b5f.zip
pythonPackages.libais: init at 0.16
Diffstat (limited to 'pkgs/development/python-modules/libais')
-rw-r--r--pkgs/development/python-modules/libais/default.nix25
1 files changed, 25 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 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
+  };
+}