depot/third_party/nixpkgs/pkgs/tools/graphics/svgcleaner/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

27 lines
745 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=";
};
cargoHash = "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";
};
}