3
0
Fork 0
forked from mirrors/nixpkgs

pkgs.motuclient: move application away from pythonPackages

This commit is contained in:
Lancelot SIX 2016-02-26 17:33:45 +01:00
parent 999bf7c9c7
commit 8f4a7d6c4c
3 changed files with 24 additions and 27 deletions
pkgs
applications/science/misc/motu-client
top-level

View file

@ -0,0 +1,23 @@
{ 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 ];
};
}

View file

@ -2458,7 +2458,7 @@ let
inherit (perlPackages) IOTty;
};
motuclient = python27Packages.motuclient;
motuclient = callPackage ../applications/science/misc/motu-client { };
mpage = callPackage ../tools/text/mpage { };

View file

@ -6397,32 +6397,6 @@ in modules // {
};
};
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}";