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 {
2018-12-27 12:41:58 +00:00
name = "Literate-2018-12-23";
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";
2018-12-27 12:41:58 +00:00
rev = "99a0b7dd1ac451c2386094be06364df9386c3862";
sha256 = "0jvciajr33iz049m0yal41mz9p8nxmwkpq2mrfhg1ysx2zv3q3pm";
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";
homepage = http://literate.zbyedidia.webfactional.com/;
license = licenses.mit;
platforms = platforms.unix;
};
2017-08-13 02:59:47 +01:00
}