diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-07-02 16:26:42 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-07-02 16:31:42 +0300 |
commit | 908a6c4ad9f8e37b84f64dbf2f25d39293e6da13 (patch) | |
tree | 59e00fd6241ada239fadb1967602eb53738ccca8 /pkgs/applications/misc/audio | |
parent | 4586970ee7b8cc79a1dfb5dc938c839925138f67 (diff) | |
download | nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.tar nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.tar.gz nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.tar.bz2 nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.tar.lz nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.tar.xz nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.tar.zst nixpkgs-908a6c4ad9f8e37b84f64dbf2f25d39293e6da13.zip |
sox: use fetchgit instead of sourceforge unreliable snapshot url
See also discussion at: https://github.com/NixOS/nixpkgs/pull/240866
Diffstat (limited to 'pkgs/applications/misc/audio')
-rw-r--r-- | pkgs/applications/misc/audio/sox/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/misc/audio/sox/default.nix b/pkgs/applications/misc/audio/sox/default.nix index 59af845e294..60e8a3fe029 100644 --- a/pkgs/applications/misc/audio/sox/default.nix +++ b/pkgs/applications/misc/audio/sox/default.nix @@ -1,7 +1,7 @@ { config , lib , stdenv -, fetchzip +, fetchgit , autoreconfHook , autoconf-archive , pkg-config @@ -39,8 +39,13 @@ stdenv.mkDerivation rec { pname = "sox"; version = "unstable-2021-05-09"; - src = fetchzip { - url = "https://sourceforge.net/code-snapshots/git/s/so/sox/code.git/sox-code-42b3557e13e0fe01a83465b672d89faddbe65f49.zip"; + src = fetchgit { + # not really needed, but when this src was updated from `fetchurl -> + # fetchgit`, we spared the mass rebuild by changing this `name` and + # therefor merge this to `master` and not to `staging`. + name = "source"; + url = "https://git.code.sf.net/p/sox/code"; + rev = "42b3557e13e0fe01a83465b672d89faddbe65f49"; hash = "sha256-9cpOwio69GvzVeDq79BSmJgds9WU5kA/KUlAkHcpN5c="; }; |