nixpkgs/pkgs/tools/graphics/svgcleaner/default.nix

24 lines
644 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform }:
2018-01-06 20:33:54 +00:00
rustPlatform.buildRustPackage rec {
name = "svgcleaner-${version}";
2018-01-06 20:33:54 +00:00
version = "0.9.2";
src = fetchFromGitHub {
owner = "RazrFalcon";
repo = "svgcleaner";
rev = "v${version}";
2018-01-06 20:33:54 +00:00
sha256 = "1jpnqsln37kkxz98vj7gly3c2170v6zamd876nc9nfl9vns41s0f";
};
cargoSha256 = "0kzrklw5nrzgvrfzq1mlnri06s19p4f3w38v39247baz2xd6j1n2";
meta = with stdenv.lib; {
description = "A tool for tidying and optimizing SVGs";
homepage = "https://github.com/RazrFalcon/svgcleaner";
2017-10-26 00:02:18 +01:00
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.mehandes ];
};
}