git.iko.soy/typeable/nixpkgs
on master help sign in
castget: init at 1_2_4 (#65492)
commit5d3b5453019e2b9be27da3d48e37b1079e66fc79 authorDoron Behar <doron.behar@gmail.com> dateTue 20 Aug 2019, 19:40 (7 years ago) parentc0b62a7
2 files changed+46
pkgs/applications/networking/feedreaders/castget/default.nix+44 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/feedreaders/castget/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ lib, stdenv, fetchFromGitHub
2+, autoreconfHook
3+, pkgconfig
4+, glib
5+, ronn
6+, curl
7+, id3lib
8+, libxml2
9+}:
10+
11+stdenv.mkDerivation rec {
12+ pname = "castget";
13+ version = "1.2.4";
14+
15+ src = fetchFromGitHub {
16+ owner = "mlj";
17+ repo = pname;
18+ # Upstream uses `_` instead of `.` for the version, let's hope it will
19+ # change in the next release
20+ rev = "rel_${lib.replaceStrings ["."] ["_"] version}";
21+ sha256 = "1pfrjmsikv35cc0praxgim26zq4r7dfp1pkn6n9fz3fm73gxylyv";
22+ };
23+ # Otherwise, the autoreconfHook fails since Makefile.am requires it
24+ preAutoreconf = ''
25+ touch NEWS
26+ touch README
27+ touch ChangeLog
28+ '';
29+
30+ buildInputs = [ glib curl id3lib libxml2 ];
31+ nativeBuildInputs = [ ronn autoreconfHook pkgconfig ];
32+
33+ meta = with stdenv.lib; {
34+ description = "A simple, command-line based RSS enclosure downloader";
35+ longDescription = ''
36+ castget is a simple, command-line based RSS enclosure downloader. It is
37+ primarily intended for automatic, unattended downloading of podcasts.
38+ '';
39+ homepage = "http://castget.johndal.com/";
40+ maintainers = with maintainers; [ doronbehar ];
41+ license = licenses.gpl2;
42+ platforms = platforms.linux;
43+ };
44+}
pkgs/top-level/all-packages.nix+2
@@ -149,6 +149,8 @@ in
149149
150150 buildMaven = callPackage ../build-support/build-maven.nix {};
151151
152+ castget = callPackage ../applications/networking/feedreaders/castget { };
153+
152154 castxml = callPackage ../development/tools/castxml { };
153155
154156 clj-kondo = callPackage ../development/tools/clj-kondo { };