Add hal-cia402
This commit is contained in:
27
packages/hal-cia402/default.nix
Normal file
27
packages/hal-cia402/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user