chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / if / ifrextractor-rs / package.nix
blob2d525771d85fa46b537115418352044645f5f504
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "ifrextractor-rs";
8   version = "1.5.1";
10   src = fetchFromGitHub {
11     owner = "LongSoft";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-zpoOThjkL2Hu/ytxdqWcr2GXzN4Cm8hph7PJhSF5BlU=";
15   };
17   cargoLock = {
18     lockFile = ./Cargo.lock;
19   };
21   postPatch = ''
22     ln -s ${./Cargo.lock} Cargo.lock
23   '';
25   meta = with lib; {
26     description = "Rust utility to extract UEFI IFR data into human-readable text";
27     mainProgram = "ifrextractor";
28     homepage = "https://github.com/LongSoft/IFRExtractor-RS";
29     license = licenses.bsd2;
30     maintainers = with maintainers; [ jiegec ];
31   };