Merge pull request #241106 from doronbehar/pkg/sox.no-sourceforge-snapshots

sox: use fetchgit instead of sourceforge unreliable snapshot url
This commit is contained in:
Emily 2023-07-02 16:43:28 +02:00 committed by GitHub
commit 3cf540aa14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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=";
};