diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2018-10-17 03:18:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-17 03:18:03 +0200 |
commit | 9a3e4186644da4029c47335db4fd1b89e7b88880 (patch) | |
tree | b426a7857f923f0b5d175c1d2ff3e4bc74fdc585 | |
parent | e443bbf6fda67e05364d4c8ffeb337dbd28fd60a (diff) | |
parent | 19e7ae0fac348204ee6dedd85e9f1819e4ff4758 (diff) |
Merge pull request #46753 from redvers/add/openspin
openspin: init at 2018-10-02
-rw-r--r-- | pkgs/development/compilers/openspin/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/compilers/openspin/default.nix b/pkgs/development/compilers/openspin/default.nix new file mode 100644 index 0000000000000..71bda3e03d96d --- /dev/null +++ b/pkgs/development/compilers/openspin/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "openspin-${version}"; + 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"; + homepage = https://github.com/parallaxinc/OpenSpin; + license = licenses.mit; + maintainers = [ maintainers.redvers ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6bfe3781f47ea..2197b19a804f1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6992,6 +6992,8 @@ with pkgs; openshot-qt = libsForQt5.callPackage ../applications/video/openshot-qt { }; + openspin = callPackage ../development/compilers/openspin { }; + oraclejdk = pkgs.jdkdistro true false; oraclejdk8 = pkgs.oraclejdk8distro true false; |