Files
nixpkgs/pkgs/by-name/sl/sla2pdf/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
804 B
Nix

{
lib,
python3,
fetchFromGitHub,
scribus,
}:
python3.pkgs.buildPythonApplication {
pname = "sla2pdf";
version = "0.0.1-unstable-2023-05-17";
pyproject = true;
src = fetchFromGitHub {
owner = "sla2pdf-team";
repo = "sla2pdf";
rev = "1524e6ca490da71eb201ff13bf32ef7206b0e4ef";
hash = "sha256-mvZ6Es8TLJmNwdacRJ3Gw5z0nI6xW1igz50yjIFBUds=";
};
build-system = [ python3.pkgs.setuptools ];
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ scribus ]}"
];
meta = {
description = "Convert Scribus SLA files to PDF from the command line";
homepage = "https://github.com/sla2pdf-team/sla2pdf";
license = with lib.licenses; [
cc-by-40
mpl20
];
maintainers = with lib.maintainers; [ ob7 ];
mainProgram = "sla2pdf";
};
}