nixpkgs/pkgs/development/tools/literate-programming/Literate/default.nix

23 lines
597 B
Nix
Raw Normal View History

2017-08-13 02:59:47 +01:00
{ stdenv, fetchgit, dmd, dub }:
stdenv.mkDerivation {
2017-08-27 07:25:05 +01:00
name = "Literate-2017-05-28";
2017-08-13 02:59:47 +01:00
src = fetchgit {
url = "https://github.com/zyedidia/Literate.git";
rev = "23928d64bb19b5101dbcc794da6119beaf59f679";
sha256 = "094lramvacarzj8443ns18zyv7dxnivwi7kdk5xi5r2z4gx338iq";
};
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";
homepage = http://literate.zbyedidia.webfactional.com/;
license = licenses.mit;
platforms = platforms.unix;
};
2017-08-13 02:59:47 +01:00
}