about summary refs log tree commit diff
path: root/pkgs/applications/networking/feedreaders
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2019-08-20 19:40:23 +0300
committerTimo Kaufmann <timokau@zoho.com>2019-08-20 18:40:23 +0200
commit5d3b5453019e2b9be27da3d48e37b1079e66fc79 (patch)
treedb5b30da1cfd58c9fb166ccf3c8f577b231b37c2 /pkgs/applications/networking/feedreaders
parentc0b62a782d2c2d7a76da9d3287ca0093bc993fdb (diff)
downloadnixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.tar
nixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.tar.gz
nixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.tar.bz2
nixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.tar.lz
nixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.tar.xz
nixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.tar.zst
nixlib-5d3b5453019e2b9be27da3d48e37b1079e66fc79.zip
castget: init at 1_2_4 (#65492)
Diffstat (limited to 'pkgs/applications/networking/feedreaders')
-rw-r--r--pkgs/applications/networking/feedreaders/castget/default.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/networking/feedreaders/castget/default.nix b/pkgs/applications/networking/feedreaders/castget/default.nix
new file mode 100644
index 000000000000..21f1e555a291
--- /dev/null
+++ b/pkgs/applications/networking/feedreaders/castget/default.nix
@@ -0,0 +1,44 @@
+{ lib, stdenv, fetchFromGitHub
+, autoreconfHook
+, pkgconfig
+, glib
+, ronn
+, curl
+, id3lib
+, libxml2
+}:
+
+stdenv.mkDerivation rec {
+  pname = "castget";
+  version = "1.2.4";
+
+  src = fetchFromGitHub {
+    owner = "mlj";
+    repo = pname;
+    # Upstream uses `_` instead of `.` for the version, let's hope it will
+    # change in the next release
+    rev = "rel_${lib.replaceStrings ["."] ["_"] version}";
+    sha256 = "1pfrjmsikv35cc0praxgim26zq4r7dfp1pkn6n9fz3fm73gxylyv";
+  };
+  # Otherwise, the autoreconfHook fails since Makefile.am requires it
+  preAutoreconf = ''
+    touch NEWS
+    touch README
+    touch ChangeLog
+  '';
+
+  buildInputs = [ glib curl id3lib libxml2 ];
+  nativeBuildInputs = [ ronn autoreconfHook pkgconfig ];
+
+  meta = with stdenv.lib; {
+    description = "A simple, command-line based RSS enclosure downloader";
+    longDescription = ''
+      castget is a simple, command-line based RSS enclosure downloader. It is
+      primarily intended for automatic, unattended downloading of podcasts.
+    '';
+    homepage = "http://castget.johndal.com/";
+    maintainers = with maintainers; [ doronbehar ];
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+  };
+}