28 lines
622 B
Nix
28 lines
622 B
Nix
{ config, lib, pkgs, stdenv, linuxcnc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
enableParalellBuilding = true;
|
|
|
|
pname = "hal-cia402";
|
|
version = "e772757686";
|
|
name = "${pname}-${version}";
|
|
|
|
src = pkgs.fetchgit {
|
|
url = "https://git.dripco.eu/nic/hal-cia402.git";
|
|
rev = "e772757686a0fbee476b3d03c060e5cc9ee90e27";
|
|
sha256 = "SjFkcNl/4AlsMeIw5Hg9Kp5mIIV9KFUYodXV6lAi3/A=";
|
|
};
|
|
|
|
nativeBuildInputs = with pkgs; [ ];
|
|
|
|
buildInputs = [ linuxcnc ];
|
|
|
|
#installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
|
|
|
meta = with lib; {
|
|
description = "LinuxCNC CIA402 HAL component";
|
|
platforms = platforms.linux;
|
|
};
|
|
|
|
}
|