Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 600 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "mdsh"; 9 version = "0.9.2"; 10 11 src = fetchFromGitHub { 12 owner = "zimbatm"; 13 repo = "mdsh"; 14 rev = "v${version}"; 15 hash = "sha256-DQdm6911SNzVxUXpZ4mMumjonThhhEJnM/3GjbCjyuY="; 16 }; 17 18 cargoHash = "sha256-JhrELBMGVtxJjyfPGcM6v8h1XJjdD+vOsYNfZ86Ras0="; 19 20 meta = with lib; { 21 description = "Markdown shell pre-processor"; 22 homepage = "https://github.com/zimbatm/mdsh"; 23 license = with licenses; [ mit ]; 24 maintainers = with maintainers; [ zimbatm ]; 25 mainProgram = "mdsh"; 26 }; 27}