2016-02-14 12:56:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2016-08-13 02:17:09 +02:00
|
|
|
name = "M33-Linux-2016-06-23";
|
2016-02-14 12:56:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "donovan6000";
|
|
|
|
repo = "M3D-Linux";
|
2016-08-13 02:17:09 +02:00
|
|
|
rev = "5c1b90c13d260771dac970b49fdc9f840fee5f4a";
|
|
|
|
sha256 = "1bvbclkyfcv23vxb4s1zssvygklks1nhp4iwi4v90c1fvyz0356f";
|
2016-02-14 12:56:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
2016-08-13 02:17:09 +02:00
|
|
|
install -Dm755 m33-linux $out/bin/m33-linux
|
|
|
|
install -Dm755 90-micro-3d-local.rules $out/lib/udev/rules.d/90-micro-3d-local.rules
|
2016-02-14 12:56:44 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-11-23 15:49:18 +01:00
|
|
|
homepage = "https://github.com/donovan6000/M3D-Linux";
|
2016-02-14 12:56:44 +01:00
|
|
|
description = "A Linux program that can communicate with the Micro 3D printer";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|