python.pkgs.pymetar: modernize
This commit is contained in:
parent
a862a0e559
commit
e2f7ef7bf5
20
pkgs/development/python-modules/pymetar/default.nix
Normal file
20
pkgs/development/python-modules/pymetar/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymetar";
|
||||
version = "0.21";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sh3nm5ilnsgpnzbb2wv4xndnizjayw859qp72798jadqpcph69k";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line tool to show the weather report by a given station ID";
|
||||
homepage = http://www.schwarzvogel.de/software/pymetar.html;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ erosennin ];
|
||||
};
|
||||
}
|
@ -12417,25 +12417,7 @@ in {
|
||||
|
||||
pylibmc = callPackage ../development/python-modules/pylibmc {};
|
||||
|
||||
pymetar = buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pymetar";
|
||||
version = "0.21";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
|
||||
sha256 = "1sh3nm5ilnsgpnzbb2wv4xndnizjayw859qp72798jadqpcph69k";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A command-line tool to show the weather report by a given station ID";
|
||||
homepage = http://www.schwarzvogel.de/software/pymetar.html;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ erosennin ];
|
||||
};
|
||||
};
|
||||
pymetar = callPackage ../development/python-modules/pymetar { };
|
||||
|
||||
pysftp = buildPythonPackage rec {
|
||||
name = "pysftp-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user