petersweb-infra/nixos/pullomatic/default.nix
2026-05-04 05:27:10 -08:00

43 lines
996 B
Nix

{
lib,
pkgs,
rustPlatform,
specialArgs,
}:
rustPlatform.buildRustPackage rec {
pname = "pullomatic";
version = "1.0.0";
src = pkgs.fetchFromGitHub {
owner = "fooker";
repo = pname;
rev = "master";
hash = "sha256-QrSkmbH1yuIrxNnZCvFdseKzjaerEw8rTG49tXmp92I=";
};
cargoBuildFlags = ["--bin" "pullomatic"];
cargoHash = "sha256-oo0M4AlraRw2LRYzvhlbjgvSolZcuRz+2WruesEWltk=";
nativeBuildInputs = with pkgs; [
pkg-config
(pkgs.rust-bin.stable.latest.default or null) # if using rust-overlay
];
buildInputs = with pkgs; [
openssl
];
meta = {
description = "A tool for automating GitHub pulls";
homepage = "https://github.com/fooker/pullomatic";
license = lib.licenses.unlicense;
maintainers = [
{
name = "Philip Peterson";
email = "peterson@sent.com";
}
];
};
}