about summary refs log tree commit diff
path: root/pkgs/applications/audio/caudec
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2022-01-07 13:55:27 +0700
committerBen Siraphob <bensiraphob@gmail.com>2022-01-07 16:45:52 +0700
commit184340bff50ce8f12eb4fb140ddfd2ed0f9f9fc5 (patch)
tree08c6c5ad5b72275b298fb776489e332fba6b6b4f /pkgs/applications/audio/caudec
parentea793d9eccff4642d8f423cdc7b3ea4609e9b775 (diff)
caudec: update homepage and fix source URL
Diffstat (limited to 'pkgs/applications/audio/caudec')
-rw-r--r--pkgs/applications/audio/caudec/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/applications/audio/caudec/default.nix b/pkgs/applications/audio/caudec/default.nix
index 15ebb85136b02..a595f285c68a7 100644
--- a/pkgs/applications/audio/caudec/default.nix
+++ b/pkgs/applications/audio/caudec/default.nix
@@ -1,15 +1,11 @@
 { lib, stdenv, fetchurl, makeWrapper, bash, bc, findutils, flac, lame, opusTools, procps, sox }:
 
-let
-  version = "1.7.5";
-in
-
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   pname = "caudec";
-  inherit version;
+  version = "1.7.5";
 
   src = fetchurl {
-    url = "http://caudec.net/downloads/caudec-${version}.tar.gz";
+    url = "http://caudec.cocatre.net/downloads/caudec-${version}.tar.gz";
     sha256 = "5d1f5ab3286bb748bd29cbf45df2ad2faf5ed86070f90deccf71c60be832f3d5";
   };
 
@@ -31,7 +27,7 @@ stdenv.mkDerivation {
   '';
 
    meta = with lib; {
-    homepage = "http://caudec.net/";
+    homepage = "https://caudec.cocatre.net/";
     description = "A multiprocess audio converter that supports many formats (FLAC, MP3, Ogg Vorbis, Windows codecs and many more)";
     license     = licenses.gpl3;
     platforms   = platforms.linux ++ platforms.darwin;