diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-03-02 16:12:08 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-03-02 16:12:08 +0000 |
commit | e2f7ef7bf54661fc869603941cf372f1c81e254a (patch) | |
tree | 03c14d02eb0dc23236ab45a8e9f5b8b1ceef643e /pkgs/development/python-modules | |
parent | a862a0e559593623b4f965bd9042490ec42dab22 (diff) | |
download | nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.tar nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.tar.gz nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.tar.bz2 nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.tar.lz nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.tar.xz nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.tar.zst nixlib-e2f7ef7bf54661fc869603941cf372f1c81e254a.zip |
python.pkgs.pymetar: modernize
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pymetar/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pymetar/default.nix b/pkgs/development/python-modules/pymetar/default.nix new file mode 100644 index 000000000000..a918528bdf87 --- /dev/null +++ b/pkgs/development/python-modules/pymetar/default.nix @@ -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 ]; + }; +} |