mdadm: switch to fetchgit for releases (#479589)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
util-linux,
|
||||
coreutils,
|
||||
fetchgit,
|
||||
fetchurl,
|
||||
groff,
|
||||
system-sendmail,
|
||||
@@ -16,9 +17,10 @@ stdenv.mkDerivation rec {
|
||||
pname = "mdadm";
|
||||
version = "4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/utils/raid/mdadm/mdadm-${version}.tar.xz";
|
||||
sha256 = "sha256-m0iPNe0VPfmZJLX+Qe7TgOhRLejxihGGKMrN1oGx1XM=";
|
||||
src = fetchgit {
|
||||
url = "https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git";
|
||||
tag = "mdadm-${version}";
|
||||
hash = "sha256-jGmc8fkJM0V9J7V7tQPXSF/WD0kzyEAloBAwaAFenS0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
Reference in New Issue
Block a user