Files
linuxcnc-nix/packages/linuxcnc-ethercat/default.nix
2023-09-27 18:56:37 +03:00

28 lines
671 B
Nix

{ config, lib, pkgs, stdenv, linuxcnc, etherlab }:
stdenv.mkDerivation rec {
enableParallelBuilding = true;
pname = "linuxcnc-ethercat";
version = "5ad53da25b";
name = "${pname}-${version}";
src = pkgs.fetchgit {
url = "https://git.dripco.eu/nic/linuxcnc-ethercat.git";
rev = "5ad53da25bdb5633e39ae1b9b8bfa9e5acb10674";
sha256 = "SjFkcNl/4AlsMeIw5Hg9Kp5mIIV9KFUYodXV6lAi3/A=";
};
nativeBuildInputs = with pkgs; [ which expat ];
buildInputs = [ linuxcnc etherlab.ethercat ];
installFlags = [ "DESTDIR=${placeholder "out"}" ];
meta = with lib; {
description = "LinuxCNC ethercat interop";
platforms = platforms.linux;
};
}