about summary refs log tree commit diff
path: root/pkgs/by-name/md
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2024-02-29 15:37:28 +0100
committerzimbatm <zimbatm@zimbatm.com>2024-02-29 15:37:32 +0100
commite3597ddd55aebec64c85f8464bac8d574693251b (patch)
tree9639b0fe8e92a64919ee6ef58772699b8ff5dd41 /pkgs/by-name/md
parent51363e5c0d9fc457f5ceb2df210be855e410ddb6 (diff)
mdsh: 0.7.0 -> 0.8.0
And also move it to pkgs/by-name
Diffstat (limited to 'pkgs/by-name/md')
-rw-r--r--pkgs/by-name/md/mdsh/package.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/by-name/md/mdsh/package.nix b/pkgs/by-name/md/mdsh/package.nix
new file mode 100644
index 0000000000000..e97b8eee51fef
--- /dev/null
+++ b/pkgs/by-name/md/mdsh/package.nix
@@ -0,0 +1,23 @@
+{ 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";
+  };
+}