Skip to content

Instantly share code, notes, and snippets.

@andrewchambers
Last active May 28, 2019 23:53
Show Gist options
  • Save andrewchambers/a13e28aa644770acff756200be9d975b to your computer and use it in GitHub Desktop.
Save andrewchambers/a13e28aa644770acff756200be9d975b to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromGitHub, janet, pkgconfig, readline80}:
stdenv.mkDerivation rec {
pname = "janetsh";
version = "0.0.1";
src = fetchFromGitHub {
owner = "andrewchambers";
repo = "janetsh";
rev = "72253ce31bee9974a2fee232cce5d049b2ade215";
sha256 = "0zric24qgcfvpsflkz15bdvxgqix1hzibrilq74s5nsv4ildq9dy";
};
doCheck = false;
preConfigure = ''
patchShebangs ./support/do
'';
meta = with stdenv.lib; {
description = "Janetsh shell";
homepage = https://github.com/andrewchambers/janetsh/;
license = stdenv.lib.licenses.mit;
platforms = platforms.all;
maintainers = with stdenv.lib.maintainers; [ andrewchambers ];
};
buildInputs = [ janet pkgconfig readline80 ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment