Loading pkgs/tools/graphics/svg2pdf/default.nix +10 −10 Original line number Diff line number Diff line { lib , rustPlatform , fetchCrate , fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "svg2pdf"; version = "0.6.0"; # This cargo package is usually a library, hence it does not track a # Cargo.lock by default so we use fetchCrate src = fetchCrate { inherit version pname; sha256 = "sha256-RZpJ2HNqO1y6ZQjxdd7LEH2yS5QyjSqQFuyU4BwFA+4="; version = "0.7.0"; src = fetchFromGitHub { owner = "typst"; repo = "svg2pdf"; rev = "v${version}"; hash = "sha256-X5L3UA/BJw8M2G35biCQjExYe68fB14meW4ILPEyesc="; }; cargoHash = "sha256-wJr1K/PUewScGjVLBmg9lpDKyn5CIUK2zac9/+JvnbE="; cargoHash = "sha256-zR4nKzbbCzSM1JVxj3nk6yQAfpPmfVQGabkU7lzLAi0="; buildFeatures = [ "cli" ]; doCheck = true; meta = with lib; { description = "Convert SVG files to PDFs"; homepage = "https://github.com/typst/svg2pdf"; changelog = "https://github.com/typst/svg2pdf/releases/tag/${src.rev}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ doronbehar ]; }; Loading Loading
pkgs/tools/graphics/svg2pdf/default.nix +10 −10 Original line number Diff line number Diff line { lib , rustPlatform , fetchCrate , fetchFromGitHub }: rustPlatform.buildRustPackage rec { pname = "svg2pdf"; version = "0.6.0"; # This cargo package is usually a library, hence it does not track a # Cargo.lock by default so we use fetchCrate src = fetchCrate { inherit version pname; sha256 = "sha256-RZpJ2HNqO1y6ZQjxdd7LEH2yS5QyjSqQFuyU4BwFA+4="; version = "0.7.0"; src = fetchFromGitHub { owner = "typst"; repo = "svg2pdf"; rev = "v${version}"; hash = "sha256-X5L3UA/BJw8M2G35biCQjExYe68fB14meW4ILPEyesc="; }; cargoHash = "sha256-wJr1K/PUewScGjVLBmg9lpDKyn5CIUK2zac9/+JvnbE="; cargoHash = "sha256-zR4nKzbbCzSM1JVxj3nk6yQAfpPmfVQGabkU7lzLAi0="; buildFeatures = [ "cli" ]; doCheck = true; meta = with lib; { description = "Convert SVG files to PDFs"; homepage = "https://github.com/typst/svg2pdf"; changelog = "https://github.com/typst/svg2pdf/releases/tag/${src.rev}"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ doronbehar ]; }; Loading