Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
868 B
Nix
Raw Permalink Normal View History

2024-01-12 16:12:05 +01:00
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
let
dirname = "pdfpc-extractor";
in
rustPlatform.buildRustPackage rec {
pname = "polylux2pdfpc";
2025-02-05 12:01:26 +00:00
version = "0.4.0";
2024-01-12 16:12:05 +01:00
src = fetchFromGitHub {
owner = "polylux-typ";
2024-01-12 16:12:05 +01:00
repo = "polylux";
tag = "v${version}";
2024-01-12 16:12:05 +01:00
sparseCheckout = [ dirname ];
2025-02-05 12:01:26 +00:00
hash = "sha256-41FgRejonvVTmE89WGm0Cqumm8lb6kkfxtkWV74UKJA=";
2024-01-12 16:12:05 +01:00
};
sourceRoot = "${src.name}/${dirname}";
cargoHash = "sha256-9nA18f+Dwps45M/OIY0jtx7QgyJDTVUsPndFdNBKHCQ=";
2024-01-12 16:12:05 +01:00
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";
2024-01-12 16:12:05 +01:00
license = licenses.mit;
mainProgram = "polylux2pdfpc";
maintainers = [ maintainers.diogotcorreia ];
};
}