mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
bootspec: 1.0.0 -> 1.0.1
Changes: https://github.com/DeterminateSystems/bootspec/releases/tag/v1.0.1
This commit is contained in:
parent
a94100d091
commit
484833bcf8
1 changed files with 3 additions and 15 deletions
|
@ -2,32 +2,20 @@
|
||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bootspec";
|
pname = "bootspec";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "DeterminateSystems";
|
owner = "DeterminateSystems";
|
||||||
repo = "bootspec";
|
repo = "bootspec";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-5IGSMHeL0eKfl7teDejAckYQjc8aeLwfwIQSzQ8YaAg=";
|
hash = "sha256-0MO+SqG7Gjq+fmMJkIFvaKsfTmC7z3lGfi7bbBv7iBE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/DeterminateSystems/bootspec/pull/127
|
|
||||||
# Fixes the synthesize tool for aarch64-linux
|
|
||||||
(fetchpatch {
|
|
||||||
name = "aarch64-support.patch";
|
|
||||||
url = "https://github.com/DeterminateSystems/bootspec/commit/1d0e925f360f0199f13422fb7541225fd162fd4f.patch";
|
|
||||||
sha256 = "sha256-wU/jWnOqVBrU2swANdXbQfzRpNd/JIS4cxSyCvixZM0=";
|
|
||||||
})
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-65jk8UlXZgQoxuwRcGlMnI4e+LpCJuP2TaqK+Kn4GnQ=";
|
cargoHash = "sha256-fKbF5SyI0UlZTWsygdE8BGWuOoNSU4jx+CGdJoJFhZs=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Implementation of RFC-0125's datatype and synthesis tooling";
|
description = "Implementation of RFC-0125's datatype and synthesis tooling";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue