scdoc: Switch to fetchgit because the archive is unavailable

The Git repository is still accessible but the webpage [0] and the
download link [1] currently return "404 Not Found".

[0]: https://git.sr.ht/~sircmpwn/scdoc/
[1]: https://git.sr.ht/~sircmpwn/scdoc/snapshot/scdoc-${version}.tar.xz
This commit is contained in:
Michael Weiss 2018-10-08 19:02:47 +02:00
parent 4643428b65
commit a6955ad37a

View File

@ -1,12 +1,13 @@
{ stdenv, fetchurl }: { stdenv, fetchgit }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "scdoc-${version}"; name = "scdoc-${version}";
version = "1.4.2"; version = "1.4.2";
src = fetchurl { src = fetchgit {
url = "https://git.sr.ht/~sircmpwn/scdoc/snapshot/scdoc-${version}.tar.xz"; url = "https://git.sr.ht/~sircmpwn/scdoc";
sha256 = "1hhvg9cifx1v8b5i91lgq5cjdcskzl3rz7vwmwdq7ad0nqnykz82"; rev = version;
sha256 = "00a23kw8d36qik6h5kds13pzfnr58krlblfh9n2f0rldf0m9ldk1";
}; };
postPatch = '' postPatch = ''