abduco: add mirror, remove recursion
> You can always fetch the current code base from the git repository > located at GitHub or SourceHut. The owner says the source code will be offered in two places so the code fetching should reflect the mirror & it adds resiliance.
This commit is contained in:
parent
79ba445fd5
commit
f0ccbfb331
1 changed files with 12 additions and 8 deletions
|
@ -1,14 +1,18 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, writeText, conf ? null }:
|
{ lib, stdenv, fetchpatch, fetchzip, writeText, conf ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
pname = "abduco";
|
pname = "abduco";
|
||||||
version = "2020-04-30";
|
version = "unstable-2020-04-30";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchzip {
|
||||||
owner = "martanne";
|
urls = [
|
||||||
repo = "abduco";
|
"https://github.com/martanne/abduco/archive/${rev}.tar.gz"
|
||||||
rev = "8c32909a159aaa9484c82b71f05b7a73321eb491";
|
"https://git.sr.ht/~martanne/abduco/archive/${rev}.tar.gz"
|
||||||
sha256 = "0a3p8xljhpk7zh203s75248blfir15smgw5jmszwbmdpy4mqzd53";
|
];
|
||||||
|
hash = "sha256-o7SPK/G31cW/rrLwV3UJOTq6EBHl6AEE/GdeKGlHdyg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = lib.optionalString (conf != null)
|
preBuild = lib.optionalString (conf != null)
|
||||||
|
|
Loading…
Reference in a new issue