evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / bo / bootspec / package.nix
blob2ffa6c47ab09e14ec55563d43cd879006925f04b
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , fetchpatch
5 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "bootspec";
8   version = "1.0.0";
10   src = fetchFromGitHub {
11     owner = "DeterminateSystems";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-5IGSMHeL0eKfl7teDejAckYQjc8aeLwfwIQSzQ8YaAg=";
15   };
17   patches = [
18     # https://github.com/DeterminateSystems/bootspec/pull/127
19     # Fixes the synthesize tool for aarch64-linux
20     (fetchpatch {
21       name = "aarch64-support.patch";
22       url = "https://github.com/DeterminateSystems/bootspec/commit/1d0e925f360f0199f13422fb7541225fd162fd4f.patch";
23       sha256 = "sha256-wU/jWnOqVBrU2swANdXbQfzRpNd/JIS4cxSyCvixZM0=";
24     })
26   ];
28   cargoHash = "sha256-eGSKVHjPnHK7WyGkO5LIjocNGHawahYQR3H5Lgk1C9s=";
30   meta = with lib; {
31     description = "Implementation of RFC-0125's datatype and synthesis tooling";
32     homepage = "https://github.com/DeterminateSystems/bootspec";
33     license = licenses.mit;
34     maintainers = teams.determinatesystems.members;
35     platforms = platforms.unix;
36   };