2021-03-19 17:17:44 +00:00
|
|
|
{ lib, stdenv, fetchgit, ldc, dub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-11-15 13:44:38 +00:00
|
|
|
pname = "Literate";
|
2021-03-19 17:17:44 +00:00
|
|
|
version = "unstable-2021-01-22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/zyedidia/Literate.git";
|
2021-03-19 17:17:44 +00:00
|
|
|
rev = "7004dffec0cff3068828514eca72172274fd3f7d";
|
|
|
|
sha256 = "0x4xgrdskybaa7ssv81grmwyc1k167v3nwj320jvp5l59xxlbcvs";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
buildInputs = [ ldc dub ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = "install -D bin/lit $out/bin/lit";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A literate programming tool for any language";
|
|
|
|
homepage = "http://literate.zbyedidia.webfactional.com/";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|