2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "openspin";
|
|
|
|
version = "unstable-2018-10-02";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "parallaxinc";
|
|
|
|
repo = "OpenSpin";
|
|
|
|
rev = "f3a587ed3e4f6a50b3c8d2022bbec5676afecedb";
|
|
|
|
sha256 = "1knkbzdanb60cwp7mggymkhd0167lh2sb1c00d1vhw7s0s1rj96n";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv build/openspin $out/bin/openspin
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Compiler for SPIN/PASM languages for Parallax Propeller MCU";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "openspin";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/parallaxinc/OpenSpin";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.redvers ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|