diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2018-10-08 19:02:47 +0200 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2018-10-08 19:14:35 +0200 |
commit | a6955ad37a2ed3bab7396b64430765bb8a0a6cee (patch) | |
tree | 2206327bc976cb04a2e227793746c2c5948757c3 /pkgs/tools/typesetting | |
parent | 4643428b6535b538a610dda08c2ff2e7694c6586 (diff) | |
download | nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.tar nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.tar.gz nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.tar.bz2 nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.tar.lz nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.tar.xz nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.tar.zst nixlib-a6955ad37a2ed3bab7396b64430765bb8a0a6cee.zip |
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
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r-- | pkgs/tools/typesetting/scdoc/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/typesetting/scdoc/default.nix b/pkgs/tools/typesetting/scdoc/default.nix index bdf074b558e7..225e360b8d34 100644 --- a/pkgs/tools/typesetting/scdoc/default.nix +++ b/pkgs/tools/typesetting/scdoc/default.nix @@ -1,12 +1,13 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchgit }: stdenv.mkDerivation rec { name = "scdoc-${version}"; version = "1.4.2"; - src = fetchurl { - url = "https://git.sr.ht/~sircmpwn/scdoc/snapshot/scdoc-${version}.tar.xz"; - sha256 = "1hhvg9cifx1v8b5i91lgq5cjdcskzl3rz7vwmwdq7ad0nqnykz82"; + src = fetchgit { + url = "https://git.sr.ht/~sircmpwn/scdoc"; + rev = version; + sha256 = "00a23kw8d36qik6h5kds13pzfnr58krlblfh9n2f0rldf0m9ldk1"; }; postPatch = '' |