Fix linuxcnc-ethercat
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, stdenv, linuxcnc, fetchGit }:
|
||||
{ config, lib, pkgs, stdenv, linuxcnc, etherlab }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
enableParalellBuilding = true;
|
||||
@@ -7,15 +7,17 @@ stdenv.mkDerivation rec {
|
||||
version = "5ad53da25b";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchGit {
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://git.dripco.eu/nic/linuxcnc-ethercat.git";
|
||||
ref = "master";
|
||||
rev = "5ad53da25bdb5633e39ae1b9b8bfa9e5acb10674";
|
||||
#ref = "refs/tags/1.9";
|
||||
#sha256 = lib.fakeSha256;
|
||||
sha256 = "SjFkcNl/4AlsMeIw5Hg9Kp5mIIV9KFUYodXV6lAi3/A=";
|
||||
};
|
||||
|
||||
buildInputs = [ linuxcnc ];
|
||||
nativeBuildInputs = with pkgs; [ which expat ];
|
||||
|
||||
buildInputs = [ linuxcnc etherlab.ethercat ];
|
||||
|
||||
installFlags = [ "DESTDIR=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "LinuxCNC ethercat interop";
|
||||
|
||||
Reference in New Issue
Block a user