about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorannalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>2023-12-20 14:17:52 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-12-21 15:15:05 +0000
commit9b5c8b25f76648cb61b7562f5de4a1b72aef53b0 (patch)
tree7efdf512c5452efdd3eaa363aadec986a850afae /pkgs/applications/audio
parent34309fb17d5c1e96f97274b21654712c8396813a (diff)
aacgain: use submodules, fix build
(cherry picked from commit b9b32adaed148560455bb805528e95c51f6f31b2)
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/aacgain/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/applications/audio/aacgain/default.nix b/pkgs/applications/audio/aacgain/default.nix
index 4d45de86f3a1f..a89bb224a7106 100644
--- a/pkgs/applications/audio/aacgain/default.nix
+++ b/pkgs/applications/audio/aacgain/default.nix
@@ -5,8 +5,6 @@
 , autoconf
 , automake
 , libtool
-, faad2
-, mp4v2
 }:
 
 stdenv.mkDerivation rec {
@@ -17,15 +15,10 @@ stdenv.mkDerivation rec {
     owner = "dgilman";
     repo = pname;
     rev = version;
-    sha256 = "sha256-9Y23Zh7q3oB4ha17Fpm1Hu2+wtQOA1llj6WDUAO2ARU=";
+    hash = "sha256-842+ueBSrTRs/e14d2LUd+uFi2qgJOYv+dswpC0lgIo=";
+    fetchSubmodules = true;
   };
 
-  postPatch = ''
-    cp -R ${faad2.src}/* 3rdparty/faad2
-    cp -R ${mp4v2.src}/* 3rdparty/mp4v2
-    chmod -R +w 3rdparty
-  '';
-
   nativeBuildInputs = [
     cmake
     autoconf