nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "mdsh";
5 version = "0.3.0";
6
7 src = fetchFromGitHub {
8 owner = "zimbatm";
9 repo = "mdsh";
10 rev = "v${version}";
11 sha256 = "1a9i6h8fzrrfzjyfxaps73lxgkz92k0bnmwbjbwdmiwci4qgi9ms";
12 };
13
14 cargoSha256 = "0rarpzfigyxr6s0ba13z00kvnms29qkjfbfjkay72mb6xn7f1059";
15 verifyCargoDeps = true;
16
17 meta = with stdenv.lib; {
18 description = "Markdown shell pre-processor";
19 homepage = https://github.com/zimbatm/mdsh;
20 license = with licenses; [ mit ];
21 maintainers = with maintainers; [ zimbatm ];
22 platforms = platforms.all;
23 };
24}