{ lib, rustPlatform, fetchurl, makeWrapper, pkg-config , openssl, systemd, gitMinimal }: rustPlatform.buildRustPackage rec { pname = "pr-tracker"; version = "1.0.0"; src = fetchurl { url = "https://git.qyliss.net/pr-tracker/snapshot/pr-tracker-${version}.tar.xz"; sha256 = "0faj2ir0m4cs6y10xkqc9xvrqkv9w2j4z4yhv354dbfchsg127jk"; }; cargoSha256 = "1sfc08m8vxvd07p321nh4bmnsf7xfxq8kfbq8inm9yz2fh8f84m9"; nativeBuildInputs = [ makeWrapper pkg-config ]; buildInputs = [ openssl systemd ]; strictDeps = true; postInstall = '' wrapProgram $out/bin/pr-tracker \ --prefix PATH : ${lib.makeBinPath [ gitMinimal ]} ''; meta = with lib; { homepage = "https://git.qyliss.net/pr-tracker/about/"; description = "Nixpkgs pull request channel tracker"; maintainers = with maintainers; [ qyliss ]; license = licenses.agpl3Plus; # with linking exception for OpenSSL platforms = platforms.unix; }; }