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