lock: 1.3.0 -> 1.3.4 (#364295)
[NixPkgs.git] / pkgs / by-name / ue / uefisettings / package.nix
blobd93f9650dc8fc66e2ff4aecb5a49f413676193a7
2   fetchFromGitHub,
3   lib,
4   rustPlatform,
5 }:
7 rustPlatform.buildRustPackage {
8   name = "uefisettings";
9   version = "0-unstable-2024-03-26";
11   src = fetchFromGitHub {
12     owner = "linuxboot";
13     repo = "uefisettings";
14     rev = "f90aed759b9c2217bea336e37ab5282616ece390";
15     hash = "sha256-Cik8uVdzhMmgXfx23axkUJBg8zd5afMgYvluN0BJsdo=";
16   };
18   cargoHash = "sha256-FCQ/1E6SZyVOOAlpqyaDWEZx0y0Wk3Caosvr48VamAA=";
20   checkFlags = [
21     # Expects filesystem access to /proc and rootfs
22     "--skip=hii::efivarfs::tests::test_get_current_mount_flags_for_proc"
23     "--skip=hii::efivarfs::tests::test_get_current_mount_flags_for_root"
24     # Expects FHS
25     "--skip=ilorest::blobstore::Transport"
26     "--skip=ilorest::chif::IloRestChif"
27   ];
29   meta = with lib; {
30     description = "CLI tool to read/get/extract and write/change/modify BIOS/UEFI settings";
31     homepage = "https://github.com/linuxboot/uefisettings";
32     license = with licenses; [ bsd3 ];
33     mainProgram = "uefisettings";
34     maintainers = with maintainers; [ surfaceflinger ];
35     platforms = platforms.linux;
36   };