fw-ectool: unstable-2022-12-03 -> 0-unstable-2023-12-15, switch upstream
This commit is contained in:
parent
ffda970d45
commit
97db26f1cf
@ -1,38 +1,43 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitLab
|
||||||
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, hostname
|
, libusb1
|
||||||
|
, libftdi1
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "fw-ectool";
|
pname = "fw-ectool";
|
||||||
version = "unstable-2022-12-03";
|
version = "0-unstable-2023-12-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
|
domain = "gitlab.howett.net";
|
||||||
owner = "DHowett";
|
owner = "DHowett";
|
||||||
repo = "fw-ectool";
|
repo = "ectool";
|
||||||
rev = "54c140399bbc3e6a3dce6c9f842727c4128367be";
|
rev = "3ebe7b8b713b2ebfe2ce92d48fd8d044276b2879";
|
||||||
hash = "sha256-2teJFz4zcA+USpbVPXMEIHLdmMLem8ik7YrmrSxr/n0=";
|
hash = "sha256-s6PrFPAL+XJAENqLw5oJqFmAf11tHOJ8h3F5l3pOlZ4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
hostname
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildInputs = [
|
||||||
patchShebangs util
|
libusb1
|
||||||
make out=out utils
|
libftdi1
|
||||||
'';
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D out/util/ectool $out/bin/ectool
|
runHook preInstall
|
||||||
|
install -Dm555 src/ectool "$out/bin/ectool"
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "EC-Tool adjusted for usage with framework embedded controller";
|
description = "EC-Tool adjusted for usage with framework embedded controller";
|
||||||
homepage = "https://github.com/DHowett/framework-ec";
|
homepage = "https://gitlab.howett.net/DHowett/ectool";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.mkg20001 ];
|
maintainers = [ maintainers.mkg20001 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
Reference in New Issue
Block a user