about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-03-05 07:46:10 +0200
committerGitHub <noreply@github.com>2023-03-05 07:46:10 +0200
commit58523ba7ad064ac79bd9966cc4b3fe6ce396811c (patch)
treec382e70d199976af393bc0bde8624a96bcd8792f /pkgs/applications
parentfca1f356021fd13f3ac5ca3072963dd72dc72a7f (diff)
parentfcc20dec13a6c141ee8bfcc7939e23a7ee99030c (diff)
Merge pull request #219158 from doronbehar/pkg/castget
castget: 2.0.0 -> 2.0.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/feedreaders/castget/default.nix24
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/applications/networking/feedreaders/castget/default.nix b/pkgs/applications/networking/feedreaders/castget/default.nix
index f0f09c8de7e6e..e79a387e07f57 100644
--- a/pkgs/applications/networking/feedreaders/castget/default.nix
+++ b/pkgs/applications/networking/feedreaders/castget/default.nix
@@ -1,5 +1,6 @@
-{ lib, stdenv, fetchFromGitHub
-, autoreconfHook
+{ lib
+, stdenv
+, fetchurl
 , pkg-config
 , glib
 , ronn
@@ -11,14 +12,11 @@
 
 stdenv.mkDerivation rec {
   pname = "castget";
-  version = "2.0.0";
+  version = "2.0.1";
 
-  src = fetchFromGitHub {
-    owner = "mlj";
-    repo = pname;
-    # Upstream uses `_` instead of `.` for the version
-    rev = "rel_${lib.replaceStrings ["."] ["_"] version}";
-    sha256 = "1129x64rw587q3sdpa3lrgs0gni5f0siwbvmfz8ya4zkbhgi2ik7";
+  src = fetchurl {
+    url = "http://savannah.nongnu.org/download/castget/castget-${version}.tar.bz2";
+    hash = "sha256-Q4tffsfjGkXtN1ZjD+RH9CAVrNpT7AkgL0hihya16HU=";
   };
 
   # without this, the build fails because of an encoding issue with the manual page.
@@ -29,12 +27,16 @@ stdenv.mkDerivation rec {
     export LC_ALL="en_US.UTF-8";
   '';
 
-  buildInputs = [ glib curl id3lib libxml2 ];
+  buildInputs = [
+    glib
+    curl
+    id3lib
+    libxml2
+  ];
   nativeBuildInputs = [
     ronn
     # See comment on locale above
     glibcLocales
-    autoreconfHook
     pkg-config
   ];