mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
framework-tool: init at unstable-2023-11-14
This commit is contained in:
parent
4e90423254
commit
d39efecc0d
1312
pkgs/by-name/fr/framework-tool/Cargo.lock
generated
Normal file
1312
pkgs/by-name/fr/framework-tool/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
37
pkgs/by-name/fr/framework-tool/package.nix
Normal file
37
pkgs/by-name/fr/framework-tool/package.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, udev }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "framework-tool";
|
||||
|
||||
# Latest stable version 0.1.0 has an ssh:// git URL in Cargo.lock,
|
||||
# so use unstable for now
|
||||
version = "unstable-2023-11-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FrameworkComputer";
|
||||
repo = "framework-system";
|
||||
rev = "491a587342a5d79366a25d803b7065169314279c";
|
||||
hash = "sha256-qDtW4DvY19enCfkOBRaako9ngAkmSreoNWlL4QE2FAk=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"smbios-lib-0.9.1" =
|
||||
"sha256-3L8JaA75j9Aaqg1z9lVs61m6CvXDeQprEFRq+UDCHQo=";
|
||||
"uefi-0.20.0" = "sha256-/3WNHuc27N89M7s+WT64SHyFOp7YRyzz6B+neh1vejY=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ udev ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Swiss army knife for Framework laptops";
|
||||
homepage = "https://github.com/FrameworkComputer/framework-system";
|
||||
license = licenses.bsd3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
mainProgram = "framework_tool";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue