This commit is contained in:
Felix 2024-11-26 08:47:09 +01:00 committed by Xelef2000
parent 1b241d066c
commit b7018f0b25

View file

@ -3,13 +3,11 @@
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;
};
src = builtins.fetchGit {
url = "git@github.com:Xelef2000/ectool.git";
rev = "a734465bdd16e6b535b080aeafb72461cfadc3f2";
allRefs = true;
};
installPhase = ''
mkdir -p $out/bin
cp src/ectool $out/bin/ectool