Skip to content

Commit

Permalink
polylux2pdfpc: init at 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotcorreia committed Jan 20, 2024
1 parent bf81e82 commit 75731aa
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/po/polylux2pdfpc/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
}:

let
dirname = "pdfpc-extractor";
in
rustPlatform.buildRustPackage rec {
pname = "polylux2pdfpc";
version = "0.3.1";

src = fetchFromGitHub {
owner = "andreasKroepelin";
repo = "polylux";
rev = "v${version}";
sparseCheckout = [ dirname ];
hash = "sha256-GefX7XsUfOMCp2THstSizRGpKAoq7yquVukWQjGuFgc=";
};
sourceRoot = "${src.name}/${dirname}";

cargoHash = "sha256-vmCaQxPkzz1ZVmtX7L3VeQb3kWhVqyPoQ1NrTSiJN9Y=";

passthru.updateScript = nix-update-script { };

meta = with lib; {
description = "A tool to make pdfpc interpret slides created by polylux correctly";
homepage = "https://github.com/andreasKroepelin/polylux/tree/main/pdfpc-extractor";
license = licenses.mit;
mainProgram = "polylux2pdfpc";
maintainers = [ maintainers.diogotcorreia ];
};
}

0 comments on commit 75731aa

Please sign in to comment.