Compare commits
3 Commits
6650d64114
...
26d56219c2
| Author | SHA1 | Date | |
|---|---|---|---|
| 26d56219c2 | |||
| 3205f2d806 | |||
| b2a8cf8177 |
@@ -1,7 +1,7 @@
|
|||||||
{ config, lib, pkgs, stdenv, linuxcnc }:
|
{ config, lib, pkgs, stdenv, linuxcnc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
enableParalellBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
pname = "hal-cia402";
|
pname = "hal-cia402";
|
||||||
version = "e772757686";
|
version = "e772757686";
|
||||||
@@ -10,14 +10,19 @@ stdenv.mkDerivation rec {
|
|||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = "https://git.dripco.eu/nic/hal-cia402.git";
|
url = "https://git.dripco.eu/nic/hal-cia402.git";
|
||||||
rev = "e772757686a0fbee476b3d03c060e5cc9ee90e27";
|
rev = "e772757686a0fbee476b3d03c060e5cc9ee90e27";
|
||||||
sha256 = "SjFkcNl/4AlsMeIw5Hg9Kp5mIIV9KFUYodXV6lAi3/A=";
|
sha256 = "qna8a1C/WXNudyRXxibTGai3D48nRWRyprlXZYM2rxg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [ ];
|
nativeBuildInputs = with pkgs; [ ];
|
||||||
|
|
||||||
buildInputs = [ linuxcnc ];
|
buildInputs = [ linuxcnc ];
|
||||||
|
|
||||||
#installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
installPhase = ''
|
||||||
|
halcompile --compile cia402.comp
|
||||||
|
|
||||||
|
mkdir -p $out/lib/linuxcnc/modules/
|
||||||
|
cp cia402.so $out/lib/linuxcnc/modules/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "LinuxCNC CIA402 HAL component";
|
description = "LinuxCNC CIA402 HAL component";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ config, lib, pkgs, stdenv, linuxcnc, etherlab }:
|
{ config, lib, pkgs, stdenv, linuxcnc, etherlab }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
enableParalellBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
pname = "linuxcnc-ethercat";
|
pname = "linuxcnc-ethercat";
|
||||||
version = "5ad53da25b";
|
version = "5ad53da25b";
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
enableParalellBuilding = true;
|
enableParallelBuilding = true;
|
||||||
pname = "linuxcnc";
|
pname = "linuxcnc";
|
||||||
version = "2.9-git";
|
version = "2.9-git";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|||||||
Reference in New Issue
Block a user