mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
Add iolanguage
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
let
|
let
|
||||||
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
|
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
|
||||||
daybook = pkgs.callPackage ../packages/daybook.nix {};
|
daybook = pkgs.callPackage ../packages/daybook.nix {};
|
||||||
|
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
|
||||||
todoist = pkgs.callPackage ../packages/todoist {};
|
todoist = pkgs.callPackage ../packages/todoist {};
|
||||||
unstable = import <nixos-unstable> {};
|
unstable = import <nixos-unstable> {};
|
||||||
in with pkgs;
|
in with pkgs;
|
||||||
@@ -54,6 +55,7 @@ in with pkgs;
|
|||||||
unzip
|
unzip
|
||||||
unrar
|
unrar
|
||||||
p7zip
|
p7zip
|
||||||
|
zip
|
||||||
] ++ [ # monitor
|
] ++ [ # monitor
|
||||||
htop
|
htop
|
||||||
iotop
|
iotop
|
||||||
@@ -134,6 +136,7 @@ in with pkgs;
|
|||||||
haskellPackages.hindent
|
haskellPackages.hindent
|
||||||
haskellPackages.hoogle
|
haskellPackages.hoogle
|
||||||
hlint
|
hlint
|
||||||
|
iolanguage
|
||||||
lua
|
lua
|
||||||
mypy
|
mypy
|
||||||
nix-prefetch-git
|
nix-prefetch-git
|
||||||
@@ -143,6 +146,7 @@ in with pkgs;
|
|||||||
python36Packages.black
|
python36Packages.black
|
||||||
python36Packages.flake8
|
python36Packages.flake8
|
||||||
racket-minimal
|
racket-minimal
|
||||||
|
ruby
|
||||||
rustup
|
rustup
|
||||||
scala
|
scala
|
||||||
shellcheck
|
shellcheck
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ stdenv.mkDerivation {
|
|||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ pandoc ];
|
buildInputs = [ pandoc ];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p $out/share/man/man1
|
mkdir -p $out/man/man1
|
||||||
pandoc --standalone --to man daybook.1.md -o $out/share/man/man1/daybook.1
|
pandoc --standalone --to man daybook.1.md -o $out/man/man1/daybook.1
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|||||||
23
packages/iolanguage.nix
Normal file
23
packages/iolanguage.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, cmake, python3, fetchFromGitHub }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "2017.09.06";
|
||||||
|
name = "iolanguage-${version}";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "IoLanguage";
|
||||||
|
repo = "io";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "07rg1zrz6i6ghp11cm14w7bbaaa1s8sb0y5i7gr2sds0ijlpq223";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
buildInputs = [ cmake python3 ];
|
||||||
|
preBuild = "mkdir -p build && cd build";
|
||||||
|
buildPhase = ''
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=$out/ ..
|
||||||
|
make all
|
||||||
|
'';
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://iolanguage.org/;
|
||||||
|
description = "Io programming language. Inspired by Self, Smalltalk and LISP.";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user