Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 25 lines 699 B view raw
1{ lib 2, rustPlatform 3, fetchCrate 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "microbin"; 8 version = "1.2.1"; 9 10 # The GitHub source is outdated 11 src = fetchCrate { 12 inherit pname version; 13 hash = "sha256-OLg0ejs9nanMNlY0lcnJ/RoRwefrXEaaROwx5aPx4u8="; 14 }; 15 16 cargoHash = "sha256-XdHP0XruqtyLyGbLHielnmTAc3ZgeIyyZnknO+5k4Xo="; 17 18 meta = with lib; { 19 description = "A tiny, self-contained, configurable paste bin and URL shortener written in Rust"; 20 homepage = "https://github.com/szabodanika/microbin"; 21 changelog = "https://github.com/szabodanika/microbin/releases/tag/v${version}"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ dit7ya figsoda ]; 24 }; 25}