mswatch: Use fetchsvn as a more reliable src

See also discussion at
https://github.com/NixOS/nixpkgs/pull/239140#discussion_r1248079360
This commit is contained in:
Doron Behar 2023-06-30 20:43:07 +03:00
parent a799ad04a6
commit 91612045b8

View file

@ -1,6 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchzip , fetchsvn
, pkg-config , pkg-config
, autoreconfHook , autoreconfHook
, bison , bison
@ -13,9 +13,10 @@ stdenv.mkDerivation {
# Stable release won't compile successfully # Stable release won't compile successfully
version = "unstable-2018-11-21"; version = "unstable-2018-11-21";
src = fetchzip { src = fetchsvn {
url = "https://sourceforge.net/code-snapshots/svn/m/ms/mswatch/code/mswatch-code-r369-trunk.zip"; url = "svn://svn.code.sf.net/p/mswatch/code/trunk";
hash = "sha256-czwwhchTizfgVmeknQGLijYgaFSP/45pD2yhDKj5BKw="; rev = "369";
sha256 = "sha256-czwwhchTizfgVmeknQGLijYgaFSP/45pD2yhDKj5BKw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config