framework-system-tools: init at unstable-2023-11-14 (#267507)

This commit is contained in:
Finn Behrens 2023-12-03 11:15:10 +01:00 committed by GitHub
parent 3ff9ed03fb
commit 760c986408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1357 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,45 @@
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, udev
}:
let
rev = "491a587342a5d79366a25d803b7065169314279c";
in rustPlatform.buildRustPackage {
pname = "framework-system-tools";
version = "unstable-2023-11-14";
src = fetchFromGitHub {
owner = "FrameworkComputer";
repo = "framework-system";
inherit rev;
hash = "sha256-qDtW4DvY19enCfkOBRaako9ngAkmSreoNWlL4QE2FAk=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
udev
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"smbios-lib-0.9.1" = "sha256-3L8JaA75j9Aaqg1z9lVs61m6CvXDeQprEFRq+UDCHQo=";
"uefi-0.20.0" = "sha256-/3WNHuc27N89M7s+WT64SHyFOp7YRyzz6B+neh1vejY=";
};
};
meta = with lib; {
description = "Rust libraries and tools to interact with the framework system.";
homepage = "https://github.com/FrameworkComputer/framework-system";
mainProgram = "framework_tool";
license = licenses.bsd3;
maintainers = with maintainers; [ kloenk leona ];
platforms = [ "x86_64-linux" ];
};
}