nix-infra/common/pkgs/bin.nix

23 lines
508 B
Nix
Raw Normal View History

2023-06-20 15:19:03 +00:00
{ pkgs }:
2023-06-20 15:19:03 +00:00
pkgs.rustPlatform.buildRustPackage rec {
2023-04-22 13:12:30 +00:00
pname = "bin";
version = "3bbd64611f2a5dee91528976f6db17ff9844315a";
2023-06-20 15:19:03 +00:00
src = pkgs.fetchFromGitHub {
owner = "WantGuns";
2023-04-22 13:12:30 +00:00
repo = pname;
rev = version;
sha256 = "0lyx8n4rpnyd7c6yjx8aa3zwxlfwj3db0ykrxdvlsaw4wrqlfk7i";
};
cargoLock = { lockFile = "${src}/Cargo.lock"; };
2023-06-20 15:19:03 +00:00
nativeBuildInputs = [ pkgs.git ];
2023-06-01 17:07:54 +00:00
meta = {
description = "highly opinionated, minimal pastebin";
homepage = "https://github.com/WantGuns/bin";
};
}