nix-config/pkgs/pr-tracker.nix

39 lines
887 B
Nix
Raw Normal View History

2024-07-19 07:01:37 +02:00
{
rustPlatform,
lib,
openssl,
pkg-config,
systemd,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
name = "pr-tracker";
src = fetchFromGitHub {
owner = "patrickdag";
repo = "pr-tracker";
2024-07-26 22:12:21 +02:00
rev = "1be91285705bfdb55656db0835820cb034fe5010";
hash = "sha256-lPhp3Jq6YM8fi0WS/fJrCHdfdQFs5vdErdE5X80WAHE=";
2024-07-19 07:01:37 +02:00
};
2024-07-26 22:12:21 +02:00
cargoHash = "sha256-9bhKtg2g5H4zGn7yVCjTazeXfeoKjtAKAlzkLkCraiw=";
2024-07-19 07:01:37 +02:00
2024-07-26 22:12:48 +02:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
systemd
];
2024-07-19 07:01:37 +02:00
meta = with lib; {
description = "Nixpkgs pull request channel tracker";
longDescription = ''
A web server that displays the path a Nixpkgs pull request will take
through the various release channels.
'';
platforms = platforms.linux;
license = licenses.agpl3Plus;
2024-07-26 22:12:48 +02:00
maintainers = with maintainers; [ patrickdag ];
2024-07-19 07:01:37 +02:00
mainProgram = "pr-tracker";
};
}