diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-01-20 13:33:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 13:33:44 +0100 |
commit | b914a998ec98a873dcb05e3b33091f709acad1a4 (patch) | |
tree | 498c09f687334487b79b8b693d899c741d3e8c24 /pkgs/by-name/po | |
parent | 68b63c306a6583d41d03207fb3c8b08abc56c262 (diff) | |
parent | 75731aa67f67c6ca186f807f777e0954e450f70f (diff) |
Merge pull request #280525 from diogotcorreia/polylux2pdfpc
polylux2pdfpc: init at 0.3.1
Diffstat (limited to 'pkgs/by-name/po')
-rw-r--r-- | pkgs/by-name/po/polylux2pdfpc/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/po/polylux2pdfpc/package.nix b/pkgs/by-name/po/polylux2pdfpc/package.nix new file mode 100644 index 0000000000000..e0ab8318f69d5 --- /dev/null +++ b/pkgs/by-name/po/polylux2pdfpc/package.nix @@ -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 ]; + }; +} |