lvm2: sha256 -> hash
also add a non-mirror download url
This commit is contained in:
parent
481c3f0acd
commit
3454a6b4e4
3 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
import ./common.nix {
|
||||
version = "2.02.188";
|
||||
sha256 = "sha256-cQHosIFq135DkP7ZdJoJAhS6UgBhzQg0N4ceGeUMyb0=";
|
||||
hash = "sha256-cQHosIFq135DkP7ZdJoJAhS6UgBhzQg0N4ceGeUMyb0=";
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import ./common.nix {
|
||||
version = "2.03.16";
|
||||
sha256 = "sha256-5mHs4VtdiNir45pMHh2y9D4YlvAZlIu5iw4V13doB4Y=";
|
||||
hash = "sha256-5mHs4VtdiNir45pMHh2y9D4YlvAZlIu5iw4V13doB4Y=";
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ version, sha256 }:
|
||||
{ version, hash }:
|
||||
|
||||
{ lib, stdenv
|
||||
, fetchpatch
|
||||
|
@ -28,8 +28,11 @@ stdenv.mkDerivation rec {
|
|||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz";
|
||||
inherit sha256;
|
||||
urls = [
|
||||
"https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz"
|
||||
"ftp://sourceware.org/pub/lvm2/LVM2.${version}.tgz"
|
||||
];
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
|
Loading…
Reference in a new issue