depot/third_party/nixpkgs/pkgs/tools/graphics/svgcleaner/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
743 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.gpl2;
maintainers = with maintainers; [ yuu ];
mainProgram = "svgcleaner";
};
}