nixpkgs/pkgs/tools/graphics/svgcleaner/default.nix
Benjamin Hipple a49d7187ae svgcleaner: upgrade cargo fetcher and cargoSha256
Infra upgrade as part of #79975; no functional change expected.
2020-02-27 21:58:56 -05:00

24 lines
634 B
Nix

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "svgcleaner";
version = "0.9.2";
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = "svgcleaner";
rev = "v${version}";
sha256 = "1jpnqsln37kkxz98vj7gly3c2170v6zamd876nc9nfl9vns41s0f";
};
cargoSha256 = "1xhwlsq9b6cnafbapm5jf48zqdx5k2vxlr701lh5f8nqvd7nxi6g";
meta = with stdenv.lib; {
description = "A tool for tidying and optimizing SVGs";
homepage = "https://github.com/RazrFalcon/svgcleaner";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.mehandes ];
};
}