-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #280525 from diogotcorreia/polylux2pdfpc
polylux2pdfpc: init at 0.3.1
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4687,6 +4687,16 @@ | |
githubId = 32810399; | ||
name = "Diffumist"; | ||
}; | ||
diogotcorreia = { | ||
name = "Diogo Correia"; | ||
email = "[email protected]"; | ||
matrix = "@dtc:diogotc.com"; | ||
github = "diogotcorreia"; | ||
githubId = 7467891; | ||
keys = [{ | ||
fingerprint = "111F 91B7 5F61 99D8 985B 4C70 12CF 31FD FF17 2B77"; | ||
}]; | ||
}; | ||
diogox = { | ||
name = "Diogo Xavier"; | ||
github = "diogox"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |