Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
868 B
Nix
36 lines
868 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
let
|
|
dirname = "pdfpc-extractor";
|
|
in
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "polylux2pdfpc";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "polylux-typ";
|
|
repo = "polylux";
|
|
tag = "v${version}";
|
|
sparseCheckout = [ dirname ];
|
|
hash = "sha256-41FgRejonvVTmE89WGm0Cqumm8lb6kkfxtkWV74UKJA=";
|
|
};
|
|
sourceRoot = "${src.name}/${dirname}";
|
|
|
|
cargoHash = "sha256-9nA18f+Dwps45M/OIY0jtx7QgyJDTVUsPndFdNBKHCQ=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Tool to make pdfpc interpret slides created by polylux correctly";
|
|
homepage = "https://github.com/polylux-typ/polylux/tree/main/pdfpc-extractor";
|
|
license = licenses.mit;
|
|
mainProgram = "polylux2pdfpc";
|
|
maintainers = [ maintainers.diogotcorreia ];
|
|
};
|
|
}
|