summary refs log tree commit diff
path: root/pkgs/development/python-modules/yahooweather
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-02-28 10:40:13 +0800
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-04 23:43:05 +0100
commit4af9a88107bb7a593bb49c70670c8d917898201c (patch)
tree542a842cbd9e8a4d9675c7a17a3306b0280b7539 /pkgs/development/python-modules/yahooweather
parent0bb55edb3ade61d1dcc96cf694e5f8a49fb79450 (diff)
downloadnixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.tar
nixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.tar.gz
nixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.tar.bz2
nixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.tar.lz
nixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.tar.xz
nixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.tar.zst
nixpkgs-4af9a88107bb7a593bb49c70670c8d917898201c.zip
pythonPackages.yahooweather: init at 0.10
Diffstat (limited to 'pkgs/development/python-modules/yahooweather')
-rw-r--r--pkgs/development/python-modules/yahooweather/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yahooweather/default.nix b/pkgs/development/python-modules/yahooweather/default.nix
new file mode 100644
index 00000000000..38c060aa8e8
--- /dev/null
+++ b/pkgs/development/python-modules/yahooweather/default.nix
@@ -0,0 +1,23 @@
+{ lib, buildPythonPackage, fetchPypi, isPy3k }:
+
+buildPythonPackage rec {
+  pname = "yahooweather";
+  version = "0.10";
+
+  disabled = !isPy3k;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0bsxmngkpzvqm50i2cnxjzhpbdhb8s10ly8h5q08696cjihqdkpa";
+  };
+
+  # Tests require network access
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Provide an interface to the Yahoo! Weather RSS feed";
+    homepage = https://github.com/pvizeli/yahooweather;
+    license = licenses.bsd2;
+    maintainers = with maintainers; [ peterhoeg ];
+  };
+}