Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 26 lines 671 B view raw
1{ lib, stdenv, fetchFromGitHub, ldc, dub }: 2 3stdenv.mkDerivation { 4 pname = "Literate"; 5 version = "unstable-2021-01-22"; 6 7 src = fetchFromGitHub { 8 owner = "zyedidia"; 9 repo = "Literate"; 10 rev = "7004dffec0cff3068828514eca72172274fd3f7d"; 11 sha256 = "sha256-erNFe0+FlrslEENyO/YxYQbmec0voK31UWr5qVt+nXQ="; 12 fetchSubmodules = true; 13 }; 14 15 buildInputs = [ ldc dub ]; 16 17 installPhase = "install -D bin/lit $out/bin/lit"; 18 19 meta = with lib; { 20 description = "A literate programming tool for any language"; 21 homepage = "https://zyedidia.github.io/literate/"; 22 license = licenses.mit; 23 mainProgram = "lit"; 24 platforms = platforms.unix; 25 }; 26}