summary refs log tree commit diff
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2023-11-13 12:04:59 +0000
committerGitHub <noreply@github.com>2023-11-13 12:04:59 +0000
commit6ed37e8e041cf94df958a42912a89f55e1b78446 (patch)
treec17a011d24f78bfdc5fc59192c7507a37c06ad9c
parentc2419655330d7aedad6c77d7602b9be79be19835 (diff)
downloadnixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.tar
nixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.tar.gz
nixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.tar.bz2
nixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.tar.lz
nixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.tar.xz
nixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.tar.zst
nixpkgs-6ed37e8e041cf94df958a42912a89f55e1b78446.zip
jack_capture: 0.9.73 -> 0.9.73.2023-01-04 (#264941)
Fixes #263505 (broken build)

Upstream has fixed this in 2021 (https://github.com/kmatheussen/jack_capture/pull/45)
but has made no releases since (https://github.com/kmatheussen/jack_capture/issues/32)
-rw-r--r--pkgs/applications/audio/jack-capture/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/audio/jack-capture/default.nix b/pkgs/applications/audio/jack-capture/default.nix
index 44e6dd1cd8a..e0b761a70f9 100644
--- a/pkgs/applications/audio/jack-capture/default.nix
+++ b/pkgs/applications/audio/jack-capture/default.nix
@@ -1,12 +1,14 @@
-{ lib, stdenv, fetchurl, libjack2, libsndfile, pkg-config }:
+{ lib, stdenv, fetchFromGitHub, libjack2, libsndfile, pkg-config }:
 
 stdenv.mkDerivation rec {
   pname = "jack_capture";
-  version = "0.9.73";
+  version = "0.9.73.2023-01-04";
 
-  src = fetchurl {
-    url = "https://archive.notam02.no/arkiv/src/${pname}-${version}.tar.gz";
-    sha256 = "1pji0zdwm3kxjrkbzj7fnxhr8ncrc8pyqnwyrh47fhypgqjv1br1";
+  src = fetchFromGitHub {
+    owner = "kmatheussen";
+    repo = "jack_capture";
+    rev = "a539d444d388c4cfed7279e385830e7767d59c41";
+    sha256 = "sha256-2DavZS4esV17a3vkiPvfCfp0QF94ZcXqdIw84h9HDjA=";
   };
 
   nativeBuildInputs = [ pkg-config ];
@@ -23,9 +25,9 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     description = "A program for recording soundfiles with jack";
-    homepage = "http://archive.notam02.no/arkiv/src";
+    homepage = "https://github.com/kmatheussen/jack_capture/";
     license = licenses.gpl2;
-    maintainers = [ maintainers.goibhniu ];
+    maintainers = with maintainers; [ goibhniu orivej ];
     platforms = lib.platforms.linux;
   };
 }