2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2019-02-17 10:18:04 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 11:41:23 +00:00
|
|
|
pname = "mdsh";
|
2024-06-19 00:26:05 +00:00
|
|
|
version = "0.9.0";
|
2019-02-17 10:18:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zimbatm";
|
|
|
|
repo = "mdsh";
|
|
|
|
rev = "v${version}";
|
2024-06-19 00:26:05 +00:00
|
|
|
hash = "sha256-vN8nFhbZgJIhFuFET9IOmdxT7uBKq/9X+TO9lZsDw6g=";
|
2019-02-17 10:18:04 +00:00
|
|
|
};
|
|
|
|
|
2024-06-19 00:26:05 +00:00
|
|
|
cargoHash = "sha256-0D1RSUJw7fszc9d4nrp+zCzr9l0xF4Ed8DbK5/O5bEY=";
|
2019-02-17 10:18:04 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2019-02-17 10:18:04 +00:00
|
|
|
description = "Markdown shell pre-processor";
|
2020-03-05 08:39:15 +00:00
|
|
|
homepage = "https://github.com/zimbatm/mdsh";
|
2019-02-17 10:18:04 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
2023-08-07 15:08:52 +00:00
|
|
|
mainProgram = "mdsh";
|
2019-02-17 10:18:04 +00:00
|
|
|
};
|
|
|
|
}
|