mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
Add iolanguage
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
let
|
||||
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
|
||||
daybook = pkgs.callPackage ../packages/daybook.nix {};
|
||||
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
|
||||
todoist = pkgs.callPackage ../packages/todoist {};
|
||||
unstable = import <nixos-unstable> {};
|
||||
in with pkgs;
|
||||
@@ -54,6 +55,7 @@ in with pkgs;
|
||||
unzip
|
||||
unrar
|
||||
p7zip
|
||||
zip
|
||||
] ++ [ # monitor
|
||||
htop
|
||||
iotop
|
||||
@@ -134,6 +136,7 @@ in with pkgs;
|
||||
haskellPackages.hindent
|
||||
haskellPackages.hoogle
|
||||
hlint
|
||||
iolanguage
|
||||
lua
|
||||
mypy
|
||||
nix-prefetch-git
|
||||
@@ -143,6 +146,7 @@ in with pkgs;
|
||||
python36Packages.black
|
||||
python36Packages.flake8
|
||||
racket-minimal
|
||||
ruby
|
||||
rustup
|
||||
scala
|
||||
shellcheck
|
||||
|
||||
@@ -10,8 +10,8 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ pandoc ];
|
||||
buildPhase = ''
|
||||
mkdir -p $out/share/man/man1
|
||||
pandoc --standalone --to man daybook.1.md -o $out/share/man/man1/daybook.1
|
||||
mkdir -p $out/man/man1
|
||||
pandoc --standalone --to man daybook.1.md -o $out/man/man1/daybook.1
|
||||
'';
|
||||
installPhase = ''
|
||||
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