From ee9ffde1cb5bf8ee0bc9a3b55e6c4233eccbfdc3 Mon Sep 17 00:00:00 2001 From: Sven Keidel Date: Mon, 21 Jul 2014 21:32:13 +0200 Subject: [PATCH 1/2] added metainformation for gpodder and mygpoclient --- lib/maintainers.nix | 1 + pkgs/applications/audio/gpodder/default.nix | 10 ++++++++++ .../python-modules/mygpoclient/default.nix | 11 +++++++++++ pkgs/top-level/python-packages.nix | 5 +++++ 4 files changed, 27 insertions(+) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 6110b74933b3..7a5a7c254944 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -89,6 +89,7 @@ sander = "Sander van der Burg "; shlevy = "Shea Levy "; simons = "Peter Simons "; + skeidel = "Sven Keidel "; smironov = "Sergey Mironov "; sprock = "Roger Mason "; thammers = "Tobias Hammerschmidt "; diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix index 19dacf51e5f5..446cef1e5a5c 100644 --- a/pkgs/applications/audio/gpodder/default.nix +++ b/pkgs/applications/audio/gpodder/default.nix @@ -31,4 +31,14 @@ in buildPythonPackage rec { installPhase = "DESTDIR=/ PREFIX=$out make install"; + meta = { + description = "A podcatcher written in python"; + longDescription = '' + gPodder downloads and manages free audio and video content (podcasts) + for you. Listen directly on your computer or on your mobile devices. + ''; + homepage = "http://gpodder.org/"; + license = "GPLv3"; + maintainers = [ stdenv.lib.maintainers.skeidel ]; + }; } diff --git a/pkgs/development/python-modules/mygpoclient/default.nix b/pkgs/development/python-modules/mygpoclient/default.nix index 4b40a830c1b9..15538538d6b3 100644 --- a/pkgs/development/python-modules/mygpoclient/default.nix +++ b/pkgs/development/python-modules/mygpoclient/default.nix @@ -11,4 +11,15 @@ buildPythonPackage rec { buildInputs = [ pythonPackages.nose pythonPackages.minimock ]; checkPhase = "make test"; + + meta = { + description = "A gpodder.net client library"; + longDescription = '' + The mygpoclient library allows developers to utilize a Pythonic interface + to the gpodder.net web services. + ''; + homepage = "https://thp.io/2010/mygpoclient/"; + license = "GPLv3"; + maintainers = [ stdenv.lib.maintainers.skeidel ]; + }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9bf5cbe0255d..bb8256cce2e5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4317,6 +4317,11 @@ rec { buildInputs = [ nose ]; checkPhase = "./test"; + + meta = { + description = "A minimalistic mocking library for python"; + homepage = https://pypi.python.org/pypi/MiniMock; + }; }; mitmproxy = buildPythonPackage rec { From 4ef371e1f6e8849f83e19f84285c1f3034d8ae9c Mon Sep 17 00:00:00 2001 From: Sven Keidel Date: Tue, 22 Jul 2014 09:39:06 +0200 Subject: [PATCH 2/2] added platform meta information to gpodder --- pkgs/applications/audio/gpodder/default.nix | 1 + pkgs/development/python-modules/mygpoclient/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix index 446cef1e5a5c..19b61ebc76d4 100644 --- a/pkgs/applications/audio/gpodder/default.nix +++ b/pkgs/applications/audio/gpodder/default.nix @@ -39,6 +39,7 @@ in buildPythonPackage rec { ''; homepage = "http://gpodder.org/"; license = "GPLv3"; + platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; maintainers = [ stdenv.lib.maintainers.skeidel ]; }; } diff --git a/pkgs/development/python-modules/mygpoclient/default.nix b/pkgs/development/python-modules/mygpoclient/default.nix index 15538538d6b3..d44617883818 100644 --- a/pkgs/development/python-modules/mygpoclient/default.nix +++ b/pkgs/development/python-modules/mygpoclient/default.nix @@ -20,6 +20,7 @@ buildPythonPackage rec { ''; homepage = "https://thp.io/2010/mygpoclient/"; license = "GPLv3"; + platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; maintainers = [ stdenv.lib.maintainers.skeidel ]; }; }