Unverified Commit 1718372c authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

framework-tool: 0.1.0-unstable-2024-06-14 -> 0.2.1 (#386187)

parents d03162cd a2061eef
Loading
Loading
Loading
Loading
+0 −1390

File deleted.

Preview size limit exceeded, changes collapsed.

+9 −17
Original line number Diff line number Diff line
@@ -6,37 +6,29 @@
  udev,
}:

rustPlatform.buildRustPackage {
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 = "0.1.0-unstable-2024-06-14";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "FrameworkComputer";
    repo = "framework-system";
    rev = "705805ce3fd9acf23ae4e310227ca62b7d686a69";
    hash = "sha256-crMA0jdCGNDvwTzYXiDpz+1O2Tk84j5cLcQAaplCDFs=";
    tag = "v${version}";
    hash = "sha256-wWattGkBn8WD3vfThlQnotQB4Q/C00AZT1BesoHcCyg=";
  };

  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "smbios-lib-0.9.1" = "sha256-3L8JaA75j9Aaqg1z9lVs61m6CvXDeQprEFRq+UDCHQo=";
      "uefi-0.20.0" = "sha256-/3WNHuc27N89M7s+WT64SHyFOp7YRyzz6B+neh1vejY=";
    };
  };
  useFetchCargoVendor = true;
  cargoHash = "sha256-kmrgtYXo2Xh4mBk64VE83UJdITHgA/y3VeBRE8gDUTY=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ udev ];

  meta = with lib; {
  meta = {
    description = "Swiss army knife for Framework laptops";
    homepage = "https://github.com/FrameworkComputer/framework-system";
    license = licenses.bsd3;
    license = lib.licenses.bsd3;
    platforms = [ "x86_64-linux" ];
    maintainers = with maintainers; [
    maintainers = with lib.maintainers; [
      nickcao
      leona
      kloenk