2018-03-02 16:12:08 +00:00
|
|
|
{ stdenv, buildPythonPackage, isPy3k, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymetar";
|
2018-09-05 21:32:08 +01:00
|
|
|
version = "1.0";
|
2018-03-02 16:12:08 +00:00
|
|
|
|
2018-09-05 21:32:08 +01:00
|
|
|
disabled = !isPy3k;
|
2018-03-02 16:12:08 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-09-05 21:32:08 +01:00
|
|
|
sha256 = "1n4k5aic4sgp43ki6j3zdw9b21r3biqqws8ah57b77n44b8wzrap";
|
2018-03-02 16:12:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2018-09-05 21:26:25 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2018-03-02 16:12:08 +00:00
|
|
|
maintainers = with maintainers; [ erosennin ];
|
|
|
|
};
|
|
|
|
}
|