nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / by-name / po / polylux2pdfpc / package.nix
bloba080b2b123e6874c4a06a22280e95151afde43d6
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   nix-update-script,
6 }:
8 let
9   dirname = "pdfpc-extractor";
11 rustPlatform.buildRustPackage rec {
12   pname = "polylux2pdfpc";
13   version = "0.3.1";
15   src = fetchFromGitHub {
16     owner = "andreasKroepelin";
17     repo = "polylux";
18     rev = "v${version}";
19     sparseCheckout = [ dirname ];
20     hash = "sha256-GefX7XsUfOMCp2THstSizRGpKAoq7yquVukWQjGuFgc=";
21   };
22   sourceRoot = "${src.name}/${dirname}";
24   cargoHash = "sha256-vmCaQxPkzz1ZVmtX7L3VeQb3kWhVqyPoQ1NrTSiJN9Y=";
26   passthru.updateScript = nix-update-script { };
28   meta = with lib; {
29     description = "Tool to make pdfpc interpret slides created by polylux correctly";
30     homepage = "https://github.com/andreasKroepelin/polylux/tree/main/pdfpc-extractor";
31     license = licenses.mit;
32     mainProgram = "polylux2pdfpc";
33     maintainers = [ maintainers.diogotcorreia ];
34   };