diff options
author | Mostly Void <7rat13@gmail.com> | 2022-09-30 21:30:07 +0530 |
---|---|---|
committer | Mostly Void <7rat13@gmail.com> | 2022-09-30 21:30:07 +0530 |
commit | 711e539d2130b479c954c240479242172d42edba (patch) | |
tree | fe9c8d3e9e13138954b4292f45b668fa72a097e9 /pkgs/servers/microbin | |
parent | b881869205e82652b4c5ce7ebff3b3fea5a4817b (diff) |
microbin: init at 1.1.0
Diffstat (limited to 'pkgs/servers/microbin')
-rw-r--r-- | pkgs/servers/microbin/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/microbin/default.nix b/pkgs/servers/microbin/default.nix new file mode 100644 index 0000000000000..82e30b57c3c8f --- /dev/null +++ b/pkgs/servers/microbin/default.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchCrate +}: + +rustPlatform.buildRustPackage rec { + pname = "microbin"; + version = "1.1.0"; + + # GitHub sources do not have Cargo.lock + src = fetchCrate { + inherit pname version; + sha256 = "sha256-gfEO7Rrzc4KSnSXFrMmGLrTXuZIUCdumt2N429nHPi8="; + }; + + cargoSha256 = "sha256-k/5CG8bf5RuO6K9mEj6seqV6AuWMqatBRDaSS0guhi0="; + + meta = with lib; { + description = "A tiny, self-contained, configurable paste bin and URL shortener written in Rust"; + homepage = "https://github.com/szabodanika/microbin"; + license = licenses.bsd3; + maintainers = with maintainers; [ dit7ya ]; + }; +} |