2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2017-10-25 17:23:39 +01:00
|
|
|
|
2018-01-06 20:33:54 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "svgcleaner";
|
2018-01-06 20:33:54 +00:00
|
|
|
version = "0.9.2";
|
2017-10-25 17:23:39 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "RazrFalcon";
|
|
|
|
repo = "svgcleaner";
|
|
|
|
rev = "v${version}";
|
2018-01-06 20:33:54 +00:00
|
|
|
sha256 = "1jpnqsln37kkxz98vj7gly3c2170v6zamd876nc9nfl9vns41s0f";
|
2017-10-25 17:23:39 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 12:00:49 +01:00
|
|
|
cargoSha256 = "172kdnd11xb2qkklqdkdcwi3g55k0d67p8g8qj7iq34bsnfb5bnr";
|
2017-10-25 17:23:39 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-25 17:23:39 +01:00
|
|
|
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;
|
2017-12-05 22:20:11 +00:00
|
|
|
maintainers = [ maintainers.mehandes ];
|
2017-10-25 17:23:39 +01:00
|
|
|
};
|
|
|
|
}
|