nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7rustPlatform.buildRustPackage rec {
8 pname = "bootspec";
9 version = "2.0.0";
10
11 src = fetchFromGitHub {
12 owner = "DeterminateSystems";
13 repo = "bootspec";
14 rev = "v${version}";
15 hash = "sha256-FeNBn/HeOanvFSCH9gNBCwlSJx1EhhEdrgX2rbXdZgI=";
16 };
17
18 cargoHash = "sha256-vJVOseAvIGNxos180Z5OHgo3u/2iyeOgOetXTJxyZx0=";
19
20 passthru.updateScript = nix-update-script { };
21
22 meta = {
23 description = "Implementation of RFC-0125's datatype and synthesis tooling";
24 homepage = "https://github.com/DeterminateSystems/bootspec";
25 license = lib.licenses.mit;
26 maintainers = [ lib.maintainers.cole-h ];
27 platforms = lib.platforms.unix;
28 };
29}