mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
lvm2: sha256 -> hash
also add a non-mirror download url
This commit is contained in:
parent
481c3f0acd
commit
3454a6b4e4
@ -1,4 +1,4 @@
|
|||||||
import ./common.nix {
|
import ./common.nix {
|
||||||
version = "2.02.188";
|
version = "2.02.188";
|
||||||
sha256 = "sha256-cQHosIFq135DkP7ZdJoJAhS6UgBhzQg0N4ceGeUMyb0=";
|
hash = "sha256-cQHosIFq135DkP7ZdJoJAhS6UgBhzQg0N4ceGeUMyb0=";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import ./common.nix {
|
import ./common.nix {
|
||||||
version = "2.03.16";
|
version = "2.03.16";
|
||||||
sha256 = "sha256-5mHs4VtdiNir45pMHh2y9D4YlvAZlIu5iw4V13doB4Y=";
|
hash = "sha256-5mHs4VtdiNir45pMHh2y9D4YlvAZlIu5iw4V13doB4Y=";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ version, sha256 }:
|
{ version, hash }:
|
||||||
|
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
@ -28,8 +28,11 @@ stdenv.mkDerivation rec {
|
|||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz";
|
urls = [
|
||||||
inherit sha256;
|
"https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz"
|
||||||
|
"ftp://sourceware.org/pub/lvm2/LVM2.${version}.tgz"
|
||||||
|
];
|
||||||
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
Loading…
Reference in New Issue
Block a user