depot/third_party/nixpkgs/pkgs/tools/graphics/svgcleaner/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

27 lines
747 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "SVGCleaner";
version = "unstable-2021-08-30";
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = pname;
rev = "575eac74400a5ac45c912b144f0c002aa4a0135f";
sha256 = "sha256-pRDRRVb8Lyna8X/PEjS9tS5dbG4g7vyMCU5AqPlpxec=";
};
cargoSha256 = "sha256-SZWmJGiCc/FevxMWJpa8xKVz/rbll52oNbFtqPpz74g=";
meta = with lib; {
description = "Clean and optimize SVG files from unnecessary data";
homepage = "https://github.com/RazrFalcon/SVGCleaner";
changelog = "https://github.com/RazrFalcon/svgcleaner/releases";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ yuu ];
mainProgram = "svgcleaner";
};
}