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