2017-08-13 03:59:47 +02:00
|
|
|
{ stdenv, fetchgit, dmd, dub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-08-21 08:07:33 +02:00
|
|
|
name = "Literate-2018-08-20";
|
2017-08-27 08:25:05 +02:00
|
|
|
|
2017-08-13 03:59:47 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/zyedidia/Literate.git";
|
2018-08-21 08:07:33 +02:00
|
|
|
rev = "737567e49c9e12ac56222c147191da58ea1521e2";
|
|
|
|
sha256 = "19v8v66lv8ayg3irqkbk7ln5lkmgwpx4wgz8h3yr81arl40bbzqs";
|
2017-08-13 03:59:47 +02:00
|
|
|
};
|
2017-08-27 08:25:05 +02:00
|
|
|
|
|
|
|
buildInputs = [ dmd dub ];
|
|
|
|
|
|
|
|
installPhase = "install -D bin/lit $out/bin/lit";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A literate programming tool for any language";
|
|
|
|
homepage = http://literate.zbyedidia.webfactional.com/;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2017-08-13 03:59:47 +02:00
|
|
|
}
|