2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2018-10-02 04:02:49 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "openspin";
|
2018-10-02 04:02:49 +01:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Compiler for SPIN/PASM languages for Parallax Propeller MCU";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/parallaxinc/OpenSpin";
|
2018-10-02 04:02:49 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.redvers ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|