nix-infra/common/pkgs/bin.nix

21 lines
484 B
Nix
Raw Normal View History

{ rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
name = "bin";
version = "3bbd64611f2a5dee91528976f6db17ff9844315a";
src = fetchFromGitHub {
owner = "WantGuns";
repo = name;
rev = version;
sha256 = "0lyx8n4rpnyd7c6yjx8aa3zwxlfwj3db0ykrxdvlsaw4wrqlfk7i";
};
cargoLock = { lockFile = "${src}/Cargo.lock"; };
meta = {
description = "highly opinionated, minimal pastebin";
homepage = "https://github.com/WantGuns/bin";
};
}