From c930bf1f36b54f9fdf12459fb58c4b1ebad67d6a Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Wed, 15 Jul 2015 10:18:14 +0200 Subject: [PATCH] motuclient: init at 1.0.8 --- pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dca528a4fdd9..e7321e2211bb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2215,6 +2215,8 @@ let inherit (perlPackages) IOTty; }; + motuclient = python27Packages.motuclient; + mpage = callPackage ../tools/text/mpage { }; mr = callPackage ../applications/version-management/mr { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 119b06e1f421..e73af3ba413b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3839,6 +3839,32 @@ let }; }; + motuclient = buildPythonPackage rec { + name = "motu-client-${version}"; + version = "1.0.8"; + + namePrefix = ""; + disabled = !isPy27; + + src = pkgs.fetchurl { + url = "https://gitlab.com/lsix/motu-client/repository/archive.tar.gz?ref=${name}"; + sha256 = "1d2hbws085hxf5hb1wsdlacy8skwn2sswr1b2xv18fbw5ckbqi8i"; + }; + + meta = { + homepage = https://gitlab.com/lsix/motu-client; + description = "CLI to query oceanographic data to Motu servers"; + longDescription = '' + Access data from (motu)[http://sourceforge.net/projects/cls-motu/] servers. + This is a refactored fork of the original release in order to simplify integration, + deployment and packaging. Upstream code can be found at + http://sourceforge.net/projects/cls-motu/ . + ''; + license = licenses.lgpl3Plus; + maintainers = [ maintainers.lsix ]; + }; + }; + mwlib-ext = buildPythonPackage rec { version = "0.13.2"; name = "mwlib.ext-${version}";