Loading pkgs/os-specific/linux/fw-ectool/default.nix +19 −14 Original line number Diff line number Diff line { stdenv , lib , fetchFromGitHub , fetchFromGitLab , cmake , pkg-config , hostname , libusb1 , libftdi1 }: stdenv.mkDerivation { pname = "fw-ectool"; version = "unstable-2022-12-03"; version = "0-unstable-2024-04-23"; src = fetchFromGitHub { src = fetchFromGitLab { domain = "gitlab.howett.net"; owner = "DHowett"; repo = "fw-ectool"; rev = "54c140399bbc3e6a3dce6c9f842727c4128367be"; hash = "sha256-2teJFz4zcA+USpbVPXMEIHLdmMLem8ik7YrmrSxr/n0="; repo = "ectool"; rev = "abdd574ebe3640047988cb928bb6789a15dd1390"; hash = "sha256-j0Z2Uo1LBXlHZVHPm4Xjx3LZaI6Qq0nSdViyC/CjWC8="; }; nativeBuildInputs = [ cmake pkg-config hostname ]; buildPhase = '' patchShebangs util make out=out utils ''; buildInputs = [ libusb1 libftdi1 ]; installPhase = '' install -D out/util/ectool $out/bin/ectool runHook preInstall install -Dm555 src/ectool "$out/bin/ectool" runHook postInstall ''; meta = with lib; { 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; maintainers = [ maintainers.mkg20001 ]; platforms = platforms.linux; Loading Loading
pkgs/os-specific/linux/fw-ectool/default.nix +19 −14 Original line number Diff line number Diff line { stdenv , lib , fetchFromGitHub , fetchFromGitLab , cmake , pkg-config , hostname , libusb1 , libftdi1 }: stdenv.mkDerivation { pname = "fw-ectool"; version = "unstable-2022-12-03"; version = "0-unstable-2024-04-23"; src = fetchFromGitHub { src = fetchFromGitLab { domain = "gitlab.howett.net"; owner = "DHowett"; repo = "fw-ectool"; rev = "54c140399bbc3e6a3dce6c9f842727c4128367be"; hash = "sha256-2teJFz4zcA+USpbVPXMEIHLdmMLem8ik7YrmrSxr/n0="; repo = "ectool"; rev = "abdd574ebe3640047988cb928bb6789a15dd1390"; hash = "sha256-j0Z2Uo1LBXlHZVHPm4Xjx3LZaI6Qq0nSdViyC/CjWC8="; }; nativeBuildInputs = [ cmake pkg-config hostname ]; buildPhase = '' patchShebangs util make out=out utils ''; buildInputs = [ libusb1 libftdi1 ]; installPhase = '' install -D out/util/ectool $out/bin/ectool runHook preInstall install -Dm555 src/ectool "$out/bin/ectool" runHook postInstall ''; meta = with lib; { 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; maintainers = [ maintainers.mkg20001 ]; platforms = platforms.linux; Loading