2017-08-13 02:59:47 +01:00
|
|
|
{ stdenv, fetchgit, dmd, dub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-10-18 01:01:45 +01:00
|
|
|
pname = "Literate";
|
|
|
|
version = "unstable-2020-09-02";
|
2017-08-27 07:25:05 +01:00
|
|
|
|
2017-08-13 02:59:47 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/zyedidia/Literate.git";
|
2020-10-18 01:01:45 +01:00
|
|
|
rev = "533991cca6ec7a608a778396d32d51b35182d944";
|
|
|
|
sha256 = "09h1as01z0fw0bj0kf1g9nlhvinya7sqq2x8qb6zmhvqqm6v4n49";
|
2017-08-13 02:59:47 +01:00
|
|
|
};
|
2017-08-27 07:25:05 +01:00
|
|
|
|
|
|
|
buildInputs = [ dmd dub ];
|
|
|
|
|
|
|
|
installPhase = "install -D bin/lit $out/bin/lit";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A literate programming tool for any language";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://literate.zbyedidia.webfactional.com/";
|
2017-08-27 07:25:05 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2017-08-13 02:59:47 +01:00
|
|
|
}
|