mirror of
https://github.com/kmein/niveum
synced 2026-03-18 02:51:08 +01:00
Add iolanguage
This commit is contained in:
@@ -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