Merge pull request #13510 from lancelotsix/relocate_motu_client

pkgs.motuclient: move application away from pythonPackages

Changed files
+24 -27
pkgs
applications
science
misc
motu-client
top-level
+23
pkgs/applications/science/misc/motu-client/default.nix
···
+
{ python27Packages, fetchurl, lib } :
+
python27Packages.buildPythonApplication rec {
+
name = "motu-client-${version}";
+
version = "1.0.8";
+
+
src = fetchurl {
+
url = "https://github.com/quiet-oceans/motuclient-setuptools/archive/${name}.tar.gz";
+
sha256 = "1naqmav312agn72iad9kyxwscn2lz4v1cfcqqi1qcgvc82vnwkw2";
+
};
+
+
meta = with lib; {
+
homepage = https://github.com/quiet-oceans/motuclient-setuptools;
+
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 ];
+
};
+
}
+1 -1
pkgs/top-level/all-packages.nix
···
inherit (perlPackages) IOTty;
};
-
motuclient = python27Packages.motuclient;
+
motuclient = callPackage ../applications/science/misc/motu-client { };
mpage = callPackage ../tools/text/mpage { };
-26
pkgs/top-level/python-packages.nix
···
};
};
-
motuclient = buildPythonPackage rec {
-
name = "motu-client-${version}";
-
version = "1.0.8";
-
-
namePrefix = "";
-
disabled = !isPy27;
-
-
src = pkgs.fetchurl {
-
url = "https://github.com/quiet-oceans/motuclient-setuptools/archive/${name}.tar.gz";
-
sha256 = "1naqmav312agn72iad9kyxwscn2lz4v1cfcqqi1qcgvc82vnwkw2";
-
};
-
-
meta = {
-
homepage = https://github.com/quiet-oceans/motuclient-setuptools;
-
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}";