about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/greg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/greg/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/audio/greg/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/greg/default.nix b/nixpkgs/pkgs/applications/audio/greg/default.nix
new file mode 100644
index 000000000000..2193447c02c7
--- /dev/null
+++ b/nixpkgs/pkgs/applications/audio/greg/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchFromGitHub, pythonPackages }:
+
+with pythonPackages; buildPythonApplication rec {
+  pname = "greg";
+  version = "0.4.8";
+
+  disabled = !isPy3k;
+
+  src = fetchFromGitHub {
+    owner = "manolomartinez";
+    repo = pname;
+    rev = "refs/tags/v${version}";
+    sha256 = "sha256-o4+tXVJTgT52JyJOC+Glr2cvZjbTaZL8TIsmz+A4vE4=";
+  };
+
+  propagatedBuildInputs = [ setuptools feedparser ];
+
+  meta = with lib; {
+    homepage = "https://github.com/manolomartinez/greg";
+    description = "A command-line podcast aggregator";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ edwtjo ];
+  };
+}