forked from mirrors/nixpkgs
pkgs.motuclient: move application away from pythonPackages
This commit is contained in:
parent
999bf7c9c7
commit
8f4a7d6c4c
23
pkgs/applications/science/misc/motu-client/default.nix
Normal file
23
pkgs/applications/science/misc/motu-client/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -2458,7 +2458,7 @@ let
|
|||
inherit (perlPackages) IOTty;
|
||||
};
|
||||
|
||||
motuclient = python27Packages.motuclient;
|
||||
motuclient = callPackage ../applications/science/misc/motu-client { };
|
||||
|
||||
mpage = callPackage ../tools/text/mpage { };
|
||||
|
||||
|
|
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue