about summary refs log tree commit diff
path: root/pkgs/applications/audio/greg
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2017-10-12 04:40:46 +0200
committerEdward Tjörnhammar <ed@cflags.cc>2017-10-27 08:33:34 +0200
commit8f17abf29c769e6914ed585e7e56601c58877e2d (patch)
tree28cd8987e880fe076d0e2e45ca6898db0f5dfd0d /pkgs/applications/audio/greg
parent93cc9b93e01d9095317ecc6167291247e9db3b1d (diff)
greg: init at 0.4.7
Diffstat (limited to 'pkgs/applications/audio/greg')
-rw-r--r--pkgs/applications/audio/greg/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/audio/greg/default.nix b/pkgs/applications/audio/greg/default.nix
new file mode 100644
index 0000000000000..e7a23b6f204c5
--- /dev/null
+++ b/pkgs/applications/audio/greg/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, pythonPackages }:
+
+with pythonPackages; buildPythonApplication rec {
+  pname = "greg";
+  version = "0.4.7";
+  name = pname + "-" + version;
+
+  disabled = !isPy3k;
+
+  src = fetchFromGitHub {
+    owner = "manolomartinez";
+    repo = pname;
+    rev = "v" + version;
+    sha256 = "0bdzgh2k1ppgcvqiasxwp3w89q44s4jgwjidlips3ixx1bzm822v";
+  };
+
+  buildInputs = with pythonPackages; [ feedparser ];
+  propagatedBuildInputs = buildInputs;
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/manolomartinez/greg";
+    description = "A command-line podcast aggregator";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ edwtjo ];
+  };
+}