mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
Merge pull request #193734 from dit7ya/microbin
microbin: init at 1.1.0
This commit is contained in:
commit
d3853783ed
24
pkgs/servers/microbin/default.nix
Normal file
24
pkgs/servers/microbin/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -8997,6 +8997,8 @@ with pkgs;
|
||||
|
||||
mfoc = callPackage ../tools/security/mfoc { };
|
||||
|
||||
microbin = callPackage ../servers/microbin { };
|
||||
|
||||
microdnf = callPackage ../tools/package-management/microdnf { };
|
||||
|
||||
microplane = callPackage ../tools/misc/microplane { };
|
||||
|
Loading…
Reference in New Issue
Block a user