mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-11 08:28:08 +02:00
adding ec tool
This commit is contained in:
parent
b3607cc1cc
commit
16f8ec380b
2 changed files with 26 additions and 0 deletions
25
cros-ectool.nix
Normal file
25
cros-ectool.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, pkgs, lib }:
|
||||
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "cros-ectool";
|
||||
nativeBuildInputs = with pkgs; [ cmake ninja pkg-config libusb1 libftdi1 ];
|
||||
src = pkgs.fetchFromGitLab {
|
||||
domain = "gitlab.howett.net";
|
||||
owner = "DHowett";
|
||||
repo = "ectool";
|
||||
rev = "39d64fb0e79e874cfe9877af69158fc2520b1a80";
|
||||
hash = lib.fakeHash;
|
||||
};
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp src/ectool $out/bin/ectool
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "ectool for ChromeOS devices";
|
||||
homepage = "https://gitlab.howett.net/DHowett/ectool";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ChocolateLoverRaj ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "ectool";
|
||||
};
|
||||
}
|
||||
|
|
@ -41,6 +41,7 @@
|
|||
gtk-doc
|
||||
gdb
|
||||
valgrind
|
||||
(pkgs.callPackage ./cros-ectool.nix { })
|
||||
|
||||
# Add libfprint with an override
|
||||
(pkgs.libfprint.overrideAttrs (oldAttrs: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue