nixpkgs/pkgs/by-name/md/mdsh/package.nix
zimbatm e3597ddd55 mdsh: 0.7.0 -> 0.8.0
And also move it to pkgs/by-name
2024-02-29 15:37:32 +01:00

23 lines
593 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "mdsh";
version = "0.8.0";
src = fetchFromGitHub {
owner = "zimbatm";
repo = "mdsh";
rev = "v${version}";
hash = "sha256-ammLbKEKXDSuZMr4DwPpcRSkKh7BzNC+4ZRCqTNNCQk=";
};
cargoHash = "sha256-wLHMccxk3ceZyGK27t5Kyal48yj9dQNgmEHjH9hR9Pc=";
meta = with lib; {
description = "Markdown shell pre-processor";
homepage = "https://github.com/zimbatm/mdsh";
license = with licenses; [ mit ];
maintainers = with maintainers; [ zimbatm ];
mainProgram = "mdsh";
};
}