2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchgit, dmd, dub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-11-15 13:44:38 +00:00
|
|
|
pname = "Literate";
|
|
|
|
version = "unstable-2020-09-02";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/zyedidia/Literate.git";
|
2020-11-15 13:44:38 +00:00
|
|
|
rev = "533991cca6ec7a608a778396d32d51b35182d944";
|
|
|
|
sha256 = "09h1as01z0fw0bj0kf1g9nlhvinya7sqq2x8qb6zmhvqqm6v4n49";
|
2020-04-24 23:36:52 +00: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;
|
|
|
|
};
|
|
|
|
}
|